mirror of
https://github.com/frappe/books.git
synced 2025-01-03 07:12:21 +00:00
feat: add save order option in POS
This commit is contained in:
parent
62d52bc7ce
commit
55aa8bf111
@ -325,8 +325,25 @@
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="">
|
||||
<div class="flex w-full gap-2">
|
||||
<div class="w-full">
|
||||
<Button
|
||||
class="w-full bg-green-500 dark:bg-green-700 py-6"
|
||||
@click="
|
||||
sinvDoc.party && sinvDoc.items?.length
|
||||
? null
|
||||
: null
|
||||
"
|
||||
:disabled="!sinvDoc.party || !sinvDoc.items?.length"
|
||||
>
|
||||
<slot>
|
||||
<p class="uppercase text-lg text-white font-semibold">
|
||||
{{ t`Save` }}
|
||||
</p>
|
||||
</slot>
|
||||
</Button>
|
||||
</div>
|
||||
<div class="w-full">
|
||||
<Button
|
||||
class="w-full bg-red-500 dark:bg-red-700 py-6"
|
||||
:disabled="!sinvDoc.items?.length"
|
||||
@ -357,6 +374,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
|
Loading…
Reference in New Issue
Block a user