@extends('layouts.acc_layout') @section('title', '| Rent Auto Voucher List') @section('content')
Rent Auto Voucher Authorization List
{!! Form::open(array('url' => '','id'=>'entryForm', 'role' => 'form', 'class'=>'form-horizontal form-groups')) !!} @if($scheduleMonthYear)
{!! Form::label('Select / Unselect All', null, ['style' => 'color: black; font-weight: bold;']) !!}   {!! Form::checkbox('checkAll', null, false, ['class' => 'checkAll']) !!}      
@endif {{-- Table --}}
{{-- --}} {{-- --}} @foreach ($scheduleMonthYear as $key => $monthYear) @php $rentVoucherData = $rentVoucher[explode('-', $key)[0]] ?? null; @endphp @if (!empty($rentVoucherData)) {{-- --}} {{-- --}} @endif @endforeach
#SL Branch Project Project Type Rnet MonthCompanyRent Type Rent AmountAdjustment AmuntAction
{{ ++$no }} {{ $rentVoucherData->branchCodeWith0 }} - {{ $rentVoucherData->branchName }} {{ $rentVoucherData->projectCode }} - {{ $rentVoucherData->projectName }} {{ $rentVoucherData->projectTypeCode }} - {{ $rentVoucherData->projectTypeName }} {{ $monthYear }}{{ $rentVoucherData->companyName }}{{ $rentVoucherData->rentType }} {{ number_format($rentVoucherData->rentAmount) }}{{ number_format($rentVoucherData->monthlyAdvanceDeductionAmount) }}   @if(in_array($key, $selectedMonthYear)) {{ Form::checkbox('selectedMonthIds[]', $key, true, array('class'=>'isSelectedMonthYear')) }} @else {{ Form::checkbox('selectedMonthIds[]', null, null, array('class'=>'isSelectedMonthYear')) }} @endif
@if($scheduleMonthYear)
{!! Form::label('submit', ' ', ['class' => 'col-sm-5 control-label']) !!}
{!! Form::submit('Approve', ['id' => 'add', 'class' => 'btn btn-info']) !!} Close
@endif {!! Form::close() !!}
{{-- ./panel-body --}}
{{-- ./col-md-12 --}}
{{-- .row --}}
{{-- ./panel-body --}}
{{-- ./panel --}}
{{-- ./col-md-10 --}}
@endsection