ຮ້ານ: ສອນໄອທີຄອມພິວເຕີ້
ພະນັກງານຂາຍ:
{{ Auth::user()->sex }} {{ Auth::user()->name }} {{ Auth::user()->last_name }}
ວັນທິ່: {{$date}}
ເວລາ: {{$time}}
@foreach($Bills as $b) @if($b['customer_id'] =='0' && $b['office_id'] =='0' && $b['customer_name'] =='') ລູກຄ້າ: ບຸກຄົນທົ່ວໄປ. @elseif($b['customer_type'] =='true') ລູກຄ້າ: {{$b->customer_name}}
ເບີໂທ: 020 {{$b->customer_tel}}
ທີ່ຢູ່: {{$b->customer_address}} @else ລູກຄ້າ: {{$b->customer_name}}
ເບີໂທ: {{$b->customer_tel}}
ທີ່ຢູ່: {{$b->customer_address}} @endif @endforeach
ລາຍການສິນຄ້າ/ບໍລິການ ລວມ(ກີບ)
@php($alltotal = 0) @php($total = 0) @foreach($BillsList as $bl) @php($total += $bl->count*$bl->credit) @endforeach
{{$bl->name}} ({{$bl->count}} x {{number_format($bl->credit, 0, ',', '.')}}) {{ number_format($bl->count*$bl->credit, 0, ',', '.')}}
@php($alltotal=$total)
@foreach($Bills as $b) @if($b->discut || $b->tax > 0) ລວມທັງໝົດ: {{number_format($alltotal, 0, ',', '.')}}
@endif @if($b->discut) ສ່ວນຫຼຸດ: {{number_format($b->discut, 0, ',', '.')}}
@php($alltotal -=$b->discut) @endif @if($b->tax > 0) ອາກອນມູນຄ່າເພີ່ມ(7%): {{number_format($b->tax, 0, ',', '.')}} @php($alltotal+=$b->tax) @endif @endforeach
ລວມເງິນທີ່ຕ້ອງຊຳລະ: {{number_format($alltotal, 0, ',', '.')}} ກີບ

ຈຳໜ່າຍ-ສ້ອມແປງ ຄອມພິວເຕີ້, ອຸປະກອນໄອທີ
ກ້ອງວົງຈອນປິດ ແລະ ຮັບພັດທະນາໂປຼແກມ, ແອ໊ບມືຖື
ໂທ/Whatsapp: 020 29113568, 58086456