fix: MR feedback
This commit is contained in:
parent
7089b11c5f
commit
fbf4a2f96c
3 changed files with 8 additions and 5 deletions
|
|
@ -41,7 +41,7 @@ window.addEventListener("DOMContentLoaded", () => {
|
|||
function (response: SweetAlertResult<any>) {
|
||||
(el as HTMLFormElement).submit();
|
||||
},
|
||||
{ icon: "warning", html: "true" },
|
||||
{ icon: "warning" },
|
||||
true
|
||||
);
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -46,11 +46,13 @@ export default {
|
|||
};
|
||||
|
||||
// Enable HTML content interpretation in the modal options
|
||||
let htmlActive = {};
|
||||
let message = {};
|
||||
if (html) {
|
||||
htmlActive = {html: text};
|
||||
message = {html: text};
|
||||
} else {
|
||||
message = { text: text };
|
||||
}
|
||||
const fullOptions = {...saOptions, ...htmlActive};
|
||||
const fullOptions = {...saOptions, ...message};
|
||||
|
||||
Swal.fire(fullOptions).then((result) => {
|
||||
if (result.isConfirmed) {
|
||||
|
|
|
|||
|
|
@ -53,7 +53,8 @@
|
|||
<td class="text-center align-middle"><span class="badge bg-info">{{ $invoiceModel->sent_client_date }}</span></td>
|
||||
<td class="text-center align-middle"><span class="badge bg-info">{{ $invoiceModel->signed_date }}</span></td>
|
||||
<td class="text-center align-middle"><span class="badge bg-info">{{ $invoiceModel->sent_accounting_date }}</span></td>
|
||||
<td class="text-center align-middle">{{ $invoiceModel->site?->name }}</td>
|
||||
<td class="text-center align-middle">
|
||||
{{ $invoiceModel->site->name }}
|
||||
<td class="text-center align-middle"><span class="badge bg-info">{{ $invoiceModel->updated_at }}</span></td>
|
||||
<td class="text-end align-middle">
|
||||
<div class="btn-group">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue