@extends('layouts.master') @section('css') @endsection @section('title') Contra @endsection @section('content')
@isset($accountingVoucher) Edit Contra @else Add Contra @endisset
@isset($accountingVoucher)
@method('put') @else @endisset @csrf @if (auth()->user()->staff == null)
@endif @if (Auth::user()->company_profile->show_cost_center == 1)
@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
Report
{{-- Print Modal --}} @endsection @section('script') @endsection