@push('styles') @endpush

Product Sale Information

@if (isset($productOrderSaleListByDealer) && $productOrderSaleListByDealer->count())
@csrf
@csrf
@endif
@php $isBrandUser = auth()->user()->hasRole(\App\Enums\UserRole::BRAND_USER); @endphp @if($isBrandUser) {{-- Product --}}
{{-- Dealer & Customer --}}
@else
All
All
@endif
{{ __('Search') }}
SLShop NameShop CodeCustomerService TypeProductIMEIOrder NumberBill NumberCash PriceInterestInterest RateDown PaymentDown Payment (%)Security MoneySecurity Money (%)Total PriceInstallment {{-- --}} Order DateSale DateEMI TokenAction @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') ) @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) }}
Order Status
{{ $productOrderSaleListByDealer->links() }}
@push('scripts') @endpush