This commit is contained in:
2022-07-16 21:11:11 -04:00
parent 4b99c679aa
commit b6fdad88c4
2 changed files with 21 additions and 12 deletions
-1
View File
@@ -379,7 +379,6 @@ class Proj extends Users_Controller {
$out = array(); $out = array();
$res = $this->backend_model->wrenchboard_api($msgArray, $out); $res = $this->backend_model->wrenchboard_api($msgArray, $out);
// print_r( $out );
} }
} else if ($_POST && isset($_POST['uploadForm']) && isset($_FILES["fileToUpload"])) { } else if ($_POST && isset($_POST['uploadForm']) && isset($_FILES["fileToUpload"])) {
$message = $this->process_files($_FILES["fileToUpload"]); $message = $this->process_files($_FILES["fileToUpload"]);
+21 -11
View File
@@ -86,10 +86,20 @@
<textarea cols="18" style="height:180px;" rows="3" id='jobmessage' name='jobmessage' class="textarea wysihtml5 wysihtml5-min form-control" placeholder="Enter message here ..."></textarea> <textarea cols="18" style="height:180px;" rows="3" id='jobmessage' name='jobmessage' class="textarea wysihtml5 wysihtml5-min form-control" placeholder="Enter message here ..."></textarea>
</div> </div>
<div class="text-right"> <div class="form-group">
<button id='btn_cancel' name='btn_cancel' type="submit" class="btn btn-danger btn-xs" onclick="document.message.ajax.value = '0';">Cancel</button> <table class="table table-row-dashed table-row-gray-200 align-middle gs-0 gy-4">
<button id='btm_submit' name='btn_submit' type="submit" class="btn btn-primary btn-xs" onclick="SendMessage();return false;">Send Message</button>
<tbody>
<tr>
<td style="width: 20%;"><div id="sendmessagenote"></div></td>
<td style="width: 40%; text-align:right;"> <button id='btn_cancel' name='btn_cancel' type="submit" class="btn btn-danger btn-sm" onclick="document.message.ajax.value = '0';">Cancel</button></td>
<td style="width: 40%; text-align:right;"><button id='btm_submit' name='btn_submit' type="submit" class="btn btn-primary btn-sm" onclick="SendMessage();return false;">Send Message</button> </td>
</tr>
</tbody>
</table>
</div> </div>
</form> </form>
</div> </div>
<div class="tab-pane fade" id="kt_tab_pane_2" role="tabpanel"> <div class="tab-pane fade" id="kt_tab_pane_2" role="tabpanel">
@@ -116,16 +126,16 @@
<td> <td>
If you have completed this task and will like the owner to review the work for acceptance, click "Completed" button. If you have completed this task and will like the owner to review the work for acceptance, click "Completed" button.
</td> </td>
<td style="width:120px;"> <td style="width:140px;">
<div id="req_completion"> <button type="submit" id="req_completion_submit" class="btn btn-primary btn-xs" onclick="return requestCompletion('<?php echo $job_contract; ?>');" <?php echo $disabled1; ?> >Completed</button></div> <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> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
If you are unable to complete and will like this project canceled, click "Cancel task" button. If you are unable to complete and will like this project canceled, click "Cancel task" button.
</td> </td>
<td style="width:120px;"> <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-xs" <?php echo $disabled2; ?> >Request Cancel</button> </div> <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> </td>
</tr> </tr>
</table> </table>
@@ -147,16 +157,16 @@
<td> <td>
Accept or reject the completion of the task below. We will notify the other partner and finalize payment for the task. Accept or reject the completion of the task below. We will notify the other partner and finalize payment for the task.
</td> </td>
<td style="width:120px;"> <td style="width:140px;">
<div id="accept_completion"> <button type="submit" id="accept_completion_submit" class="btn btn-primary btn-xs" onclick="return acceptCompletion('<?php echo $job_contract; ?>');" <?php echo $disabled11; ?> >Accept Completion</button></div> <div id="accept_completion"> <button type="submit" id="accept_completion_submit" class="btn btn-primary btn-sm" onclick="return acceptCompletion('<?php echo $job_contract; ?>');" <?php echo $disabled11; ?> >Accept Completion</button></div>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
If you reject the work done or want more review before accepting, click "Reject Completion." If you reject the work done or want more review before accepting, click "Reject Completion."
</td> </td>
<td style="width:120px;"> <td style="width:140px;">
<div id="reject_completion"> <button type="submit" id="reject_completion_submit" class="btn btn-danger btn-xs" <?php echo $disabled22; ?> onclick="return rejectCompletion('<?php echo $job_contract; ?>');" >Reject Completion</button></div> <div id="reject_completion"> <button type="submit" id="reject_completion_submit" class="btn btn-danger btn-sm" <?php echo $disabled22; ?> onclick="return rejectCompletion('<?php echo $job_contract; ?>');" >Reject Completion</button></div>
</td> </td>
</tr> </tr>
</table> </table>