@extends('layouts.master') @section('css') @endsection @section('title') Voucher Types @endsection @section('content') @isset($voucherType) Edit Voucher Type @else Add Voucher Type @endisset Go Back @isset($voucherType) @method('put') @else @endisset @csrf Name @isset($voucherType) @if ($voucherType->created_at == null) @else @endif @else @endisset @isset($voucherType) @if ($voucherType->created_at == null) Main Voucher Type Select main voucher type @else Main Voucher Type Select main voucher type @endif @else Main Voucher Type Select main voucher type @endisset Branch Select branch @foreach ($branches as $branch) branch_id == $branch->id ? 'selected' : '') : '' }}> {{ $branch->name }} @endforeach Starting Number prefix Suffix Default Party(Dr) Default Party(Dr) @foreach ($ledgers as $ledger) default_party_dr == $ledger->id ? 'selected' : '') : '' }}> {{ $ledger->name }} @endforeach Status status == 1 ? 'selected' : '') : 'selected' }}> Active status == 0 ? 'selected' : '') : '' }}> Inactive Min Voucher No Length Use Suffix and Prefix use_suffix_and_prefix) checked @else unchecked @endif @endisset> Is Non Gst is_non_gst) checked @else unchecked @endif @endisset> Show In Dashboard show_in_dashboard) checked @else unchecked @endif checked @endisset> @isset($voucherType) Update Voucher Type @else Add Voucher Type @endisset @endsection @section('script') @endsection