@if (\Auth::user()->role == 5) @else @endif
{{\Auth::user()->role == 5?'发票':'Invoice'}}
发票号码 购买日期 发送地址 付款总额 已付总额No.Invoice Tanggal Pembuatan Alamat Kirim Total Biaya Total yang sudah dibayarkan
{{$invoice->order->invoice}} {{$invoice->order->tanggal}} {{$invoice->order->alamat_kirim}} Rp {{$invoice->order->total_biaya}} Rp {{$invoice->order->total_bayar}}
@if (\Auth::user()->role == 5) @else {{-- --}} {{-- --}} {{-- --}} @endif @php $i = 1; @endphp @foreach ($invoice->order_detail as $detail) {{-- --}} {{-- --}} {{-- --}} {{-- --}} @php $i++ @endphp @endforeach
Detail Invoice
No. 货物名称 Link Item Type 价格 (IDR) 价格 (¥) 数量 提供者 交货 CN (¥) 交货 CN (Rp) 收据 CN 总价 总价 (¥)No. Nama Produk Link Tipe BarangHarga (IDR)Harga (¥) Stok Pembelian Supplier Pengiriman CN (¥)Pengiriman CN (Rp)Resi CNTotalTotal (¥)
{{$i}} {{$detail->nama_produk}} {{$detail->url_produk ? $detail->url_produk : '-'}} @if ($detail->property != '-' || $detail->property != null) @php $items = null; $decode = json_decode($detail->property); $items = $decode; // dd($items); @endphp @if (is_array($items) || is_object($items)) @foreach ($items as $key => $value) @if (!$loop->first) || @endif {{$key}} : {{$value}} @endforeach @endif @else - @endif {{$detail->harga}}{{$detail->harga_yuan}} {{$detail->jumlah}} {{$detail->supplier}}{{ribuan($detail->pengiriman_yuan)}}{{$detail->pengiriman_yuan}}{{ribuan($detail->pengiriman_indo)}}{{$detail->resi ? $detail->resi : '-'}}{{$detail->total}}{{$detail->total_yuan}}