From c49aa757b0387ba94da2196b34e1e647ceaea467 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Mon, 23 Sep 2024 17:11:45 +0200 Subject: [PATCH] handle closing the invoice popup --- .../components/livewire/pdf-slot.blade.php | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/resources/views/portal/ninja2020/components/livewire/pdf-slot.blade.php b/resources/views/portal/ninja2020/components/livewire/pdf-slot.blade.php index 1f824d570545..7191dc183cf7 100644 --- a/resources/views/portal/ninja2020/components/livewire/pdf-slot.blade.php +++ b/resources/views/portal/ninja2020/components/livewire/pdf-slot.blade.php @@ -1,7 +1,8 @@
- + + @if($with_close_button) + + @endif + @if($entity_type == 'invoice' && $settings->enable_e_invoice) - @endif @if($entity_type == 'credit' && $settings->enable_e_invoice) - @endif @if($entity_type == 'quote' && $settings->enable_e_invoice) -