@extends('admin.layouts') @section('title', 'Bill Wise Profit') @section('header') @endsection @section('content')

Bill Wise Profit

@foreach ($offlineSales as $key => $sale) @endforeach
S.NO DATE INVOICE NO CUSTOMER NAME PURCHASE AMOUNT INVOICE AMOUNT PAYABLE AMOUNT CASH WALLET AMOUNT SHOPP WALLET AMOUNT PROFIT ACTION
{{ $key + 1 }} {{ $sale->created_at->format('d-m-Y') }} {{ $sale->order_id }} {{ $sale->customer_details['name'] ?? 'N/A' }} ₹ {{ number_format($sale->purchase_amount, 2) }} ₹ {{ number_format($sale->total_amount ?? 0, 2) }} ₹ {{ number_format($sale->amount_payable ?? 0, 2) }} ₹ {{ number_format($sale->cash_wallet_deduction ?? 0, 2) }} ₹ {{ number_format($sale->shopping_wallet_deduction ?? 0, 2) }} ₹ {{ number_format($sale->netprofit, 2) }} View Invoice
@endsection @section('footer') @endsection