|
@@ -24,7 +24,7 @@
|
|
|
<a class="mr-2 c-pointer" v-on:click.prevent="showPopup('other-popup', item)">Edit</a>
|
|
|
<a class="mr-2 c-pointer" v-if="item.is_open" v-on:click.prevent="closeItem(item)">Close</a>
|
|
|
<a class="mr-2 c-pointer" v-if="!item.is_open" v-on:click.prevent="openItem(item)">Open</a>
|
|
|
-
|
|
|
+
|
|
|
@include('app.patient.partials.ticket_action_links')
|
|
|
|
|
|
</td>
|
|
@@ -32,7 +32,7 @@
|
|
|
</tbody>
|
|
|
</table>
|
|
|
<div class="stag-popup stag-popup-sm mcp-theme-1" stag-popup-key="other-popup">
|
|
|
- <form method="POST" action="/api/appointment/create" class="overflow-visible">
|
|
|
+ <form method="POST" action="" class="overflow-visible">
|
|
|
<h3 class="stag-popup-title mb-2">
|
|
|
<span>@{{ popupMode === 'add' ? 'Add Item' : 'Edit Item' }}</span>
|
|
|
<a href="#" class="ml-auto text-secondary"
|
|
@@ -65,7 +65,7 @@
|
|
|
$tickets = $patient->tickets->filter(function($_item) {
|
|
|
return $_item->category === 'other';
|
|
|
});
|
|
|
-
|
|
|
+
|
|
|
$items = [];
|
|
|
foreach ($tickets as $ticket) {
|
|
|
$item = json_decode($ticket->data);
|