@extends('app') @section('content')

รายการสั่งซื้อ เลขที่ {{$orders->id}}

ลูกค้า {{$orders->name}}
เราได้รับ หมายเลขของคำสั่งซื้อ # {{$orders->id }} ของคุณ {{date('D F d , y')}} ชำระค่าสินค้าโดย {{ $orders->paymethod }} คุณจะได้รับอีเมลอีกครั้งหนึ่งเมื่อสินค้าของคุณได้ถูกจัดส่ง.
ข้อมูลการจัดส่ง :

ชื่อผู้รับ : {{ isset($orders->name) ? $orders->name : ''}}
ที่อยู่ : {{ isset($orders->address) ? $orders->address : ''}}
รหัสไปรษณีย์ : {{ isset($orders->postcode) ? $orders->postcode : ''}}
ประเทศ : {{ isset($orders->nationnal) ? $orders->nationnal : ''}}
เบอร์โทรศัพท์ : {{ isset($orders->tel) ? $orders->tel : ''}}
Email : {{ isset($orders->email) ? $orders->email : ''}}

@foreach($orderdetail as $detail) @endforeach
@foreach($images as $image) @if($image->product_id == $detail->product_id) @if($r ==1) @endif @endif @endforeach {{$detail->name}} : {{$detail->details}} {{number_format($detail->price)}} ฿
Qty : {{number_format($detail->quantity)}}  
  Subtotal: {{number_format($grand_total)}} ฿
  Total: {{number_format($grand_total)}} ฿
@endsection @section('script') @endsection @section('style') @endsection