{{-- petty cash amount modal start --}} @php $petty_cash_amounts = App\Models\PettyCashAmount::OrderBy('Sno', 'desc') ->whereYear('Month', date('Y')) ->get(); @endphp

Petty Cash Amount

@foreach ($petty_cash_amounts as $petty_cash_amount) @endforeach
DATE AMOUNT
{{ date('d F Y', strtotime($petty_cash_amount->Month)) }} Rs. {{ number_format($petty_cash_amount->Amount) }} @if (date('Y-m', strtotime($petty_cash_amount->Month)) == date('Y-m')) @endif
{{-- petty cash modal ended --}}