From 01b0cbfadfc1d19cf3fc64b28bc53475c9eb2609 Mon Sep 17 00:00:00 2001 From: Amritanshu Date: Fri, 11 Jul 2025 11:44:28 +0000 Subject: [PATCH] Removed Unnecessary Flex class --- bookie/src/app/app.component.html | 2 +- bookie/src/app/app.config.ts | 3 +- .../src/app/auth/login/login.component.html | 2 +- .../beer-sale-report.component.html | 2 +- .../bill-settlement-report.component.html | 2 +- .../cashier-report.component.html | 2 +- .../customer-detail.component.html | 10 +-- .../customer-list.component.html | 4 +- .../device-detail.component.html | 8 +-- .../discount-report.component.html | 2 +- .../guest-book-detail.component.html | 2 +- .../guest-book-list.component.html | 2 +- .../header-footer.component.html | 2 +- bookie/src/app/home/home.component.html | 64 +++++++++---------- .../menu-category-detail.component.html | 2 +- .../menu-engineering-report.component.html | 2 +- .../modifier-category-detail.component.html | 2 +- .../modifier-detail.component.html | 2 +- .../modifier-list.component.html | 4 +- .../printer-detail.component.html | 2 +- .../product-sale-report.component.html | 2 +- .../product-updates-report.component.html | 2 +- .../product-detail.component.html | 6 +- .../product-list/product-list.component.html | 6 +- .../regime-detail.component.html | 2 +- .../role-detail/role-detail.component.html | 2 +- .../sale-category-detail.component.html | 2 +- .../sale-report/sale-report.component.html | 2 +- .../sales/bill-type/bill-type.component.html | 6 +- .../choose-customer.component.html | 2 +- .../sales/discount/discount.component.html | 2 +- .../app/sales/home/sales-home.component.html | 18 +++--- .../menu-categories.component.html | 4 +- .../sales/modifiers/modifiers.component.html | 2 +- .../sales/products/products.component.html | 4 +- .../receive-payment.component.html | 2 +- .../running-tables.component.html | 4 +- .../split-bill/split-bill.component.html | 2 +- .../tables-dialog.component.html | 2 +- .../section-printer.component.html | 2 +- .../section-detail.component.html | 2 +- .../src/app/settings/settings.component.html | 2 +- .../settle-option-detail.component.html | 2 +- .../table-detail/table-detail.component.html | 2 +- .../app/tax-report/tax-report.component.html | 2 +- .../tax-detail/tax-detail.component.html | 2 +- .../temporal-product-detail.component.html | 2 +- .../temporal-product-list.component.html | 2 +- .../update-product-prices.component.html | 2 +- .../user-detail/user-detail.component.html | 2 +- deploy.sh | 8 +-- 51 files changed, 111 insertions(+), 112 deletions(-) diff --git a/bookie/src/app/app.component.html b/bookie/src/app/app.component.html index 758d87e2..5db390d0 100644 --- a/bookie/src/app/app.component.html +++ b/bookie/src/app/app.component.html @@ -1,4 +1,4 @@ -
+
diff --git a/bookie/src/app/app.config.ts b/bookie/src/app/app.config.ts index 65fd87ad..f1f3f330 100644 --- a/bookie/src/app/app.config.ts +++ b/bookie/src/app/app.config.ts @@ -4,7 +4,6 @@ import { ApplicationConfig, LOCALE_ID, importProvidersFrom, provideZonelessChang import { ReactiveFormsModule } from '@angular/forms'; import { MomentDateAdapter } from '@angular/material-moment-adapter'; import { MatButtonModule } from '@angular/material/button'; -import { MatCardModule } from '@angular/material/card'; import { DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE } from '@angular/material/core'; import { MatDialogModule } from '@angular/material/dialog'; import { MatDividerModule } from '@angular/material/divider'; @@ -34,7 +33,7 @@ export const appConfig: ApplicationConfig = { importProvidersFrom( BrowserModule, MatButtonModule, - MatCardModule, + MatDialogModule, MatDividerModule, MatFormFieldModule, diff --git a/bookie/src/app/auth/login/login.component.html b/bookie/src/app/auth/login/login.component.html index 7aa39ae5..14a58682 100644 --- a/bookie/src/app/auth/login/login.component.html +++ b/bookie/src/app/auth/login/login.component.html @@ -1,5 +1,5 @@

Login

-
+
Username diff --git a/bookie/src/app/beer-sale-report/beer-sale-report.component.html b/bookie/src/app/beer-sale-report/beer-sale-report.component.html index 2bbf9cb1..6b5d8969 100644 --- a/bookie/src/app/beer-sale-report/beer-sale-report.component.html +++ b/bookie/src/app/beer-sale-report/beer-sale-report.component.html @@ -5,7 +5,7 @@ - +
Start Date diff --git a/bookie/src/app/bill-settlement-report/bill-settlement-report.component.html b/bookie/src/app/bill-settlement-report/bill-settlement-report.component.html index fead5c90..838bc0d5 100644 --- a/bookie/src/app/bill-settlement-report/bill-settlement-report.component.html +++ b/bookie/src/app/bill-settlement-report/bill-settlement-report.component.html @@ -5,7 +5,7 @@ - +
Start Date diff --git a/bookie/src/app/cashier-report/cashier-report.component.html b/bookie/src/app/cashier-report/cashier-report.component.html index 84d7288b..4617a8d1 100644 --- a/bookie/src/app/cashier-report/cashier-report.component.html +++ b/bookie/src/app/cashier-report/cashier-report.component.html @@ -9,7 +9,7 @@ - +
Start Date diff --git a/bookie/src/app/customers/customer-detail/customer-detail.component.html b/bookie/src/app/customers/customer-detail/customer-detail.component.html index 923de991..e1d6fb2c 100644 --- a/bookie/src/app/customers/customer-detail/customer-detail.component.html +++ b/bookie/src/app/customers/customer-detail/customer-detail.component.html @@ -1,24 +1,24 @@

Customer

- -
+ +
Name
-
+
Phone
-
+
Address
-
+
Print in Bill?
diff --git a/bookie/src/app/customers/customer-list/customer-list.component.html b/bookie/src/app/customers/customer-list/customer-list.component.html index 75573cb1..b37ac040 100644 --- a/bookie/src/app/customers/customer-list/customer-list.component.html +++ b/bookie/src/app/customers/customer-list/customer-list.component.html @@ -5,8 +5,8 @@ Add - -
+ +
Filter diff --git a/bookie/src/app/devices/device-detail/device-detail.component.html b/bookie/src/app/devices/device-detail/device-detail.component.html index cde5da3b..2ddadab2 100644 --- a/bookie/src/app/devices/device-detail/device-detail.component.html +++ b/bookie/src/app/devices/device-detail/device-detail.component.html @@ -1,12 +1,12 @@

Device

- -
+ +
Name
-
+
Section @@ -18,7 +18,7 @@
-
+
Enabled?
diff --git a/bookie/src/app/discount-report/discount-report.component.html b/bookie/src/app/discount-report/discount-report.component.html index a7b757a6..8447dbbd 100644 --- a/bookie/src/app/discount-report/discount-report.component.html +++ b/bookie/src/app/discount-report/discount-report.component.html @@ -9,7 +9,7 @@ -
+
Start Date diff --git a/bookie/src/app/guest-book/guest-book-detail/guest-book-detail.component.html b/bookie/src/app/guest-book/guest-book-detail/guest-book-detail.component.html index c936cf1f..872d5448 100644 --- a/bookie/src/app/guest-book/guest-book-detail/guest-book-detail.component.html +++ b/bookie/src/app/guest-book/guest-book-detail/guest-book-detail.component.html @@ -1,5 +1,5 @@

Guest Details

- +
Name diff --git a/bookie/src/app/guest-book/guest-book-list/guest-book-list.component.html b/bookie/src/app/guest-book/guest-book-list/guest-book-list.component.html index 20952f7c..456f83d4 100644 --- a/bookie/src/app/guest-book/guest-book-list/guest-book-list.component.html +++ b/bookie/src/app/guest-book/guest-book-list/guest-book-list.component.html @@ -10,7 +10,7 @@ - +
Date diff --git a/bookie/src/app/header-footer/header-footer.component.html b/bookie/src/app/header-footer/header-footer.component.html index c8cad35e..d2d66eaa 100644 --- a/bookie/src/app/header-footer/header-footer.component.html +++ b/bookie/src/app/header-footer/header-footer.component.html @@ -1,4 +1,4 @@ - +
Header / Footer diff --git a/bookie/src/app/home/home.component.html b/bookie/src/app/home/home.component.html index 1bf674d4..73c49ffc 100644 --- a/bookie/src/app/home/home.component.html +++ b/bookie/src/app/home/home.component.html @@ -3,17 +3,17 @@

Sales

} @if (auth.allowed('customers')) { - +

Guest Book

} @if (auth.allowed('sales')) { - +

Sales

} @if (auth.allowed('customers')) { - +

Customers

} @@ -29,42 +29,42 @@

Reports

} @if (auth.allowed('cashier-report')) { - +

Cashier Report

} @if (auth.allowed('sale-report')) { - +

Sale Report

} @if (auth.allowed('tax-report')) { - +

Tax Report

} @if (auth.allowed('product-sale-report')) { - +

Product Sale Report

} @if (auth.allowed('bill-settlement-report')) { - +

Bill Settlement Report

} @if (auth.allowed('beer-sale-report')) { - +

Beer Sale Report

} @if (auth.allowed('discount-report')) { - +

Discount Report

} @if (auth.allowed('product-sale-report')) { - +

Menu Engineering Report

} @@ -72,32 +72,32 @@

Products

} @if (auth.allowed('products')) { - +

Products

} @if (auth.allowed('temporal-products')) { - +

Temporal Products

} @if (auth.allowed('products')) { - +

Update Product Prices

} @if (auth.allowed('products')) { - +

Product Updates Report

} @if (auth.allowed('modifiers')) { - +

Modifiers

} @if (auth.allowed('modifiers')) { - +

Modifier Categories

} @@ -113,47 +113,47 @@

