From 5ba725d5e4742b181e6e94b92c5786d24e769340 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Wed, 17 Feb 2021 11:39:22 +0100 Subject: [PATCH] approve quote with one click, instead of pushing to another page --- resources/lang/en/texts.php | 1 + .../views/portal/ninja2020/quotes/includes/actions.blade.php | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index 009e2e05d316..7699ff50fa1c 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -4142,6 +4142,7 @@ $LANG = array( 'recurring_cancellation_request_body' => ':contact from Client :client requested to cancel Recurring Invoice :invoice', 'hello' => 'Hello', 'group_documents' => 'Group documents', + 'quote_approval_confirmation_label' => 'Are you sure you want to approve this quote?', ); return $LANG; diff --git a/resources/views/portal/ninja2020/quotes/includes/actions.blade.php b/resources/views/portal/ninja2020/quotes/includes/actions.blade.php index eb0f2328e373..d3c800ddc0ac 100644 --- a/resources/views/portal/ninja2020/quotes/includes/actions.blade.php +++ b/resources/views/portal/ninja2020/quotes/includes/actions.blade.php @@ -1,6 +1,7 @@ -
+ @csrf +
@@ -11,7 +12,7 @@ {{ ctrans('texts.waiting_for_approval') }}
-

+

{{ ctrans('texts.quote_still_not_approved') }}