{{__('lang.land_dealers')}}

@foreach($land_dealers ?? [] as $land_dealer) @if(count($land_dealer->land_rebate_schedules ?? []) > 0 ) @foreach($land_dealer->land_rebate_schedules as $land_rebate_schedule) @endforeach @else @endif @endforeach
{{__('lang.s_no')}} {{__('lang.dealer_name')}} {{__('lang.rebate_amt')}} ({{ config('settings.currency_symbol')}}) {{__('lang.action')}}
{{ $loop->iteration }} {{ $land_dealer->dealer->name }} {{ $transaction->convert_money_format($land_dealer->amount) }} @php $button_text = __('lang.create_rebate_schedule'); $button_class = 'btn btn-primary'; $action = 'create'; if(count($land_dealer->land_rebate_schedules ?? []) > 0){ $button_text = __('lang.edit_rebate_schedule'); $button_class = 'btn btn-warning'; $action = 'edit'; } $parameters = [ 'id' => $land_dealer->id, 'action' => $action]; @endphp {{ $button_text }}
{{__('lang.term')}} {{__('lang.schedule_date')}} {{__('lang.amount')}} {{__('lang.paid_amount')}}
{{ $land_rebate_schedule->payment_term->name}} {{ $transaction->date_format($land_rebate_schedule->schedule_date)}} {{ $transaction->convert_money_format($land_rebate_schedule->amount) }} {{ $transaction->convert_money_format($land_rebate_schedule->paid_amount) }} @php $payment_button_text = __('lang.make_payment'); $parameters = [ 'type' => 'land_rebate', 'land_rebate_schedule_id' => $land_rebate_schedule->id, ]; $payment_route = route('land.rebate_payment.create',$parameters); if($land_rebate_schedule->payment_status == 'Settled'){ $payment_button_text = __('lang.paid'); $payment_route = 'javascript:void(0)'; } @endphp {{ $payment_button_text }}
{{ __('lang.no_rebate_schedule_found') }}
@if(count($rebate_payment_vouchers) > 0)

{{__('lang.payment_vouchers')}}


@foreach($rebate_payment_vouchers as $payment_voucher) @endforeach
{{__('lang.s_no')}} {{__('lang.pv_no')}} {{__('lang.date')}} {{__('lang.amount')}} {{$transaction->systemSettingCurrency()}} {{__('lang.mode_of_payment')}} {{__('lang.particulars')}} {{__('lang.options')}}
{{ $loop->iteration }} {{ $payment_voucher->pv_no }} {{ $transaction->date_format($payment_voucher->voucher_date) }} {{ $transaction->convert_money_format($payment_voucher->amount) }} {{ $payment_voucher->mode_of_payment }} {{ $payment_voucher->particulars ?? '-' }}
{{__('lang.s_no')}} {{__('lang.pv_no')}} {{__('lang.date')}} {{__('lang.amount')}} {{$transaction->systemSettingCurrency()}} {{__('lang.mode_of_payment')}} {{__('lang.particulars')}} {{__('lang.options')}}
@endif