{{-- Lịch sử chốt sổ. Biến: $settlements, $showPartner (trang kế toán, nhiều đối tác), $showPayoutLink --}} @php $statusClass = [ \App\Constants\PartnerConstant::SETTLEMENT_UNPAID => 'warning', \App\Constants\PartnerConstant::SETTLEMENT_PARTIAL => 'info', \App\Constants\PartnerConstant::SETTLEMENT_PAID => 'success', \App\Constants\PartnerConstant::SETTLEMENT_EMPTY => 'soft', ]; @endphp
@if(!empty($showPartner))@endif @if(!empty($showPayoutLink))@endif @forelse($settlements as $settlement) @if(!empty($showPartner))@endif @if(!empty($showPayoutLink)) @endif @empty @endforelse
KỳĐối tácSố đơn Thực thu Hoa hồng Đã thanh toán Trạng thái Ngày thanh toán
{{ date('m/Y', strtotime($settlement->period . '-01')) }}{{ @$settlement->partner->code }} - {{ @$settlement->partner->name }}{{ number_format($settlement->total_orders) }} {{ number_format($settlement->total_paid) }}@if(!empty($portal)) đ@endif {{ number_format($settlement->total_commission) }}@if(!empty($portal)) đ@endif {{ number_format($settlement->paid_amount) }}@if(!empty($portal)) đ@endif {{ $settlement->payment_status_text }} {{ $settlement->last_payment_date ? date('d-m-Y', strtotime($settlement->last_payment_date)) : '-' }} @if($settlement->total_commission > 0) Lệnh thanh toán @endif
Chưa có kỳ chốt sổ