@if($order)

ลูกค้า

{{ $order->cust_name }}

ที่อยู่ {{ $order->cust_address }}

เลขประจำตัวผู้เสียภาษี {{ $order->cust_tax_no }}


@elseif($customer)

ลูกค้า

{{ $customer->first_name . ' ' . $customer->last_name }}

ที่อยู่ {{ $customer->address }}

เลขประจำตัวผู้เสียภาษี {{ $customer->tax_no }}


@endif

{{ trans('menu.dcnote_' . $d->note_type) }}


เลขที่

{{ $d->dc_no }}

วันที่

{{ date('d/m/Y', strtotime($d->created_at)) }}

@foreach($trans as $tran) @endforeach
รายการ จำนวน ราคา รวม
{{ $tran->detail }} {{ $tran->qty }} {{ $tran->price }} {{ $tran->total }}
{{ $reason_text }} :
รวม {{ number_format($table_subtotal, 2, '.', ',') }}
หักส่วนลด {{ number_format($d->discount, 2, '.', ',') }}
จำนวนเงินหลังหักส่วนลด {{ number_format($table_total, 2, '.', ',') }}
มูลค่าตามใบกำกับภาษีเดิม {{ number_format($order->total_inc_vat, 2, '.', ',') }}
มูลค่าที่ถูกต้อง {{ number_format($sub_total, 2, '.', ',') }}
ผลต่าง {{ number_format($table_total, 2, '.', ',') }}
ภาษีมูลค่าเพิ่ม {{ number_format($d->vat, 2, '.', ',') }}
รวมทั้งสิ้น {{ number_format($table_total_inc_vat, 2, '.', ',') }}

@if(strcmp($d->note_type, DEBIT_NOTE) == 0)



ผู้รับเอกสาร
วันที่


ในนาม {{ trans('shop.name_' . get_shop()) }}


ผู้รับมอบอำนาจ
@else

รับสินค้าข้างต้นคืนแล้ว



_______________________

แผนกรับสินค้า

รับเก็บสินค้าข้างต้นไว้ในคลังแล้ว



_______________________

แผนกคลังสินค้า


ในนาม {{ trans('shop.name_' . get_shop()) }}


ผู้รับมอบอำนาจ
@endif