From 03fc546e814a36ba747487c229450b1378bd1d4f Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Wed, 10 Jul 2024 09:06:13 +0300 Subject: [PATCH] Replace copyable link with pushState --- .../portal/ninja2020/credits/show.blade.php | 19 ++++------- .../portal/ninja2020/invoices/show.blade.php | 29 +++------------- .../includes/actions.blade.php | 9 ----- .../ninja2020/purchase_orders/show.blade.php | 14 ++------ .../quotes/includes/actions.blade.php | 8 ----- .../portal/ninja2020/quotes/show.blade.php | 33 ++----------------- 6 files changed, 18 insertions(+), 94 deletions(-) diff --git a/resources/views/portal/ninja2020/credits/show.blade.php b/resources/views/portal/ninja2020/credits/show.blade.php index 2020a6e7d0..4c4d8f8255 100644 --- a/resources/views/portal/ninja2020/credits/show.blade.php +++ b/resources/views/portal/ninja2020/credits/show.blade.php @@ -9,16 +9,6 @@

{{ ctrans('texts.entity_number_placeholder', ['entity' => ctrans('texts.credit'), 'entity_number' => $credit->number]) }}

- - @if($key) - - @endif - @@ -30,11 +20,16 @@ @endsection @section('footer') - @endsection diff --git a/resources/views/portal/ninja2020/invoices/show.blade.php b/resources/views/portal/ninja2020/invoices/show.blade.php index f93c9e7af3..172520e9e8 100644 --- a/resources/views/portal/ninja2020/invoices/show.blade.php +++ b/resources/views/portal/ninja2020/invoices/show.blade.php @@ -56,17 +56,6 @@ {{ ctrans('texts.invoice_number_placeholder', ['invoice' => $invoice->number])}} - {{ ctrans('texts.unpaid') }} - - @if($key) - - @endif - -
@@ -93,15 +82,6 @@ {{ ctrans('texts.invoice_number_placeholder', ['invoice' => $invoice->number])}} - {{ \App\Models\Invoice::stringStatus($invoice->status_id) }} - - @if($key) - - @endif
@@ -121,15 +101,16 @@ @push('head') @vite('resources/js/clients/invoices/payment.js') - @endpush diff --git a/resources/views/portal/ninja2020/purchase_orders/includes/actions.blade.php b/resources/views/portal/ninja2020/purchase_orders/includes/actions.blade.php index 53b35288b2..92cd87b9f9 100644 --- a/resources/views/portal/ninja2020/purchase_orders/includes/actions.blade.php +++ b/resources/views/portal/ninja2020/purchase_orders/includes/actions.blade.php @@ -10,18 +10,9 @@
-

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

- - -
diff --git a/resources/views/portal/ninja2020/purchase_orders/show.blade.php b/resources/views/portal/ninja2020/purchase_orders/show.blade.php index e0b725a235..f29b055f65 100644 --- a/resources/views/portal/ninja2020/purchase_orders/show.blade.php +++ b/resources/views/portal/ninja2020/purchase_orders/show.blade.php @@ -30,15 +30,6 @@ {{ ctrans('texts.purchase_order_number_placeholder', ['purchase_order' => $purchase_order->number])}} - {{ \App\Models\PurchaseOrder::stringStatus($purchase_order->status_id) }} - - @if($key) - - @endif
@@ -57,13 +48,14 @@ @push('head') @vite('resources/js/clients/purchase_orders/accept.js') -