เรียน คุณ {{ $user->firstname }} {{ $user->lastname }}
คำสั่งซื้อหมายเลข #{{ $order->order_no }} Costcenter {{ $order->event_code }}
WBS CODE {{ $order->wbs == 0 ? 'ไม่มี เนื่องจาก ' : '' }} {{ $order->wbs_value }}
รายละเอียดคำสั่งซื้อ:
หมายเลขคำสั่งซื้อ : #{{ $order->order_no }}
ผู้ส่งคำสั่งซื้อ : {{ $user->firstname }} {{ $user->lastname }}
วันที่สั่งซื้อ : {{ showDate( date('Y-m-d H:i:s', strtotime( $order->created_at ) ),true ) }}
@php
$bgColor = '#eff1f6';
$txtColor = '#687188';
if( $order->status == 'approved' ){
$bgColor = '#038f22';
$txtColor = '#ffffff';
}
if( $order->status == 'unapproved' ){
$bgColor = '#ff0000';
$txtColor = '#ffffff';
}
@endphp
Product | Price | Quantity | Total | |
---|---|---|---|---|
{{ $cart->product_name }} | ฿{{ nb( $cart->price ,2 )}} | {{ $cart->quantity }} |
฿{{ nb( $cart->price * $cart->quantity, 2 )}} |
Totals
@php
if( $total == 0 )
$shipping_price = 0;
@endphp
@if ($order->discount > 0 )
{{ $order->user->level == 'staff' ? 'Staff' : '' }} Discount | ฿{{ nb($order->discount,2) }} |
Subtotal | ฿{{ nb($total,2) }} |
Shipping | ฿{{ nb( $shipping_price, 2 ) }} |
Total | ฿{{ nb( $total + $shipping_price ,2 ) }} |
ผลการอนุมัติคำสั่งซื้อ
{{ trans('label.' . $order->status ) }}
สาเหตุ
{{ $order->approve_remark }}
@endifขอขอบคุณ