Masters

} @if (auth.allowed('sections')) { - +

Tables

} @if (auth.allowed('sections')) { - +

Sections

} @if (auth.allowed('products')) { - +

Menu Categories

} @if (auth.allowed('products')) { - +

Sale Categories

} @if (auth.allowed('taxes')) { - +

Taxes

} @if (auth.allowed('regimes')) { - +

Regimes

} @if (auth.allowed('devices')) { - +

Devices

} @if (auth.allowed('section-printers')) { - +

Section Printers

} @if (auth.allowed('printers')) { - +

Printers

} @@ -161,32 +161,32 @@

Users

} @if (auth.allowed('users')) { - +

Roles

} @if (auth.allowed('users')) { - +

Users

} @if (auth.allowed('authenticated')) { - +

Change Password

} @if (auth.allowed('owner')) { - +

Header / Footer

} @if (auth.allowed('owner')) { - +

Settle Options

} @if (auth.allowed('settings')) { - +

Settings

} diff --git a/bookie/src/app/menu-category/menu-category-detail/menu-category-detail.component.html b/bookie/src/app/menu-category/menu-category-detail/menu-category-detail.component.html index 835d2ed1..731b01f2 100644 --- a/bookie/src/app/menu-category/menu-category-detail/menu-category-detail.component.html +++ b/bookie/src/app/menu-category/menu-category-detail/menu-category-detail.component.html @@ -1,5 +1,5 @@

