@extends('layouts/pos_layout') @section('title', '| ' . $moduleTitle) @section('content') @include('successMsg')
Sale List    
@php $installmentAmount = 0; $installmentPackage = $salesInfo->installment_package; $fisrtCollectionGet = $salesInfo->collectionListSalesBill[0]; //($fisrtCollectionGet->quantity != 1) ? $fisrtCollection = App\Models\pos\Transaction\PosCollection::where('sales_id',$salesInfo->id)->where('quantity','1')->first() : $fisrtCollection = $fisrtCollectionGet; //($fisrtCollectionGet->quantity == 0) ? $fisrtCollection = App\Models\pos\Transaction\PosCollection::where('sales_id',$salesInfo->id)->where('quantity','>=','1')->first() : $fisrtCollection = $fisrtCollectionGet; ($fisrtCollectionGet->quantity == 0) ? $fisrtCollection = App\Models\pos\Transaction\PosCollection::where('sales_id',$salesInfo->id)->where('sales_amount','!=','0')->first() : $fisrtCollection = $fisrtCollectionGet; ($salesInfo) ? $vat_amount = $salesInfo->vat_amount : $vat_amount = '0.00'; ($fisrtCollection->othersFeesCollection && $othersFeeApplicableisAllow == 'Yes') ? $others_fee_amount = $fisrtCollection->othersFeesCollection->amount : $others_fee_amount = '0.00'; //$profit = ($fisrtCollection->installmentPackageCollection) ? ($fisrtCollection->installmentPackageCollection->profit) : ((App\Models\pos\ProductConfig\PosInstallmentPackage::where('month',$installmentPackage)->first())) ? (App\Models\pos\ProductConfig\PosInstallmentPackage::where('month',$installmentPackage)->first()->profit) : '0'; $profit = ($fisrtCollection->installmentPackageCollection) ? ($fisrtCollection->installmentPackageCollection->profit) : ((App\Models\pos\ProductConfig\PosInstallmentPackage::where('month',$installmentPackage)->first()) ? App\Models\pos\ProductConfig\PosInstallmentPackage::where('month',$installmentPackage)->first()->profit : '0'); if ($fisrtCollection->installmentPackageCollection) { $profit = $fisrtCollection->installmentPackageCollection->profit; } else { if (App\Models\pos\ProductConfig\PosInstallmentPackage::where('month',$installmentPackage)->first()) { $profit = App\Models\pos\ProductConfig\PosInstallmentPackage::where('month',$installmentPackage)->first()->profit; } else { $profit = '0'; } } $firstCollectionPrincipalAmount = round( ( ( $fisrtCollection->paid_amount - ($vat_amount + $others_fee_amount + $fisrtCollection->service_charge_amount) ) * ( 100 / ( 100 + $profit ) ) ) , 2); $firstCollectionProfitAmount = round( ( ( $fisrtCollection->paid_amount - ($vat_amount + $others_fee_amount + $fisrtCollection->service_charge_amount) ) * ( 10 / ( 100 + $profit ) ) ) , 2); $installmentSchedule = array(); $installmentSchedule = App\Models\pos\Transaction\PosSale::checkHolidayForPos($fisrtCollection->sales_date, $fisrtCollection->branch_id, $installmentPackage); $paidTotalInstallmentAmount = 0; //dd($installmentPackage); foreach($salesInfo->collectionListSalesBill as $salesInstallment): if($salesInstallment->sales_amount == 0 && $salesInstallment->is_adjustment == 0){ $paidTotalInstallmentAmount += $salesInstallment->collection_amount; } endforeach; $dueAmount = ( $fisrtCollection->sales_amount - ( $fisrtCollection->paid_amount - ($vat_amount + $others_fee_amount + $fisrtCollection->service_charge_amount) ) ); //dd($dueAmount); $installmentAmount = ( $fisrtCollection->sales_amount - ( $fisrtCollection->paid_amount - ($vat_amount + $others_fee_amount + $fisrtCollection->service_charge_amount) ) ) / --$fisrtCollection->installment_package; $installmentAmount = (int)(round($installmentAmount)); $principalAmount = round( ( $installmentAmount * ( 100 / ( 100 + $profit ) ) ) , 2); $profitAmount = $installmentAmount - $principalAmount; $paidAmount = ( $fisrtCollection->paid_amount - ($vat_amount + $others_fee_amount + $fisrtCollection->service_charge_amount) ) + $paidTotalInstallmentAmount; if($paidAmount > $salesInfo->total_sales_amount) $paidAmount = $salesInfo->total_sales_amount; @endphp
Sales Information
Warning: Undefined variable $installmentAmount in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 108
@if ($othersFeeApplicableisAllow == 'Yes') @endif
Customer Information Amount Information
Name:   
Warning: Undefined variable $salesInfo in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 91

