@extends('layouts.default') @section('title', isset($title)?$title:'') @section('content')
Vendor | Consultant | Previous Hours | @foreach($weekDates as $day){{ date('M-d', strtotime($day['start'])).'-'.date('M-d', strtotime($day['end'])) }} | @endforeachTotal | Payrate | Amount | Updated Payrates | Remarks | |
---|---|---|---|---|---|---|---|---|---|
{!! str_limit($li['parent'], 15) !!} | {!! str_limit($li['name'], 15) !!} | {{ Form::textGroup1('prev_hrs[]', ' ') }} | @for ($j = 1; $j <= count($weekDates); $j++) @php $name='week' .$j.'[]'; @endphp @if($li['week'.$j]) @php $total = $total + $li[$j]; @endphp{{ Form::textGroup1($name, ' ', null, [], $li[$j]) }} | @else @php $total = $total; @endphp{{ Form::textGroup1($name, ' ') }} | @endif @endfor{{ Form::textGroup1('total[]', ' ', null, [], $total) }} | {{ Form::textGroup1('payrate[]', ' ') }} | {{ Form::textGroup1('amount[]', ' ') }} | {{ Form::textGroup1('updated[]', ' ') }} | {{ Form::textGroup1('notes[]', ' ') }} |