Menu Category

- +
Name diff --git a/bookie/src/app/menu-engineering-report/menu-engineering-report.component.html b/bookie/src/app/menu-engineering-report/menu-engineering-report.component.html index 97801adb..d3725078 100644 --- a/bookie/src/app/menu-engineering-report/menu-engineering-report.component.html +++ b/bookie/src/app/menu-engineering-report/menu-engineering-report.component.html @@ -9,7 +9,7 @@ - +
Start Date diff --git a/bookie/src/app/modifier-categories/modifier-category-detail/modifier-category-detail.component.html b/bookie/src/app/modifier-categories/modifier-category-detail/modifier-category-detail.component.html index ce951501..96285419 100644 --- a/bookie/src/app/modifier-categories/modifier-category-detail/modifier-category-detail.component.html +++ b/bookie/src/app/modifier-categories/modifier-category-detail/modifier-category-detail.component.html @@ -1,5 +1,5 @@

Modifier Category

- +
Name diff --git a/bookie/src/app/modifiers/modifier-detail/modifier-detail.component.html b/bookie/src/app/modifiers/modifier-detail/modifier-detail.component.html index 6c992437..b4a5979a 100644 --- a/bookie/src/app/modifiers/modifier-detail/modifier-detail.component.html +++ b/bookie/src/app/modifiers/modifier-detail/modifier-detail.component.html @@ -1,5 +1,5 @@