Warning: Attempt to read property "customer" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 91

Warning: Attempt to read property "name" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 91
Total Sale Amount:   
Warning: Undefined variable $salesInfo in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 92

Warning: Attempt to read property "ta_after_discount" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 92

Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 92
0.00
Contact No:   
Warning: Undefined variable $salesInfo in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 95

Warning: Attempt to read property "customer" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 95

Warning: Attempt to read property "phone" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 95
Service Charge:   
Warning: Undefined variable $salesInfo in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 96

Warning: Attempt to read property "service_charge_amount" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 96

Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 96
0.00
National Id No:   
Warning: Undefined variable $salesInfo in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 99

Warning: Attempt to read property "customer" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 99

Warning: Attempt to read property "national_id" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 99
Number Of Installment:   
Warning: Undefined variable $installmentPackage in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 100
Customer Code:   
Warning: Undefined variable $salesInfo in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 103

Warning: Attempt to read property "customer" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 103

Warning: Attempt to read property "customer_id_no" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 103
Installment Amount:   
Warning: Undefined variable $installmentAmount in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 104
0.00
Pass Book Number:   
Warning: Undefined variable $salesInfo in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 107

Warning: Attempt to read property "pass_book_no" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 107
Balance Amount:    0.00
Others Fee:   
Warning: Undefined variable $others_fee_amount in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 117

Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 117
0.00

Product Information


Warning: Undefined variable $salesInfo in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 145

Warning: Attempt to read property "saleDetails" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 145

Warning: foreach() argument must be of type array|object, null given in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 145
Sales Bill No Sales Date Barcode PID/IMEI Number Product Name Model Quantity Sale Amount
@if($installmentAmount > 0)

Schedule


Warning: Undefined variable $salesInfo in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 190

Warning: Attempt to read property "is_sale_replace" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 190
@php $totalInsallmentAmount = 0; $stop = false; $setValue = false; $totalPrincipal = $firstCollectionPrincipalAmount; $totalProfit = $fisrtCollection->installment_amount - $firstCollectionPrincipalAmount; $totalRecord = count($installmentSchedule); $sumWithLastAmount = $dueAmount - ($installmentAmount * $totalRecord); $totalRecord = --$totalRecord; foreach($installmentSchedule as $key => $record) { if($totalRecord == $key && $sumWithLastAmount != 0) { $installmentAmount = $installmentAmount + $sumWithLastAmount; $principalAmount = round( ( $installmentAmount * ( 100 / ( 100 + $profit ) ) ) , 2); $profitAmount = $installmentAmount - $principalAmount; } $totalPrincipal = $totalPrincipal + $principalAmount; $totalProfit = $totalProfit + $profitAmount; if($paidTotalInstallmentAmount >= $dueAmount) { @endphp @php if($salesInfo->is_sale_replace == 1) echo ""; else echo ""; @endphp @php } else { $totalInsallmentAmount = $installmentAmount + $totalInsallmentAmount; if($totalInsallmentAmount < $paidTotalInstallmentAmount && $stop == false) { $flag = true; $setValue = false; $partialAmount = 0; } else if($totalInsallmentAmount == $paidTotalInstallmentAmount && $stop == false) { $flag = true; $setValue = false; $partialAmount = 0; $stop = true; } else if($totalInsallmentAmount > $paidTotalInstallmentAmount && $stop == false) { $flag = false; $setValue = true; $partialAmount = $installmentAmount - ($totalInsallmentAmount - $paidTotalInstallmentAmount); $stop = true; } @endphp @php if($flag == true) { echo ""; } else { if($setValue == true && $partialAmount != 0) echo ""; else echo ""; } $flag = false; $setValue = false; if($salesInfo->is_sale_replace == 1) echo ""; else echo ""; @endphp @php } } @endphp
Date Installment Amount Principal Amount Interest Amount Transaction Amount Paid Status Sales Status

