Skip to content

Commit

Permalink
Fix:Alignment issue in mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanjusha-tridz committed Jan 29, 2024
2 parents 62d8e89 + 4c7364d commit df583a9
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 13 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ury_pos/public/urypos/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<link rel="icon" type="image/svg+xml" href="/assets/ury_pos/urypos/URY.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>URY POS</title>
<script type="module" crossorigin src="/assets/ury_pos/urypos/assets/index-172c99e4.js"></script>
<link rel="stylesheet" href="/assets/ury_pos/urypos/assets/index-3bf65572.css">
<script type="module" crossorigin src="/assets/ury_pos/urypos/assets/index-35887a20.js"></script>
<link rel="stylesheet" href="/assets/ury_pos/urypos/assets/index-5d9b01d5.css">
</head>
<body>
<div id="app"></div>
Expand Down
4 changes: 2 additions & 2 deletions ury_pos/www/urypos.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<link rel="icon" type="image/svg+xml" href="/assets/ury_pos/urypos/URY.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>URY POS</title>
<script type="module" crossorigin src="/assets/ury_pos/urypos/assets/index-172c99e4.js"></script>
<link rel="stylesheet" href="/assets/ury_pos/urypos/assets/index-3bf65572.css">
<script type="module" crossorigin src="/assets/ury_pos/urypos/assets/index-35887a20.js"></script>
<link rel="stylesheet" href="/assets/ury_pos/urypos/assets/index-5d9b01d5.css">
</head>
<body>
<div id="app"></div>
Expand Down
2 changes: 1 addition & 1 deletion urypos/src/components/Cart.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="flex">
<div class="flex mt-5">
<div class="flex-grow">
<orderInfo />
</div>
Expand Down
2 changes: 1 addition & 1 deletion urypos/src/components/Customer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<orderInfo />
<div class="container m-auto">
<div class="mb-6 gap-6 md:grid-cols-2">
<div class="relative mt-2" ref="container">
<div class="relative mt-5 lg:mt-2" ref="container">
<div
class="pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3"
>
Expand Down
2 changes: 1 addition & 1 deletion urypos/src/components/Search.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<!-- Search & Filters -->
<div class="flex flex-col md:flex-row mt-2">
<div class="flex flex-col md:flex-row mt-5 lg:mt-2">
<div
class="relative"
:class="[
Expand Down
8 changes: 6 additions & 2 deletions urypos/src/stores/invoiceData.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,11 @@ export const useInvoiceDataStore = defineStore("invoiceData", {
const numberOfPax = customers.numberOfPax;
let invoice =
this.recentOrders.draftInvoice || this.table.invoiceNo || null;
let lastInvoice=this.invoiceNumber || this.recentOrders.draftInvoice || this.table.invoiceNo || null
let lastInvoice =
this.invoiceNumber ||
this.recentOrders.draftInvoice ||
this.table.invoiceNo ||
null;

selectedTables =
this.table.selectedTable || this.recentOrders.restaurantTable;
Expand All @@ -123,7 +127,7 @@ export const useInvoiceDataStore = defineStore("invoiceData", {
pos_profile: this.posProfile,
invoice: invoice,
last_invoice: lastInvoice,
comments:this.menu.comments
comments: this.menu.comments,
};
if (!this.auth.cashier && !numberOfPax) {
this.alert.createAlert(
Expand Down

0 comments on commit df583a9

Please sign in to comment.