@extends('layouts.app') @section('content') @section('style') @endsection
DTR Information
PERSONNEL

{{ $deployment->first_name . ' ' . $deployment->last_name }}

POST

{{ $deployment->branch_name }}

STATUS

{{ $deployment->status }}

DAILY RATE

₱{{ $deployment->daily_rate }}

{{-- --}} ADD DTR
{{--
{{-- CALENDAR VIEW --}} {{-- --}}
 
Previous Date
 
Current or Future Date
@foreach ($dtrs as $dtr) date < date('Y-m-d')) style="background-color:#e0f2f1" @else style="background-color:#eceff1" @endif > @if($dtr->isPresent) @else @endif @endforeach
Date Time In Time Out Over Time Night Hours Holiday Sunday Rate Status Action
{{ $dtr->date }} {{ $dtr->time_in }} {{ $dtr->time_out }} @if($dtr->over_time_hours < 0) - {{ gmdate('H:i', abs($dtr->over_time_hours)) }} @else {{ gmdate('H:i', $dtr->over_time_hours) }} @endif @if($dtr->night_hours < 0) - {{ gmdate('H:i', abs($dtr->night_hours)) }} @else {{ gmdate('H:i', $dtr->night_hours) }} @endif @if($dtr->holiday == 1) Regular @elseif($dtr->holiday == 2) Special @elseif($dtr->holiday == 3) Double @else N/A @endif @if($dtr->isSunday == 0) @else @endif @if($dtr->isDayRate) 15 Days Rate @else 16 Days Rate @endif PRESENT ABSENT
{{-- --}} {{-- --}} @section('script') @endsection @endsection