Warning: Undefined variable $fisrtCollection in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 183

Warning: Attempt to read property "sales_date" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 183

Deprecated: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 183
01-01-1970

Warning: Undefined variable $fisrtCollection in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 184

Warning: Attempt to read property "installment_amount" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 184

Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 184
0.00

Warning: Undefined variable $firstCollectionPrincipalAmount in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 185

Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 185
0.00

Warning: Undefined variable $fisrtCollection in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 186

Warning: Attempt to read property "installment_amount" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 186

Warning: Undefined variable $firstCollectionPrincipalAmount in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 186
0.00
Not Replace

Warning: Undefined variable $record in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 221

Deprecated: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 221
01-01-1970

Warning: Undefined variable $installmentAmount in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 222

Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 222
0.00

Warning: Undefined variable $principalAmount in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 223

Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 223
0.00

Warning: Undefined variable $profitAmount in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 224

Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 224
0.00
ReplaceNot Replace

Warning: Undefined variable $record in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 259

Deprecated: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 259
01-01-1970

Warning: Undefined variable $installmentAmount in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 260

Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 260
0.00

Warning: Undefined variable $principalAmount in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 261

Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 261
0.00

Warning: Undefined variable $profitAmount in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 262

Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 262
0.00
@php if($setValue == true && $partialAmount != 0) echo number_format($partialAmount, 2); @endphp (P) ReplaceNot Replace
Total Amount:
Warning: Undefined variable $salesInfo in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 294

Warning: Attempt to read property "ta_after_discount" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 294

Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 294
0.00

Warning: Undefined variable $totalPrincipal in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 295

Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 295
0.00

