@extends('layouts.admin') @section('page-title') {{__('Manage Payments')}} @endsection @section('breadcrumb')
| {{__('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(!empty($payment->add_receipt)) @else - @endif | @if(Gate::check('edit revenue') || Gate::check('delete revenue'))@can('edit payment') @endcan @can('delete payment') @endcan | @endif