From 7636f95bb17fef51c6efb98155d681710436d7c7 Mon Sep 17 00:00:00 2001 From: SnehaRH Date: Thu, 7 Aug 2025 16:48:40 +0530 Subject: [PATCH 1/2] fix: amm-636 short expiry report --- .../short-expiry-report.component.ts | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/app/app-modules/inventory/reports/short-expiry-report/short-expiry-report.component.ts b/src/app/app-modules/inventory/reports/short-expiry-report/short-expiry-report.component.ts index b7fb41e..45bd914 100644 --- a/src/app/app-modules/inventory/reports/short-expiry-report/short-expiry-report.component.ts +++ b/src/app/app-modules/inventory/reports/short-expiry-report/short-expiry-report.component.ts @@ -28,6 +28,7 @@ import { InventoryService } from '../../shared/service/inventory.service'; import { ConfirmationService } from '../../../core/services/confirmation.service'; import { SetLanguageComponent } from 'src/app/app-modules/core/components/set-language.component'; import { LanguageService } from 'src/app/app-modules/core/services/language.service'; +import { SessionStorageService } from 'Common-UI/src/registrar/services/session-storage.service'; @Component({ selector: 'app-short-expiry-report', @@ -45,6 +46,7 @@ export class ShortExpiryReportComponent implements OnInit, DoCheck { private inventoryService: InventoryService, private http_service: LanguageService, private confirmationService: ConfirmationService, + private sessionstorage: SessionStorageService ) {} today!: Date; @@ -82,15 +84,9 @@ export class ShortExpiryReportComponent implements OnInit, DoCheck { startDate.setSeconds(0); startDate.setMilliseconds(0); - console.log( - 'Data form value...', - JSON.stringify(this.shortExpiryForm.value), - ); - const reqObjForShortExpiryReport = {}; - console.log( - 'Data form data', - JSON.stringify(reqObjForShortExpiryReport, null, 4), - ); + const reqObjForShortExpiryReport = { + facilityID: this.sessionstorage.getItem('facilityID') + }; this.inventoryService .getShortExpiryReports(reqObjForShortExpiryReport) From 514c3a2b93cd22fbd2bf49162428bcb485e6dd40 Mon Sep 17 00:00:00 2001 From: SnehaRH Date: Thu, 29 Jan 2026 16:01:26 +0530 Subject: [PATCH 2/2] fix: amm-1967 floating label getting blur --- .../physical-stock-entry.component.css | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/app/app-modules/inventory/physical-stock-entry/physical-stock-entry.component.css b/src/app/app-modules/inventory/physical-stock-entry/physical-stock-entry.component.css index 8fe7b28..7217cc9 100644 --- a/src/app/app-modules/inventory/physical-stock-entry/physical-stock-entry.component.css +++ b/src/app/app-modules/inventory/physical-stock-entry/physical-stock-entry.component.css @@ -54,7 +54,29 @@ .mat_form_field_background_color_table >>> .mdc-text-field--filled, .mdc-text-field--focused { /* background-color: #f9f9f9 !important; */ background-color:unset !important; +} + + /* floating label (NO blur) */ +.mat_form_field_background_color_table >>> +.mdc-text-field--filled.mdc-text-field--focused { + background-color: unset !important; +} +.mat_form_field_background_color_table >>> +.mdc-floating-label { + transform-origin: left top !important; + -webkit-font-smoothing: antialiased; + text-rendering: optimizeLegibility; } + +/* Float ABOVE without scaling */ +.mat_form_field_background_color_table >>> +.mdc-floating-label--float-above { + transform: translateY(-22px) !important; + font-size: 12px !important; + line-height: 14px; + opacity: 1 !important; +} + .mat_form_field_background_color_table >>> .mdc-text-field{ padding: unset !important; }