@extends('layouts.master') @section('title', 'Add Payment | ') @section('content') @include('partials.header') @include('partials.sidebar') Add Payment Payments Create New Payment Payment Voucher @csrf Remarks Date Account Cash/Bank A/c. Entry Narration Amount Site Name Add Row Select Account @foreach($accounts as $account) {{ $account->Account_Title }} @endforeach Select Cash/Bank @foreach($cashAccounts as $account) {{ $account->Account_Title }} @endforeach Select Site @foreach($sites as $site) {{ $site->name }} @endforeach Save Search Today's Payment Vouchers Date Remarks ID Total Amount Show Edit Delete @forelse($previousPayments as $payment) {{ \Carbon\Carbon::parse($payment->VoucherDate)->format('d-M-Y') }} {{ $payment->Remarks }} {{ $payment->Id }} {{ number_format($payment->totalAmount) }} @csrf @method('DELETE') @empty No payment vouchers found for today. @endforelse {{ $previousPayments->links() }} @push('js') @endpush @endsection