Sản phẩm thuộc đơn hàng
@if(auth()->user()->can('edit_orders')) {{-- Thêm --}} @endif
{{-- --}} {{-- --}} {{-- --}} @foreach($products as $sanPham) @endforeach
# Tên
sản phẩm
Giá
sản phẩm
SL Giá bán Chiết khấu(%) Chiết khấu(VNĐ) VAT(%) VAT(VNĐ)Chi phí
phát sinh
Tỉ lệ
thưởng(%)
Tiền thưởng
1 {{$sanPham->product_name}} {{thuGonSoLe($sanPham->price)}} {{($sanPham->quantity)}} {{thuGonSoLe($sanPham->amount)}} {{number_format($sanPham->product_sale_off)}} {{number_format($sanPham->cash_discount)}} {{number_format($sanPham->vat)}} {{number_format($sanPham->vat_amount)}}