@extends('admin.layouts.app') @php $transaction = @$transaction; $transaction_type = [ '1' => 'Debit', '2' => 'Credit' ]; $transaction_payment_type = [ '1' => 'Full', '2' => 'Initial', '3' => 'Installment', '4' => 'Other' ]; $transaction_payment_method = [ '1' => 'bank', '2' => 'check', '3' => 'online', '4' => 'cash' ]; $transaction_currency = [ '1' => 'USD', '2' => 'EUR' ] @endphp @section('content')

Accounting

Accounting Transaction

List of Accounting Transaction

{{ csrf_field() }}
Reset
@include('admin.includes.status')
@if (!empty($transaction)) @foreach($transaction as $val) @php $country_phone_code = !empty($val->country_phone_code) ? "+" . $val->country_phone_code : ""; $country_phone_code_two = !empty($val->country_phone_code_two) ? "+" . $val->country_phone_code_two : ""; @endphp @endforeach @endif
Invoice Number EV Details Program Status Payment Type Transaction Type Payment Method Amount Curruncy Transaction Date Transaction Verified Action
{{ $val->invoice_number }} {{ $val->first_name." ".$val->last_name }}
{{ $val->email }} @if(!empty($val->skype_id))
  {{ strtolower($val->skype_id) }} @endif @if(!empty($val->phone_number))
  {{ $country_phone_code }} {{ $val->phone_number }} @endif @if(!empty($val->phone_number_two))
  {{$country_phone_code_two}} {{ $val->phone_number_two }} @endif
{{ $val->program_name }} {{ $val->program_name }} {{ $transaction_type[$val->transaction_type] }} {{ $transaction_payment_type[$val->transaction_payment_type] }} {{ $transaction_payment_method[$val->transaction_payment_method] }} {{ $val->transaction_amount }} {{ $transaction_currency[$val->transaction_currency] }} {{ (strtotime($val->transaction_date) > 0)? dateformat($val->transaction_date, DISPLAY_DATE):'N/A' }} {{ ($val->transaction_verified == 1) ? 'Yes' : 'No' }} @if(check_route_access('at.edit.form')) @endif @if(check_route_access('at.delete')) @endif
@endsection @section('scripts') @endsection