Staff Timesheet Report

List of Timesheet for {{ $project->project_title }}
Company Address Telephone Fax E-mail
{{ $project->company->company_name }} {!! $project->company->address_line1 ? $project->company->address_line1.'
' : '' !!} {!! $project->company->address_line2 ? $project->company->address_line2.'
' : '' !!}
{{ $project->company->phone }} {{ $project->company->fax }} {{ $project->company->email }}
@php $total = 0; $total_h = 0; $total_p = 0; $total_hp = 0; $gtotal_cost = 0; $gall_total_cost = 0; $gtotal_estimate = 0; $gtotal_profit = 0; $gtotal_loss = 0; @endphp @if($staffTimesheets->isNotEmpty()) @foreach($staffTimesheets as $staffTimesheet) @php $total_estimate = 0; $total_cost = 0; $all_total_cost = 0; $all_total_hours = 0; $total_profit = 0; $total_loss = 0; $tm = 0; $profit=0; $loss=0; $gtotal_estimate = ($gtotal_estimate + $total_estimate); $gtotal_profit = ($gtotal_profit + $total_profit); $gtotal_loss = ($gtotal_loss + $total_loss); $gall_total_cost = ($gall_total_cost + $all_total_cost); @endphp @endforeach @endif
View Sub Code Site Diaries Images Person Photo Drawings Total Hours Total Cost Estimate Profit Loss
Total Cost : £{{ number_format($gall_total_cost,4) }} Estimate : £{{ number_format($gtotal_estimate,4) }} Profit : £{{ number_format($gtotal_profit,4) }} Loss : £{{ number_format($gtotal_loss,4) }}