Warning: Undefined variable $totalProfit in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 296

Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 296
0.00
@endif {{-- @php dd($salesInfo->saleReplace) @endphp --}} @if($salesInfo->saleReplace) @php $installmentAmountForReplace = 0; $installmentPackageForReplace = $salesInfo->installment_package; $fisrtCollectionForReplaceGet = $salesInfo->collectionListSalesBill[0]; //($fisrtCollectionForReplaceGet->quantity != 1) ? $fisrtCollectionForReplace = App\Models\pos\Transaction\PosCollection::where('sales_id',$salesInfo->id)->where('quantity','1')->first() : $fisrtCollectionForReplace = $fisrtCollectionForReplaceGet; //($fisrtCollectionForReplaceGet->quantity == 0) ? $fisrtCollectionForReplace = App\Models\pos\Transaction\PosCollection::where('sales_id',$salesInfo->id)->where('quantity','>=','1')->first() : $fisrtCollectionForReplace = $fisrtCollectionForReplaceGet; ($fisrtCollectionForReplaceGet->quantity == 0) ? $fisrtCollectionForReplace = App\Models\pos\Transaction\PosCollection::where('sales_id',$salesInfo->id)->where('sales_amount','!=','0')->first() : $fisrtCollectionForReplace = $fisrtCollectionForReplaceGet; ($salesInfo) ? $vat_amount_for_replace = $salesInfo->vat_amount : $vat_amount_for_replace = '0.00'; ($fisrtCollectionForReplace->othersFeesCollection && $othersFeeApplicableisAllow == 'Yes') ? $others_fee_amount_for_replace = $fisrtCollectionForReplace->othersFeesCollection->amount : $others_fee_amount_for_replace = '0.00'; //$profit = ($salesInfo->collectionListSalesBill[0]->installmentPackageForReplaceCollection) ? $salesInfo->collectionListSalesBill[0]->installmentPackageForReplaceCollection->profit : (App\Models\pos\ProductConfig\PosInstallmentPackage::where('month',$installmentPackageForReplace)->first()) ? App\Models\pos\ProductConfig\PosInstallmentPackage::where('month',$installmentPackageForReplace)->first()->profit : '0'; $profit = ($salesInfo->collectionListSalesBill[0]->installmentPackageForReplaceCollection) ? $salesInfo->collectionListSalesBill[0]->installmentPackageForReplaceCollection->profit : ((App\Models\pos\ProductConfig\PosInstallmentPackage::where('month',$installmentPackageForReplace)->first()) ? App\Models\pos\ProductConfig\PosInstallmentPackage::where('month',$installmentPackageForReplace)->first()->profit : '0'); // if ($salesInfo->collectionListSalesBill[0]->installmentPackageForReplaceCollection) { // $profit = $salesInfo->collectionListSalesBill[0]->installmentPackageForReplaceCollection->profit; // } else { // if (App\Models\pos\ProductConfig\PosInstallmentPackage::where('month',$installmentPackageForReplace)->first()) { // $profit = App\Models\pos\ProductConfig\PosInstallmentPackage::where('month',$installmentPackageForReplace)->first()->profit; // } else { // $profit = '0'; // } // } $firstCollectionPrincipalAmountForReplace = round( ( ( $fisrtCollectionForReplace->paid_amount - ($vat_amount_for_replace + $fisrtCollectionForReplace->service_charge_amount + $others_fee_amount_for_replace) ) * ( 100 / ( 100 + $profit ) ) ) , 2); $firstCollectionProfitAmountForReplace = round( ( ( $fisrtCollectionForReplace->paid_amount - ($vat_amount_for_replace + $fisrtCollectionForReplace->service_charge_amount + $others_fee_amount_for_replace) ) * ( 10 / ( 100 + $profit ) ) ) , 2); $installmentScheduleForReplace = array(); $installmentScheduleForReplace = App\Models\pos\Transaction\PosSale::checkHolidayForPos($fisrtCollectionForReplace->sales_date, $fisrtCollectionForReplace->branch_id, $installmentPackageForReplace); $paidTotalInstallmentAmountForReplace = 0; foreach($salesInfo->collectionListSalesBill as $salesInstallmentForReplace): if($salesInstallmentForReplace->sales_amount == 0){ $paidTotalInstallmentAmountForReplace += $salesInstallmentForReplace->collection_amount; } endforeach; $firstCollectionInstallmentPackageForReplace = $fisrtCollectionForReplace->getOriginal('installment_package'); $dueAmountForReplace = ( $fisrtCollectionForReplace->sales_amount - ( $fisrtCollectionForReplace->paid_amount - ($vat_amount_for_replace + $fisrtCollectionForReplace->service_charge_amount + $others_fee_amount_for_replace) ) ); $installmentAmountForReplace = ( $fisrtCollectionForReplace->sales_amount - ( $fisrtCollectionForReplace->paid_amount - ($vat_amount_for_replace + $fisrtCollectionForReplace->service_charge_amount + $others_fee_amount_for_replace) ) ) / --$firstCollectionInstallmentPackageForReplace; $installmentAmountForReplace = (int)(round($installmentAmountForReplace)); $principalAmount = round( ( $installmentAmountForReplace * ( 100 / ( 100 + $profit ) ) ) , 2); $profitAmount = $installmentAmountForReplace - $principalAmount; $paidAmountForReplace = ( $fisrtCollectionForReplace->paid_amount - ($vat_amount_for_replace + $fisrtCollectionForReplace->service_charge_amount + $others_fee_amount_for_replace) ) + $paidTotalInstallmentAmountForReplace; if($paidAmountForReplace > $salesInfo->saleReplace->total_amount) $paidAmountForReplace = $salesInfo->saleReplace->total_amount; @endphp
Replace Information
Warning: Undefined variable $installmentAmountForReplace in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 394
@if ($othersFeeApplicableisAllow == 'Yes') @endif
Customer Information Amount Information
Name:   
Warning: Undefined variable $salesInfo in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 377

