Skip to content

Commit

Permalink
Merge pull request #8734 from turbo124/laravel10
Browse files Browse the repository at this point in the history
Adjustment for Purchase Orders in Portal
  • Loading branch information
turbo124 committed Aug 21, 2023
2 parents c4c63a0 + ab39a55 commit 36bf469
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</svg>
</div>
</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">
<span>{{ ctrans('texts.download_e_invoice') }}</span>
<div wire:loading wire:target="downloadEInvoice">
Expand Down

0 comments on commit 36bf469

Please sign in to comment.