@csrf
@php $no = 1; $idx = 0; @endphp @if($cek['message'] == 'Success')

Pesanan


@if(count($detail_orders) > 0) @foreach($detail_orders as $detail_order) @php $cekmin = $detail_order->min_quantity; @endphp
thumbnail
{{$detail_order->nama_produk}}

RMB {{$detail_order->harga_yuan}} {{-- IDR {{$detail_order->harga_yuan * $rate}} --}}


Tipe : @if($detail_order->property != '-') @php $properti = json_decode($detail_order->property, true); @endphp @if(is_array($properti)) @foreach ($properti as $key => $value) {{$key}} : {{$value}} @if ($loop->first) , @endif @endforeach @endif @endif
@php $no++; $idx++; @endphp @endforeach @else

Produk kosong

Silahkan tambah produk dengan klik tombol Tambah Produk
@endif
@else

Pesanan


Data sudah pernah diubah sebelumnya

Silahkan hubungi admin untuk informasi lebih lanjut
@endif
{{--
--}}

* Maksimal Order : 25

Alamat Gudang


Ringkasan

{{count($detail_orders)}} Order

@php $idx_ringkasan = 0; $total_harga = 0; $total_harga_yuan = 0; @endphp @if(count($detail_orders) > 0) @foreach($detail_orders as $detail_order)
{{-- --}} {{-- --}}
@php $total_harga += ($detail_order->total_yuan * $rate); $total_harga_yuan += ($detail_order->total_yuan); $idx_ringkasan++; @endphp @endforeach @endif

Total Harga

RMB {{$total_harga_yuan}}

{{--

IDR {{ribuan($total_harga)}}

--}}