|
@@ -32,6 +32,9 @@
|
|
<th class="px-2 text-secondary w-25">To</th>
|
|
<th class="px-2 text-secondary w-25">To</th>
|
|
<th class="px-2 text-secondary w-50">Content</th>
|
|
<th class="px-2 text-secondary w-50">Content</th>
|
|
<th></th>
|
|
<th></th>
|
|
|
|
+ @if($performer->pro->pro_type == 'ADMIN')
|
|
|
|
+ <th></th>
|
|
|
|
+ @endif
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
<tbody>
|
|
<tbody>
|
|
@@ -42,27 +45,49 @@
|
|
<td class="px-2">{{ $sms->from_number }}</td>
|
|
<td class="px-2">{{ $sms->from_number }}</td>
|
|
<td class="px-2">{{ $sms->to_number }}</td>
|
|
<td class="px-2">{{ $sms->to_number }}</td>
|
|
<td class="px-2">{{ $sms->body }}</td>
|
|
<td class="px-2">{{ $sms->body }}</td>
|
|
-
|
|
|
|
- <td>
|
|
|
|
|
|
+ <td class="px-2">
|
|
@if($sms->is_reply_needed)
|
|
@if($sms->is_reply_needed)
|
|
- <div moe relative>
|
|
|
|
- <a start show class="">clear</a>
|
|
|
|
- <form url="/api/clientSms/updateIsReplyNeeded" class="mcp-theme-1" right>
|
|
|
|
- <input type="hidden" name="uid" value="{{ $sms->uid }}">
|
|
|
|
- <input type="hidden" name="isReplyNeeded" value="NO">
|
|
|
|
- <div class="mb-2">
|
|
|
|
- <label for="" class="text-sm text-secondary mb-1">Are you sure?</label>
|
|
|
|
|
|
+ <div moe relative>
|
|
|
|
+ <a start show class="">clear</a>
|
|
|
|
+ <form url="/api/clientSms/updateIsReplyNeeded" class="mcp-theme-1" right>
|
|
|
|
+ <input type="hidden" name="uid" value="{{ $sms->uid }}">
|
|
|
|
+ <input type="hidden" name="isReplyNeeded" value="NO">
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label for="" class="text-sm text-secondary mb-1">Are you sure?</label>
|
|
|
|
|
|
- </div>
|
|
|
|
|
|
+ </div>
|
|
|
|
|
|
- <div class="d-flex align-items-center">
|
|
|
|
- <button class="btn btn-sm btn-primary mr-2" submit>Send</button>
|
|
|
|
- <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
|
- </div>
|
|
|
|
- </form>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="d-flex align-items-center">
|
|
|
|
+ <button class="btn btn-sm btn-primary mr-2" submit>Send</button>
|
|
|
|
+ <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
|
+ </div>
|
|
|
|
+ </form>
|
|
|
|
+ </div>
|
|
@endif
|
|
@endif
|
|
</td>
|
|
</td>
|
|
|
|
+ @if($performer->pro->pro_type == 'ADMIN')
|
|
|
|
+ <td>
|
|
|
|
+ <div moe relative>
|
|
|
|
+ <a start show class="">Update Is Reply Needed</a>
|
|
|
|
+ <form url="/api/clientSms/updateIsReplyNeeded" class="mcp-theme-1" right>
|
|
|
|
+ <input type="hidden" name="uid" value="{{ $sms->uid }}">
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label for="" class="text-sm text-secondary mb-1">Is reply needed?</label>
|
|
|
|
+ <select class="form-control form-control-sm" name="isReplyNeeded" value="{{$patient->cell_number}}">
|
|
|
|
+ <option value="UNKNOWN">--</option>
|
|
|
|
+ <option value="YES">Yes</option>
|
|
|
|
+ <option value="NO">No</option>
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <div class="d-flex align-items-center">
|
|
|
|
+ <button class="btn btn-sm btn-primary mr-2" submit>Send</button>
|
|
|
|
+ <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
|
+ </div>
|
|
|
|
+ </form>
|
|
|
|
+ </div>
|
|
|
|
+ </td>
|
|
|
|
+ @endif
|
|
</tr>
|
|
</tr>
|
|
@endforeach
|
|
@endforeach
|
|
</tbody>
|
|
</tbody>
|