@extends('tenant.layouts.master') @section('breadcrumb') @php $breadcrumb_items[__('breadcrumb.home')] = '/'; if ($module == 'warehouses') { $breadcrumb_items[__('breadcrumb.warehouses')] = '/warehouses/branches'; } elseif ($module == 'accounting') { $breadcrumb_items[__('breadcrumb.accounting')] = '/accounting/accounts'; } elseif ($module == 'rentals') { $breadcrumb_items[__('breadcrumb.rentals')] = '#'; } $breadcrumb_items[__('breadcrumb.receivables')] = route('tenant.receivables.index', ['module' => $module]); $breadcrumb_items[$receivable_account->name] = route('tenant.receivables.accounts.show', [ 'module' => $module, 'account' => $receivable_account->id, ]); $breadcrumb_items[__('breadcrumb.due_checks')] = '#'; @endphp @include('tenant.layouts.breadcrumb', ['items' => $breadcrumb_items]) @endsection @section('sidebar') @include('tenant.layouts.sidebar', ['activeItem' => 'accounting.receivables']) @endsection @section('content') {{-- Receivable Account Checks --}}
{{-- Unposted Receipt Checks --}}

@lang('receivables/receivable-checks.due_checks_receivable') {{ $receivable_account->name }}

@forelse ($receipt_checks as $check) @empty @endforelse @if ($receipt_checks->count()) @endif
# @lang('receivables/receivable-checks.value') @lang('receivables/receivable-checks.check_number') @lang('receivables/receivable-checks.bank') @lang('receivables/receivable-checks.bond') @lang('receivables/receivable-checks.date') @lang('receivables/receivable-checks.description')
{{ $loop->iteration }} {{ $check->amount }} {{ $check->number }} {{ $check->bank }} @lang('receivables/receivable-checks.receipt_bond') {{ $check->receipt->id }} {{ $check->date }} {{ $check->notice }}
@lang('receivables/receivable-checks.no_due_checks')
@lang('general.total') {{ collect($receipt_checks)->sum('amount') }}

{{-- Unposted Exchange Checks --}}

@lang('receivables/receivable-checks.due_checks_receivable') {{ $receivable_account->name }}

@forelse ($exchange_checks as $check) @empty @endforelse @if ($exchange_checks->count()) @endif
# @lang('receivables/receivable-checks.value') @lang('receivables/receivable-checks.check_number') @lang('receivables/receivable-checks.beneficiary_name') @lang('receivables/receivable-checks.bond') @lang('receivables/receivable-checks.date') @lang('receivables/receivable-checks.description')
{{ $loop->iteration }} {{ $check->amount }} {{ $check->number }} {{ $check->beneficiary_name }} @lang('receivables/receivable-checks.exchange_bond') {{ $check->exchange->id }} {{ $check->date }} {{ $check->notice }}
@lang('receivables/receivable-checks.no_due_checks')
@lang('general.total') {{ collect($exchange_checks)->sum('amount') }}
@endsection @push('script') @endpush