Skip to content

Commit

Permalink
fix: resolved linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AbleKSaju committed Dec 23, 2024
1 parent 9cbc77f commit 2daf2b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion models/inventory/Point of Sale/POSSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export class POSSettings extends Doc {
cashAccount?: string;
writeOffAccount?: string;
posUI?: 'Classic' | 'Modern';
submitInvoice?:string;
submitInvoice?: string;

static filters: FiltersMap = {
cashAccount: () => ({
Expand Down
4 changes: 2 additions & 2 deletions src/pages/POS/PaymentModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
</slot>
</Button>
</div>
<div class="col-span-1" v-if="fyo.singles.POSSettings?.submitInvoice">
<div v-if="fyo.singles.POSSettings?.submitInvoice" class="col-span-1">
<Button
class="w-full bg-blue-500 dark:bg-blue-700"
style="padding: 1.35rem"
Expand All @@ -181,7 +181,7 @@
</Button>
</div>

<div class="col-span-1" v-if="fyo.singles.POSSettings?.submitInvoice">
<div v-if="fyo.singles.POSSettings?.submitInvoice" class="col-span-1">
<Button
class="w-full bg-green-500 dark:bg-green-700"
style="padding: 1.35rem"
Expand Down

0 comments on commit 2daf2b7

Please sign in to comment.