@extends('layouts.page') @section('title') Batch (Non) Program Indents Create {{ AppHelper::dropdown($department, 'departments') }} @endsection @section('navs') @endsection @section('content') @foreach ($entityIndents as $dept => $deptIndents) @foreach ($deptIndents as $entity => $entityIndents1) @foreach ($entityIndents1 as $acc => $accIndents) @foreach ($accIndents as $tds => $indents) @if (count($indents) > 1) {!! Form::open(['url' => route('admin_indent_pool.save')]) !!}
| Indent ID | PO ID | Pay To | Account | TDS | Amount | |
|---|---|---|---|---|---|---|
| {!! Form::checkbox("indents[{$indent->id}]", $indent->id, true) !!} |
{!! $indent->indent_id ? $indent->indent_id : 'View' !!}
@foreach($indent->expenses as $expense)
{{ $expense->category ? $expense->category->category : ''}}
@break
@endforeach
|
@if ($indent->comparison_form_po)
{{ $indent->comparison_form_po->po_id }}
{{ $indent->comparison_form_po->po_title }}
@endif
|
@foreach ($indent->indent_records()->take(2)->get() as $indent_record) {{ $indent_record->bank_account ? $indent_record->bank_account->passbook_name : ''}} - {{ round($indent_record->indent_amount) }} @endforeach | {!! EasyForm::viewSelect('account','', old('account', $indent->account), AppHelper::options('admin_indent_accounts')) !!} | {!! EasyForm::viewSelect('tds','', old('tds', $indent->tds), AppHelper::options('yes_no_list')) !!} | {!! $indent->amount !!} |