@extends('admin.layouts.app') @php if(!empty($id)){ $mode = "Edit"; $action = route('at.edit',$id); } else{ $mode = "Add"; $action = route('at.add',$invoice_id); $id = ""; } $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

{{ $mode }} Accounting Transaction

@include('admin.includes.status')
{{ csrf_field() }}
@php $at_date = ""; if(!empty($accounting_transaction->transaction_date)){ $at_date = dateformat($accounting_transaction->transaction_date,DATEPICKER_DATE); } @endphp
@endsection @section('scripts') @endsection