Modifier

- +
Name diff --git a/bookie/src/app/modifiers/modifier-list/modifier-list.component.html b/bookie/src/app/modifiers/modifier-list/modifier-list.component.html index d1de7759..62fce671 100644 --- a/bookie/src/app/modifiers/modifier-list/modifier-list.component.html +++ b/bookie/src/app/modifiers/modifier-list/modifier-list.component.html @@ -5,7 +5,7 @@ Add - +
Modifier Category @@ -34,7 +34,7 @@ Show In Bill
-
+
{{ row.showInBill ? 'visibility' : 'visibility_off' }} diff --git a/bookie/src/app/printers/printer-detail/printer-detail.component.html b/bookie/src/app/printers/printer-detail/printer-detail.component.html index aa02d0b1..208cd71e 100644 --- a/bookie/src/app/printers/printer-detail/printer-detail.component.html +++ b/bookie/src/app/printers/printer-detail/printer-detail.component.html @@ -1,5 +1,5 @@

Printer

- +
Name diff --git a/bookie/src/app/product-sale-report/product-sale-report.component.html b/bookie/src/app/product-sale-report/product-sale-report.component.html index 16a4e18b..575b3f8f 100644 --- a/bookie/src/app/product-sale-report/product-sale-report.component.html +++ b/bookie/src/app/product-sale-report/product-sale-report.component.html @@ -9,7 +9,7 @@ - +
Start Date diff --git a/bookie/src/app/product-updates-report/product-updates-report.component.html b/bookie/src/app/product-updates-report/product-updates-report.component.html index 2e9a4108..ff3aabc5 100644 --- a/bookie/src/app/product-updates-report/product-updates-report.component.html +++ b/bookie/src/app/product-updates-report/product-updates-report.component.html @@ -5,7 +5,7 @@ - +
Start Date diff --git a/bookie/src/app/product/product-detail/product-detail.component.html b/bookie/src/app/product/product-detail/product-detail.component.html index fc06f190..240bbdf0 100644 --- a/bookie/src/app/product/product-detail/product-detail.component.html +++ b/bookie/src/app/product/product-detail/product-detail.component.html @@ -1,11 +1,11 @@

Product

- +
- + Name - + Units diff --git a/bookie/src/app/product/product-list/product-list.component.html b/bookie/src/app/product/product-list/product-list.component.html index 18119d31..10f8faf2 100644 --- a/bookie/src/app/product/product-list/product-list.component.html +++ b/bookie/src/app/product/product-list/product-list.component.html @@ -16,7 +16,7 @@ Add - +
Filter @@ -74,13 +74,13 @@ Details
-
+
{{ row.hasHappyHour ? 'sentiment_satisfied_alt' : 'sentiment_dissatisfied' }} {{ row.hasHappyHour ? 'Happy Hour' : 'Regular' }}
-
+
{{ row.isNotAvailable ? 'pause' : 'play_arrow' }} diff --git a/bookie/src/app/regimes/regime-detail/regime-detail.component.html b/bookie/src/app/regimes/regime-detail/regime-detail.component.html index 164bf91a..303efffe 100644 --- a/bookie/src/app/regimes/regime-detail/regime-detail.component.html +++ b/bookie/src/app/regimes/regime-detail/regime-detail.component.html @@ -1,5 +1,5 @@

Regime