Warning: Attempt to read property "customer" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 377

Warning: Attempt to read property "name" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 377
Total Sale Amount:   
Warning: Undefined variable $salesInfo in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 378

Warning: Attempt to read property "saleReplace" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 378

Warning: Attempt to read property "total_amount" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 378

Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 378
0.00
Contact No:   
Warning: Undefined variable $salesInfo in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 381

Warning: Attempt to read property "customer" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 381

Warning: Attempt to read property "phone" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 381
Service Charge:   
Warning: Undefined variable $salesInfo in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 382

Warning: Attempt to read property "service_charge_amount" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 382

Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 382
0.00
National Id No:   
Warning: Undefined variable $salesInfo in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 385

Warning: Attempt to read property "customer" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 385

Warning: Attempt to read property "national_id" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 385
Number Of Installment:   
Warning: Undefined variable $installmentPackageForReplace in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 386
Customer Code:   
Warning: Undefined variable $salesInfo in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 389

Warning: Attempt to read property "customer" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 389

Warning: Attempt to read property "customer_id_no" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 389
Installment Amount:   
Warning: Undefined variable $installmentAmountForReplace in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 390
0.00
Pass Book Number:   
Warning: Undefined variable $salesInfo in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 393

Warning: Attempt to read property "pass_book_no" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 393
Balance Amount:    0.00
Others Fee:   
Warning: Undefined variable $others_fee_amount in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 403

Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 403
0.00

Product Information


Warning: Undefined variable $salesInfo in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 432

Warning: Attempt to read property "saleReplace" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 432

Warning: Attempt to read property "saleReplaceDetails" on null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 432

Warning: foreach() argument must be of type array|object, null given in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 432
Sales Replce Bill No Sales Replce Date Barecode PID/IMEI Number Product Name Model Quantity Sale Amount
@php $scheduleData = App\Models\pos\Transaction\PosSale::sale_shedule_calculation_due(null,$salesInfo); //dd($scheduleData); @endphp

Schedule

@php $totalReplacementAmount = $totalPrincipal = $totalProfit = 0; foreach($scheduleData as $record): $totalReplacementAmount = $totalReplacementAmount + $record['installment_amount']; $totalPrincipal = $totalPrincipal + $record['installment_principal_amount']; $totalProfit = $totalProfit + $record['installment_profit_amount']; @endphp @php if($record['installment_payment_status'] == 'Paid') echo ''; else if($record['installment_payment_status'] == 'Partial') echo ''; else if($record['installment_payment_status'] == 'Unpaid') echo ''; @endphp @php endforeach; @endphp
Date Installment Amount Principal Amount Interest Amount Transaction Amount Status

Warning: Undefined variable $record in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 484

Warning: Trying to access array offset on value of type null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 484

Deprecated: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 484
01-01-1970

Warning: Undefined variable $record in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 485

Warning: Trying to access array offset on value of type null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 485

Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 485
0.00

Warning: Undefined variable $record in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 486

Warning: Trying to access array offset on value of type null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 486

Warning: Undefined variable $record in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 487

Warning: Trying to access array offset on value of type null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 487

Warning: Undefined variable $record in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 488

Warning: Trying to access array offset on value of type null in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 488
(P)
Total Amount:
Warning: Undefined variable $totalReplacementAmount in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 502

Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 502
0.00

Warning: Undefined variable $totalPrincipal in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 503

Warning: Undefined variable $totalProfit in /home/shikkhaplus/public_html/guk_bk/resources/views/pos/transaction/sale/shedule.blade _23-07-2025.php on line 504
@endif
@endsection