Sản phẩm thuộc đơn hàng
@if(auth()->user()->can('edit_orders')) Tính lại @endif
{{-- --}} @foreach($donHang->sanPhams as $sanPham) {{-- --}} @endforeach
# Tên
sản phẩm
Giá sản phẩm
Giá bán
SL Giá bán
chưa VAT
VAT (TL VAT %) Chiết khấu (TL CK %)Giá bán sau chiết khấu
(Giá niêm yết quy định)
Chi phí
phát sinh
Số tiền tính thưởng Tiền thưởng/(TL thưởng %)
1 {{$sanPham->danhMucSanPham->ten_san_pham}}
{!! $sanPham->danhMucSanPham->getSanPhamHighEndBadge() !!}
{{thuGonSoLe($sanPham->gia_san_pham)}}
{{thuGonSoLe($sanPham->gia_ban)}}
{{($sanPham->so_luong)}} {{thuGonSoLe($sanPham->gia_ban_khong_vat)}} {{thuGonSoLe($sanPham->thue_vat)}} ({{thuGonSoLe($sanPham->ti_le_vat)}}%) {{thuGonSoLe($sanPham->chiet_khau)}} ({{thuGonSoLe($sanPham->ti_le_chiet_khau)}}%) {{thuGonSoLe($sanPham->gia_ban) }}
{{ $sanPham->so_chiet_khau_quy_dinh != 0 ? thuGonSoLe($sanPham->gia_niem_yet_cho_phep) :0 }}
{{thuGonSoLe($sanPham->chi_phi_phat_sinh)}} {{thuGonSoLe($sanPham->so_tien_tinh_thuong)}} {{thuGonSoLe($sanPham->so_tien_thuong)}} ({{thuGonSoLe($sanPham->ti_le_thuong+$sanPham->ti_le_thuong_dao_tao)}}%) @if(auth()->user()->can('edit_orders')) edit @endif
@if($error != null) @endif