- +
Name diff --git a/bookie/src/app/roles/role-detail/role-detail.component.html b/bookie/src/app/roles/role-detail/role-detail.component.html index 5a752b94..b7ec1b68 100644 --- a/bookie/src/app/roles/role-detail/role-detail.component.html +++ b/bookie/src/app/roles/role-detail/role-detail.component.html @@ -1,5 +1,5 @@

Role

- +
Name diff --git a/bookie/src/app/sale-category/sale-category-detail/sale-category-detail.component.html b/bookie/src/app/sale-category/sale-category-detail/sale-category-detail.component.html index 9b0730ce..ddef183f 100644 --- a/bookie/src/app/sale-category/sale-category-detail/sale-category-detail.component.html +++ b/bookie/src/app/sale-category/sale-category-detail/sale-category-detail.component.html @@ -1,5 +1,5 @@

Sale Category

- +
Name diff --git a/bookie/src/app/sale-report/sale-report.component.html b/bookie/src/app/sale-report/sale-report.component.html index 3d79ecb1..929b0e37 100644 --- a/bookie/src/app/sale-report/sale-report.component.html +++ b/bookie/src/app/sale-report/sale-report.component.html @@ -9,7 +9,7 @@ - +
Start Date diff --git a/bookie/src/app/sales/bill-type/bill-type.component.html b/bookie/src/app/sales/bill-type/bill-type.component.html index ad15b9e1..be4e2b83 100644 --- a/bookie/src/app/sales/bill-type/bill-type.component.html +++ b/bookie/src/app/sales/bill-type/bill-type.component.html @@ -2,7 +2,7 @@
Regular Staff Customer - +
Phone diff --git a/bookie/src/app/sales/discount/discount.component.html b/bookie/src/app/sales/discount/discount.component.html index 41228ff3..59200c46 100644 --- a/bookie/src/app/sales/discount/discount.component.html +++ b/bookie/src/app/sales/discount/discount.component.html @@ -1,6 +1,6 @@

Discount

- + diff --git a/bookie/src/app/sales/home/sales-home.component.html b/bookie/src/app/sales/home/sales-home.component.html index f624b4e4..953daafa 100644 --- a/bookie/src/app/sales/home/sales-home.component.html +++ b/bookie/src/app/sales/home/sales-home.component.html @@ -1,6 +1,6 @@
Add Product Discount Print KOT

Print Bill

- +

Back to Tables

Receive Payment Move Table Cancel Bill - +

Back

