|
@@ -749,6 +749,7 @@ GROUP BY erx_category");
|
|
|
};
|
|
|
$.post('/api/erx/updateProDeclaredStatus', payload, _data => {
|
|
|
if(!hasResponseError(_data)) {
|
|
|
+ localStorage['currentErx_{{$note->id}}'] = 0;
|
|
|
closeStagPopup();
|
|
|
fastReload();
|
|
|
}
|
|
@@ -770,6 +771,7 @@ GROUP BY erx_category");
|
|
|
$.post('/api/erx/create', payload, _data => {
|
|
|
if(!hasResponseError(_data)) {
|
|
|
localStorage.autoOpenNewestPrescription = 1;
|
|
|
+ localStorage['currentErx_{{$note->id}}'] = 0;
|
|
|
fastReload();
|
|
|
}
|
|
|
}, 'json');
|
|
@@ -1136,6 +1138,8 @@ GROUP BY erx_category");
|
|
|
$.post('/api/erx/create', payload, _data => {
|
|
|
if(!hasResponseError(_data)) {
|
|
|
toastr.success('Prescription added');
|
|
|
+ localStorage.autoOpenNewestPrescription = 1;
|
|
|
+ localStorage['currentErx_{{$note->id}}'] = 0;
|
|
|
closeStagPopup();
|
|
|
fastReload();
|
|
|
}
|