Se configuro el boton de PEPS
This commit is contained in:
@@ -709,15 +709,17 @@
|
||||
<Boxes class="mr-2 h-4 w-4" />
|
||||
Consolidado
|
||||
</Button>
|
||||
<Button
|
||||
variant="outline"
|
||||
size="sm"
|
||||
onclick={() => selectedInvoice && handleDownloadDescargo(selectedInvoice)}
|
||||
disabled={!selectedInvoice}
|
||||
>
|
||||
<ClipboardList class="mr-2 h-4 w-4" />
|
||||
Descargo PEPS
|
||||
</Button>
|
||||
{#if selectedInvoice?.operation_type === 'exp'}
|
||||
<Button
|
||||
variant="outline"
|
||||
size="sm"
|
||||
onclick={() => selectedInvoice && handleDownloadDescargo(selectedInvoice)}
|
||||
disabled={!selectedInvoice}
|
||||
>
|
||||
<ClipboardList class="mr-2 h-4 w-4" />
|
||||
Descargo PEPS
|
||||
</Button>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user