@php $accAccountLedger = DB::table('acc_account_ledger')->get(); $transactionHeadCount = $transactionHeads->count(); $rowSpanProjectType = $transactionHeadCount + $transactionHeadCount; @endphp {!! Form::open(['url'=>'/hr/autoVoucherSettings/save','class'=>'form-horizontal']) !!}
| Project Type | Type | Transaction Head | Ledger Code ( Pri ) | Ledger Code ( Int ) |
|---|---|---|---|---|
| {{ $projectType->name }} | @endif @if($transactionHeadIndex == 0){{ $staffType->name }} | @endif{{ $transactionHead->name }} | {{ Form::text('ledger_account_pri_code_id[]',$autoVoucherSetting ? $autoVoucherSettingItem->getLedgerCode($autoVoucherSetting->id,$projectType->id, $staffType->id,$transactionHead->id, 'acc_account_ledger_id_fk_for_ledger_code_pri') : null,['class'=>'form-control text-right js-borderEffect','autocomplete'=>'off']) }} | {{ Form::text('ledger_account_int_code_id[]',$autoVoucherSetting ? $autoVoucherSettingItem->getLedgerCode($autoVoucherSetting->id,$projectType->id, $staffType->id,$transactionHead->id, 'acc_account_ledger_id_fk_for_ledger_code_int') : null,['class'=>'form-control text-right js-borderEffect','autocomplete'=>'off']) }} |