@extends('admin.layout.master') @section('custom_style') @endsection @section('content') @include('flash-message')
@if ($errors->any())
@endif
{{__('obs.payment')}} {{__('obs.voucher')}}
@if(isset(request()->invoice))
@endif {{__('obs.add')}} {{__('obs.payment')}} {{__('obs.voucher')}}
@if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

{{__('obs.payment')}} {{__('obs.voucher')}} {{__('obs.list')}}

{{-- --}} @if (!empty($payment_vouchers)) @php $i =1 ;$total_payment =0;@endphp @foreach ($payment_vouchers as $payment_voucher) @php $total_payment +=$payment_voucher->amount;@endphp @endforeach @endif
{{__('obs.sl')}} {{__('obs.posting_by')}} {{__('obs.invoice')}} {{__('obs.date')}} {{__('obs.total_amount')}} {{__('obs.action')}}Approve
{{$i++}} {{$payment_voucher->user->name}} {{$payment_voucher->fd_invoice->invoice_no}} {{$payment_voucher->created_at->format("d-m-Y")}} {{$payment_voucher->amount}}
Total {{$total_payment}}
@endsection @section('script') @endsection