@php $i=1; @endphp @foreach($bills as $bill) @php $i++; @endphp @endforeach
S.No Service Unit Quantity Unit Price Total Price Accepted By Accepted Date Type
{{ $i }} {!! $bill->name !!} {!! $bill->unit !!} {{$bill->quantity}} {{$bill->unit_price}} {{$bill->cost}} {{$bill->acceptedby->full_name}} {{$bill->accepted_date}} @if($bill->bill_type){{ $bill->billtype->name}} @else New @endif
@if($print) {!! Form::open(['route' => 'finance.bills.accept.bill']) !!} {!! Form::submit('Approve', ['class' => 'btn btn-success']) !!} {!! Form::close() !!} @endif
{!! Form::open(['route' => 'finance.bills.reject.bill']) !!} {!! Form::submit('Reject', ['class' => 'btn btn-danger']) !!} {!! Form::close() !!}
@section('footer_scripts') {{-- --}} @stop