diff --git a/public/js/clients/invoices/payment.js b/public/js/clients/invoices/payment.js index 7bd6731010fd..2781c1ebcc7c 100755 --- a/public/js/clients/invoices/payment.js +++ b/public/js/clients/invoices/payment.js @@ -1,2 +1,2 @@ /*! For license information please see payment.js.LICENSE.txt */ -(()=>{function e(e,t){for(var n=0;n{function e(e,t){for(var n=0;n { - element.addEventListener("click", () => - this.handleMethodSelect(element) - ); + element.addEventListener("click", () => { + if (!this.submitting) { + this.handleMethodSelect(element) + + this.submitting = true; + } + }); }); } } diff --git a/resources/views/portal/ninja2020/components/livewire/documents-table.blade.php b/resources/views/portal/ninja2020/components/livewire/documents-table.blade.php index a455f413800c..3e5b8970eb66 100644 --- a/resources/views/portal/ninja2020/components/livewire/documents-table.blade.php +++ b/resources/views/portal/ninja2020/components/livewire/documents-table.blade.php @@ -64,7 +64,7 @@ - diff --git a/resources/views/portal/ninja2020/invoices/index.blade.php b/resources/views/portal/ninja2020/invoices/index.blade.php index 7268b09ace06..3d23cb6bc33f 100644 --- a/resources/views/portal/ninja2020/invoices/index.blade.php +++ b/resources/views/portal/ninja2020/invoices/index.blade.php @@ -15,10 +15,10 @@
@csrf - + @if(!empty(auth()->user()->client->service()->getPaymentMethods(0))) - + @endif
diff --git a/resources/views/portal/ninja2020/payment_methods/includes/modals/removal.blade.php b/resources/views/portal/ninja2020/payment_methods/includes/modals/removal.blade.php index d80ed480ca62..c50b4eade584 100644 --- a/resources/views/portal/ninja2020/payment_methods/includes/modals/removal.blade.php +++ b/resources/views/portal/ninja2020/payment_methods/includes/modals/removal.blade.php @@ -36,7 +36,7 @@
@csrf @method('DELETE') -
diff --git a/resources/views/portal/ninja2020/quotes/approve.blade.php b/resources/views/portal/ninja2020/quotes/approve.blade.php index 4edeaa6acd13..b7527bc25c11 100644 --- a/resources/views/portal/ninja2020/quotes/approve.blade.php +++ b/resources/views/portal/ninja2020/quotes/approve.blade.php @@ -26,7 +26,7 @@
- diff --git a/resources/views/portal/ninja2020/quotes/includes/actions.blade.php b/resources/views/portal/ninja2020/quotes/includes/actions.blade.php index 646773cfb1c8..8785cef5feb3 100644 --- a/resources/views/portal/ninja2020/quotes/includes/actions.blade.php +++ b/resources/views/portal/ninja2020/quotes/includes/actions.blade.php @@ -1,27 +1,30 @@
- @csrf - - - - +@csrf -
-
-
-

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

+ + + + -
- @yield('quote-not-approved-right-side') +
+
+
+

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

-
- - -
+
+ @yield('quote-not-approved-right-side') + +
+ +
- +
+ diff --git a/resources/views/portal/ninja2020/quotes/index.blade.php b/resources/views/portal/ninja2020/quotes/index.blade.php index 845485d79807..078e23ef7670 100644 --- a/resources/views/portal/ninja2020/quotes/index.blade.php +++ b/resources/views/portal/ninja2020/quotes/index.blade.php @@ -2,9 +2,9 @@ @section('meta_title', ctrans('texts.quotes')) @section('header') - @if($errors->any()) + @if ($errors->any())
- @foreach($errors->all() as $error) + @foreach ($errors->all() as $error)

{{ $error }}

@endforeach
@@ -15,13 +15,17 @@
@csrf - - + +
+
@livewire('quotes-table', ['company' => $company])
-@endsection \ No newline at end of file +@endsection diff --git a/resources/views/portal/ninja2020/statement/index.blade.php b/resources/views/portal/ninja2020/statement/index.blade.php index c90ea1c01fbb..8515f8098c13 100644 --- a/resources/views/portal/ninja2020/statement/index.blade.php +++ b/resources/views/portal/ninja2020/statement/index.blade.php @@ -31,7 +31,7 @@ {{ ctrans('texts.show_aging') }}
- +
@include('portal.ninja2020.components.pdf-viewer', ['url' => route('client.statement.raw')])