2
0
mirror of https://github.com/frappe/books.git synced 2025-01-09 09:50:27 +00:00

feat: submit and hold invoice for later use in POS

This commit is contained in:
AbleKSaju 2024-12-23 11:32:33 +05:30
parent 26ca9a425b
commit ea515b9c69

View File

@ -132,6 +132,20 @@
<div class="grid grid-cols-2 gap-4 bottom-8">
<div v-if="fyo.singles.POSSettings?.submitInvoice" class="col-span-1">
<Button
class="w-full bg-red-500 dark:bg-red-700"
style="padding: 1.35rem"
@click="cancelTransaction()"
>
<slot>
<p class="uppercase text-lg text-white font-semibold">
{{ t`Cancel` }}
</p>
</slot>
</Button>
</div>
<div class="col-span-1" v-if="fyo.singles.POSSettings?.submitInvoice">
<Button
class="w-full bg-violet-500 dark:bg-violet-700"
style="padding: 1.35rem"