@extends('layouts.master') @section('css') @endsection @section('title') Expense @endsection @section('content')
@isset($accountingVoucher) Edit Expense Journal @else Add Expense Journal @endisset
Double Entry
@isset($accountingVoucher)
@method('put') @else @endisset @csrf @if (auth()->user()->staff == null)
@endif
@isset($accountingVoucher) @if (str_contains($accountingVoucher->voucher_number, '-')) @php $explode = explode('-', $accountingVoucher->voucher_number); $voucherNumber = end($explode); $prefix = array_pop($explode); $prefix = implode('-', $explode); @endphp {{ $prefix }} @else @endif @else @if ($voucherType->prefix != null) {{ $voucherType->prefix }} @else @endif @endisset
@if (Auth::user()->company_profile->use_bill_wise_receipt)
@endif
Report
{{-- Print Modal --}} @endsection @section('script') @endsection