print age

auth
Zelda Ababil 2024-01-20 19:16:48 +07:00
parent 341f46ccd5
commit 975f08699e
2 changed files with 24 additions and 16 deletions

View File

@ -97,15 +97,16 @@
<tbody>
@foreach ($pesanan->detailPesanan as $item)
<tr>
<td style="width: 80px;" colspan="3">{{ $item->nama_produk }}</td>
<td style="width: 100px;" colspan="5">{{ $item->nama_produk }}</td>
</tr>
<tr>
<td></td>
<td style="text-align: right">{{ $item->jumlah_produk }}</td>
<td style="text-align: right">{{ convert_to_rupiah($item->harga_produk) }}</td>
<td style="text-align: right;width: 30px">
{{ $item->diskon_persen != '' ? $item->diskon_persen . '%' : '' }}</td>
<td style="text-align: right;width: 90px">{{ convert_to_rupiah($item->total_harga_produk) }}</td>
{{ $item->diskon_persen != '' || $item->diskon_persen != 0 || $item->diskon_persen != null ? $item->diskon_persen . '%' : '' }}
</td>
<td style="text-align: right;width: 70px">{{ convert_to_rupiah($item->total_harga_produk) }}</td>
</tr>
@endforeach
</tbody>
@ -166,11 +167,14 @@
@foreach ($pesanan->detailPesanan as $item)
<tr>
<td style="width: 80px;" colspan="3">
{{ $loop->iteration }}. {{ $item->nama_produk }}
<br>
<small>
&nbsp;&nbsp;&nbsp;&nbsp;{{ $item->keterangan_produk }}
</small>
({{ $item->jumlah_produk }} X)
{{ $item->nama_produk }}
@if ($item->keterangan_produk != '')
<br>
<small>
&nbsp;&nbsp;&nbsp;&nbsp; ket: {{ $item->keterangan_produk }}
</small>
@endif
</td>
</tr>
@endforeach

View File

@ -97,15 +97,16 @@
<tbody>
@foreach ($pesanan->detailPesanan as $item)
<tr>
<td style="width: 80px;" colspan="3">{{ $item->nama_produk }}</td>
<td style="width: 100px;" colspan="5">{{ $item->nama_produk }}</td>
</tr>
<tr>
<td></td>
<td style="text-align: right">{{ $item->jumlah_produk }}</td>
<td style="text-align: right">{{ convert_to_rupiah($item->harga_produk) }}</td>
<td style="text-align: right;width: 30px">
{{ $item->diskon_persen != '' ? $item->diskon_persen . '%' : '' }}</td>
<td style="text-align: right;width: 90px">{{ convert_to_rupiah($item->total_harga_produk) }}</td>
{{ $item->diskon_persen != '' || $item->diskon_persen != 0 || $item->diskon_persen != null ? $item->diskon_persen . '%' : '' }}
</td>
<td style="text-align: right;width: 70px">{{ convert_to_rupiah($item->total_harga_produk) }}</td>
</tr>
@endforeach
</tbody>
@ -166,11 +167,14 @@
@foreach ($pesanan->detailPesanan as $item)
<tr>
<td style="width: 80px;" colspan="3">
{{ $loop->iteration }}. {{ $item->nama_produk }}
<br>
<small>
&nbsp;&nbsp;&nbsp;&nbsp;{{ $item->keterangan_produk }}
</small>
({{ $item->jumlah_produk }} X)
{{ $item->nama_produk }}
@if ($item->keterangan_produk != '')
<br>
<small>
&nbsp;&nbsp;&nbsp;&nbsp; ket: {{ $item->keterangan_produk }}
</small>
@endif
</td>
</tr>
@endforeach