@for (item of list; track item) { @for (m of item.modifiers; track m.id) { @for (item of list; track item) { Receive Payment - + @for (table of list; track table) { } - +

Open Bill

diff --git a/bookie/src/app/sales/split-bill/split-bill.component.html b/bookie/src/app/sales/split-bill/split-bill.component.html index 30aa9bb8..0b0aaf7a 100644 --- a/bookie/src/app/sales/split-bill/split-bill.component.html +++ b/bookie/src/app/sales/split-bill/split-bill.component.html @@ -1,6 +1,6 @@

Select Sale Categories

- +
@for (sc of list; track sc; let i = $index) {
diff --git a/bookie/src/app/sales/tables-dialog/tables-dialog.component.html b/bookie/src/app/sales/tables-dialog/tables-dialog.component.html index bf72b788..9741c6e3 100644 --- a/bookie/src/app/sales/tables-dialog/tables-dialog.component.html +++ b/bookie/src/app/sales/tables-dialog/tables-dialog.component.html @@ -3,7 +3,7 @@
@for (table of list; track table) { +
Section diff --git a/bookie/src/app/sections/section-detail/section-detail.component.html b/bookie/src/app/sections/section-detail/section-detail.component.html index 64f0feae..43b3a7f6 100644 --- a/bookie/src/app/sections/section-detail/section-detail.component.html +++ b/bookie/src/app/sections/section-detail/section-detail.component.html @@ -1,5 +1,5 @@

Section

- +
Name diff --git a/bookie/src/app/settings/settings.component.html b/bookie/src/app/settings/settings.component.html index 36b8c3ef..4d3068d6 100644 --- a/bookie/src/app/settings/settings.component.html +++ b/bookie/src/app/settings/settings.component.html @@ -11,7 +11,7 @@ - +
Start Date diff --git a/bookie/src/app/settle-option/settle-option-detail/settle-option-detail.component.html b/bookie/src/app/settle-option/settle-option-detail/settle-option-detail.component.html index 51a1d747..4f84b677 100644 --- a/bookie/src/app/settle-option/settle-option-detail/settle-option-detail.component.html +++ b/bookie/src/app/settle-option/settle-option-detail/settle-option-detail.component.html @@ -1,5 +1,5 @@

Settle Option

- +
Name diff --git a/bookie/src/app/tables/table-detail/table-detail.component.html b/bookie/src/app/tables/table-detail/table-detail.component.html index daf342ba..cde68af1 100644 --- a/bookie/src/app/tables/table-detail/table-detail.component.html +++ b/bookie/src/app/tables/table-detail/table-detail.component.html @@ -1,5 +1,5 @@

Table

- +
Name diff --git a/bookie/src/app/tax-report/tax-report.component.html b/bookie/src/app/tax-report/tax-report.component.html index 5b577948..f76730b4 100644 --- a/bookie/src/app/tax-report/tax-report.component.html +++ b/bookie/src/app/tax-report/tax-report.component.html @@ -5,7 +5,7 @@ - +
Start Date diff --git a/bookie/src/app/taxes/tax-detail/tax-detail.component.html b/bookie/src/app/taxes/tax-detail/tax-detail.component.html index 922f8b82..792ccacb 100644 --- a/bookie/src/app/taxes/tax-detail/tax-detail.component.html +++ b/bookie/src/app/taxes/tax-detail/tax-detail.component.html @@ -1,5 +1,5 @@

Tax

- +
Name diff --git a/bookie/src/app/temporal-product/temporal-product-detail/temporal-product-detail.component.html b/bookie/src/app/temporal-product/temporal-product-detail/temporal-product-detail.component.html index 4b8f110c..04706a23 100644 --- a/bookie/src/app/temporal-product/temporal-product-detail/temporal-product-detail.component.html +++ b/bookie/src/app/temporal-product/temporal-product-detail/temporal-product-detail.component.html @@ -1,5 +1,5 @@

Product

- +
Product ID diff --git a/bookie/src/app/temporal-product/temporal-product-list/temporal-product-list.component.html b/bookie/src/app/temporal-product/temporal-product-list/temporal-product-list.component.html index b46b310d..f4b2a95f 100644 --- a/bookie/src/app/temporal-product/temporal-product-list/temporal-product-list.component.html +++ b/bookie/src/app/temporal-product/temporal-product-list/temporal-product-list.component.html @@ -1,7 +1,7 @@

Temporal Products

- +
Filter diff --git a/bookie/src/app/update-product-prices/update-product-prices.component.html b/bookie/src/app/update-product-prices/update-product-prices.component.html index b937e828..ceb4b9a5 100644 --- a/bookie/src/app/update-product-prices/update-product-prices.component.html +++ b/bookie/src/app/update-product-prices/update-product-prices.component.html @@ -5,7 +5,7 @@ - +
Date diff --git a/bookie/src/app/users/user-detail/user-detail.component.html b/bookie/src/app/users/user-detail/user-detail.component.html index 6cab6161..d3cc3f4b 100644 --- a/bookie/src/app/users/user-detail/user-detail.component.html +++ b/bookie/src/app/users/user-detail/user-detail.component.html @@ -1,5 +1,5 @@

User

- +
Name diff --git a/deploy.sh b/deploy.sh index 1c77a4aa..b80a544a 100755 --- a/deploy.sh +++ b/deploy.sh @@ -3,15 +3,15 @@ set -euo pipefail parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" || exit ; pwd -P ) cd "$parent_path" || exit -./lint.sh +#./lint.sh if [ 1 -eq "$#" ] then - ./version_bump.sh "$1" + # ./version_bump.sh "$1" make build-production TAG="$1" else - ./version_bump.sh + # ./version_bump.sh make build-production fi cd "$parent_path/ansible" || exit -ansible-playbook --inventory hosts playbook.yml +ansible-playbook --inventory=hosts playbook.yml