Product Sale Information
@if (isset($productOrderSaleListByDealer) && $productOrderSaleListByDealer->count())
@endif
SL
Shop Name
Shop Code
Customer
Service Type
Product
IMEI
Order Number
Bill Number
Cash Price
Interest
Interest Rate
Down Payment
Down Payment (%)
Security Money
Security Money (%)
Total Price
Installment
{{-- | Order Status | --}}
Order Date
Sale Date
EMI Token
Action
@foreach ($productOrderSaleListByDealer as $productSale)
{{ $productOrderSaleListByDealer->firstItem() + $loop->index }}
{{ $productSale->dealer_detail->shop_name }}
{{ $productSale->dealer_detail->dealer_code }}
{{ $productSale->customer_detail->cust_nid_name_en }}
{{ $productSale->customer_detail->service_type }}
{{ $productSale->product->product_name }}
{{ $productSale->imei_number }}
{{ $productSale->order_number }}
{{ $productSale->bill_number }}
{{ $productSale->cash_price }}
{{ $productSale->interest }}
{{ $productSale->interest_rate }}
%
{{ $productSale->down_payment }}
{{ $productSale->down_payment_percentage }}
%
{{ $productSale->security_money }}
{{ $productSale->security_money_percentage }}
%
{{ $productSale->total_price }}
{{ $productSale->tenure_months }}
{{ date('d-m-Y', strtotime($productSale->created_at)) }}
{{ date('d-m-Y', strtotime($productSale->delivery_date)) }}
{{ $productSale->device_token }}
@php( $productSale->orderDate = $productSale->created_at->format('d-m-Y') )
id }};
productOrder = {{ json_encode($productSale) }};
open = true;
loadingDeviceData = true;
deviceApiResponse = { data: {} };
emiInstallmentList = [];
const token = $el.getAttribute('data-token');
const baseUrl = $el.getAttribute('data-baseUrl');
const emiUrl = $el.getAttribute('data-emi-url');
fetch(`${baseUrl}/device-detials-by-token?token={{ $productSale->device_token }}`, {
method: 'GET',
headers: {
'Authorization': 'Bearer ' + token,
'Accept': 'application/json'
}
})
.then(response => response.json())
.then(data => {
deviceApiResponse = data;
loadingDeviceData = false;
})
.catch(error => {
console.error('API call failed:', error);
loadingDeviceData = false;
});
// EMI installments (only emiUrl)
fetch(emiUrl, { headers: { 'Accept': 'application/json' } })
.then(r => { if(!r.ok) throw new Error('HTTP ' + r.status); return r.json(); })
.then(j => { emiInstallmentList = Array.isArray(j.data) ? j.data : []; })
.catch(e => { console.error('EMI fetch failed:', e); emiInstallmentList = []; });
"
title="View"
>
@endforeach
Grand
Total:
{{ number_format($totals->totalCashPrice, 2) }}
{{ number_format($totals->totalInterest, 2) }}
{{ number_format($totals->totalDownPayment, 2) }}
{{ number_format($totals->totalSecurityMoney, 2) }}
{{ number_format($totals->totalPrice, 2) }}
{{ $productOrderSaleListByDealer->links() }}
View Product Order Details
{{-- show product image --}}
Status :
Reason :
{{-- Confirmed :--}}
{{--
--}}
{{-- Reapplied :--}}
{{--
--}}
{{-- Approved :--}}
{{--
--}}
Date :
Performed By :
No actions available.
| SL |
Date |
Amount
|
Due |
Status
|
|
|
|
|
|
| Total
|
|
|
|
No EMI data available.
{{--Small Business--}}
{{--Student--}}
{{-- Customer Profile Image --}}
No guarantors found.
| # |
Relation |
Name |
Father Name |
Mother Name |
DOB |
NID Number |
Address |
Mobile Number |
Front Image |
Back Image |
|
|
|
|
|
|
|
|
|
No Image
|
No Image
|