This commit is contained in:
2022-10-11 07:43:33 -04:00
parent 188f4625e0
commit 2edcd3207a
2 changed files with 11 additions and 31 deletions
+9 -29
View File
@@ -136,36 +136,9 @@
<div class="form-group">
<?php
if ($this_is_client == true) {
?>
<table class='table table-striped table-hover table-bordered table-condensed'>
<tr>
<td>
If you have completed this task and will like the owner to review the work for acceptance, click "Completed" button.
</td>
<td style="width:140px;">
<div id="req_completion"> <button type="submit" id="req_completion_submit" class="btn btn-primary btn-sm" onclick="return requestCompletion('<?php echo $job_contract; ?>');" <?php echo $disabled1; ?> >Completed</button></div>
</td>
</tr>
<tr>
<td>
If you are unable to complete and will like this project canceled, click "Cancel task" button.
</td>
<td style="width:140px;">
<div id="req_cancel"> <button type="submit" id="req_cancel_submit" onclick="return requestCancel('<?php echo $job_contract; ?>');" class="btn btn-danger btn-sm" <?php echo $disabled2; ?> >Request Cancel</button> </div>
</td>
</tr>
</table>
<div style="font-size: large; font-family: sans-serif">
<p style="color: #ff0000; background-color: #ffffff">Note: Buttons may be disabled for some days at the start of the task</p>
</div>
<?php
include('jobaction/job_worker.php');
}
?>
<?php
if ($this_is_project_owner == true) {
?>
<table class='table table-striped table-hover table-bordered table-condensed'>
@@ -232,7 +205,14 @@
<?php
if ($this_is_client == true) {
// include(VIEWPATH.'/compo/compo_msg4_accord.php');
include('jobaction/job_worker.php');
if ($this_job_result->current_job_status != 4){
include('jobaction/job_worker.php');
}
if ($this_job_result->current_job_status == 4){
echo "You have sent this task to the owner for review and acceptance. The job will automatically be completed in 3 days if the owner does not respond";
}
}
if ($this_is_project_owner == true) {