Commit d341ef4e by Azhan Hannan

Hide button submit bila dah pernah submit untuk application tu

parent 4867cc6d
......@@ -601,11 +601,14 @@
<!-- <button type="button" class="ui green button" onclick="window.location.href='{{ route('timesheet::dashboard.timesheetApproval',[ 'phase' => $phase, 'month' => $month ]) }}';">Back</button> -->
@else
@if($check != null)
<button type="button" class="ui green button" onclick="window.location.href='{{ route('timesheet::dashboard.tsubmit',[ 'tid'=> $check->id, 'totalot'=> $totalot, 'totalchargehrs'=>$totalchargehrs,'totaloverheadhrs'=>$totaloverheadhrs, 'phase' => $phase, 'month' => $month, 'year' => $year ]) }}';">Submit</button>
@else
<button type="button" class="ui disabled green button">Submit</button>
@endif
@if(data_get($check,'tm_timesheet_master_sts') == 2 || data_get($check,'tm_timesheet_master_sts') == 3 || data_get($check,'tm_timesheet_master_sts') == 4)
@else
@if($check != null)
<button type="button" class="ui green button" onclick="window.location.href='{{ route('timesheet::dashboard.tsubmit',[ 'tid'=> $check->id, 'totalot'=> $totalot, 'totalchargehrs'=>$totalchargehrs,'totaloverheadhrs'=>$totaloverheadhrs, 'phase' => $phase, 'month' => $month, 'year' => $year ]) }}';">Submit</button>
@else
<button type="button" class="ui disabled green button">Submit</button>
@endif
@endif
@endif
<button type="button" class="ui primary button" onclick="printdiv('print_div')">Print</button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment