@include('new_layouts.header') @include('accounting.side-menu')
| {{__('Date')}} | {{__('Amount')}} | {{__('Account')}} | {{__('Vendor')}} | {{__('Category')}} | {{__('Reference')}} | {{__('Description')}} | {{__('Payment Receipt')}} | @if(Gate::check('edit payment') || Gate::check('delete payment')){{__('Action')}} | @endif|
|---|---|---|---|---|---|---|---|---|---|
| {{ Auth::user()->dateFormat($payment->date)}} | {{ Auth::user()->priceFormat($payment->amount)}} | {{ !empty($payment->bankAccount)?$payment->bankAccount->bank_name.' '.$payment->bankAccount->holder_name:''}} | {{ !empty($payment->vender)?$payment->vender->name:'-'}} | {{ !empty($payment->category)?$payment->category->name:'-'}} | {{ !empty($payment->reference)?$payment->reference:'-'}} | {{ !empty($payment->description)?$payment->description:'-'}} | {{----}}
{{-- @if(!empty($payment->add_receipt))--}}
{{-- --}}
{{-- --}}
{{-- --}}
{{-- --}}
{{-- @else--}}
{{-- ---}}
{{-- @endif--}}
{{-- --}}
{{-- --}}
{{-- --}}
{{-- --}}
{{-- --}}
{{-- | --}}
@if(Gate::check('edit revenue') || Gate::check('delete revenue')) | @endif |