Merged PR 2055: feature(ui-label, ahf, warenausgabe, customer-orders): Added and Updated Labe...

feature(ui-label, ahf, warenausgabe, customer-orders): Added and Updated Label Library and Label to the Views, Updated Positioning

Ref: #5479
This commit is contained in:
Nino Righi
2025-11-28 12:37:11 +00:00
committed by Lorenz Hilpert
parent a5bb8b2895
commit 41630d5d7c
47 changed files with 1830 additions and 1549 deletions

View File

@@ -38,7 +38,7 @@
class="w-fit"
[class.row-start-second]="desktopBreakpoint()"
>
<ui-label [type]="Labeltype.Notice">{{ impediment() }}</ui-label>
<ui-notice>{{ impediment() }}</ui-notice>
</ui-item-row-data>
}

View File

@@ -28,7 +28,7 @@ import { Breakpoint, breakpoint } from '@isa/ui/layout';
import { injectRemissionListType } from '../injects/inject-remission-list-type';
import { RemissionListItemSelectComponent } from './remission-list-item-select.component';
import { RemissionListItemActionsComponent } from './remission-list-item-actions.component';
import { LabelComponent, Labeltype } from '@isa/ui/label';
import { NoticeComponent } from '@isa/ui/notice';
/**
* Component representing a single item in the remission list.
@@ -58,16 +58,10 @@ import { LabelComponent, Labeltype } from '@isa/ui/label';
ItemRowDataImports,
RemissionListItemSelectComponent,
RemissionListItemActionsComponent,
LabelComponent,
NoticeComponent,
],
})
export class RemissionListItemComponent implements OnDestroy {
/**
* Type of label to display for the item.
* Defaults to 'tag', can be changed to 'notice' or other types as needed.
*/
Labeltype = Labeltype;
/**
* Store for managing selected remission quantities.
* @private
@@ -155,6 +149,7 @@ export class RemissionListItemComponent implements OnDestroy {
* Uses the store's selected quantity for the item's ID.
*/
selectedStockToRemit = computed(
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
() => this.#store.selectedQuantity()?.[this.item().id!],
);