Adjustment for Purchase Orders in Portal

This commit is contained in:
David Bomba 2023-08-21 20:56:06 +10:00
parent dd4f38aeb1
commit ab39a55eb1

View File

@ -9,7 +9,7 @@
</svg> </svg>
</div> </div>
</button> </button>
@if($settings->enable_e_invoice && $entity_type == 'invoice') @if($entity_type == 'invoice' && $settings->enable_e_invoice)
<button wire:loading.attr="disabled" wire:click="downloadEInvoice" class="bg-primary text-white px-4 py-4 lg:px-2 lg:py-2 rounded" type="button"> <button wire:loading.attr="disabled" wire:click="downloadEInvoice" class="bg-primary text-white px-4 py-4 lg:px-2 lg:py-2 rounded" type="button">
<span>{{ ctrans('texts.download_e_invoice') }}</span> <span>{{ ctrans('texts.download_e_invoice') }}</span>
<div wire:loading wire:target="downloadEInvoice"> <div wire:loading wire:target="downloadEInvoice">