deleted notifs components

This commit is contained in:
2026-05-25 10:40:08 +01:00
parent cb4686765b
commit b03196ce0f
144 changed files with 3346 additions and 2057 deletions
+4 -5
View File
@@ -8,15 +8,15 @@ import {NzNotificationService} from "ng-zorro-antd/notification";
import {firstValueFrom} from "rxjs";
@Component({
selector: 'app-deliverer',
selector: 'app-deliverer',
imports: [
ModalButton,
DelivererTable,
DelivererForm,
Search
],
templateUrl: './deliverer.html',
styleUrl: './deliverer.css',
templateUrl: './deliverer.html',
styleUrl: './deliverer.css',
})
export class Deliverer {
modal = viewChild.required<ModalButton>('modalButton');
@@ -37,8 +37,7 @@ export class Deliverer {
}
async addDeliverer() {
if (this.createDeliverer().delivererForm.invalid)
{
if (this.createDeliverer().delivererForm.invalid) {
this.notificationService.error(
'Erreur',
'Erreur d\'écriture dans le formulaire'
+4 -4
View File
@@ -1,17 +1,17 @@
import { Component } from '@angular/core';
import {Component} from '@angular/core';
import {DelivereryNoteTable} from "../../components/deliverery-note-table/deliverery-note-table";
import {ModalButton} from "../../components/modal-button/modal-button";
import {DelivereryNoteForm} from "../../components/deliverery-note-form/deliverery-note-form";
import {Search} from "../../components/search/search";
@Component({
selector: 'app-delivery-note',
selector: 'app-delivery-note',
imports: [
DelivereryNoteTable,
Search
],
templateUrl: './delivery-note.html',
styleUrl: './delivery-note.css',
templateUrl: './delivery-note.html',
styleUrl: './delivery-note.css',
})
export class DeliveryNote {
@@ -1,15 +1,15 @@
import { Component } from '@angular/core';
import {Component} from '@angular/core';
import {Search} from "../../components/search/search";
import {PurchaseOrderTable} from "../../components/purchase-order-table/purchase-order-table";
@Component({
selector: 'app-purchase-order',
selector: 'app-purchase-order',
imports: [
Search,
PurchaseOrderTable,
],
templateUrl: './purchase-order.html',
styleUrl: './purchase-order.css',
templateUrl: './purchase-order.html',
styleUrl: './purchase-order.css',
})
export class PurchaseOrder {
+4 -4
View File
@@ -1,15 +1,15 @@
import { Component } from '@angular/core';
import {Component} from '@angular/core';
import {Search} from "../../components/search/search";
import {QuotationTable} from "../../components/quotation-table/quotation-table";
@Component({
selector: 'app-quotation',
selector: 'app-quotation',
imports: [
Search,
QuotationTable
],
templateUrl: './quotation.html',
styleUrl: './quotation.css',
templateUrl: './quotation.html',
styleUrl: './quotation.css',
})
export class Quotation {
+3 -3
View File
@@ -10,7 +10,7 @@ import {CreatePurchaseorderForm} from "../../components/create-purchaseorder-for
import {CreateQuotationForm} from "../../components/create-quotation-form/create-quotation-form";
@Component({
selector: 'app-stock',
selector: 'app-stock',
imports: [
StockTable,
Search,
@@ -18,8 +18,8 @@ import {CreateQuotationForm} from "../../components/create-quotation-form/create
CreatePurchaseorderForm,
CreateQuotationForm,
],
templateUrl: './stock.html',
styleUrl: './stock.css',
templateUrl: './stock.html',
styleUrl: './stock.css',
})
export class Stock {
+4 -5
View File
@@ -8,15 +8,15 @@ import {NzNotificationService} from "ng-zorro-antd/notification";
import {firstValueFrom} from "rxjs";
@Component({
selector: 'app-supplier',
selector: 'app-supplier',
imports: [
Search,
SupplierForm,
SupplierTable,
ModalButton
],
templateUrl: './supplier.html',
styleUrl: './supplier.css',
templateUrl: './supplier.html',
styleUrl: './supplier.css',
})
export class Supplier {
modal = viewChild.required<ModalButton>('modalButton');
@@ -41,8 +41,7 @@ export class Supplier {
}
async addSupplier() {
if (this.createSupplier().supplierForm.invalid)
{
if (this.createSupplier().supplierForm.invalid) {
this.notificationService.error(
'Erreur',
'Erreur d\'écriture dans le formulaire'
+4 -5
View File
@@ -8,15 +8,15 @@ import {NzNotificationService} from "ng-zorro-antd/notification";
import {firstValueFrom} from "rxjs";
@Component({
selector: 'app-user',
selector: 'app-user',
imports: [
UserTable,
ModalButton,
ProfilForm,
Search
],
templateUrl: './user.html',
styleUrl: './user.css',
templateUrl: './user.html',
styleUrl: './user.css',
})
export class User {
modal = viewChild.required<ModalButton>('modalButton');
@@ -37,8 +37,7 @@ export class User {
}
async addUser() {
if (this.createUser().profilForm.invalid)
{
if (this.createUser().profilForm.invalid) {
this.notificationService.error(
'Erreur',
'Erreur d\'écriture dans le formulaire'
+4 -2
View File
@@ -1,8 +1,10 @@
<div class="flex gap-17 ml-20">
<app-info-card color="#f59e0b" icon="inbox" value="15" description="Produits sous le seuil minimal."></app-info-card>
<app-info-card color="#f59e0b" icon="inbox" value="15"
description="Produits sous le seuil minimal."></app-info-card>
<app-info-card color="#3b82f6" icon="team" value="56" description="Partenaires actifs."></app-info-card>
<app-info-card color="#10b981" icon="truck" value="8" description="Livreurs partenaires."></app-info-card>
<app-info-card color="#ef4444" icon="shop" value="48" description="Fournisseurs travaillant avec nous."></app-info-card>
<app-info-card color="#ef4444" icon="shop" value="48"
description="Fournisseurs travaillant avec nous."></app-info-card>
</div>
<div class="mt-10 flex gap-30">
+3 -3
View File
@@ -1,6 +1,6 @@
import { Routes } from '@angular/router';
import { Welcome } from './welcome';
import {Routes} from '@angular/router';
import {Welcome} from './welcome';
export const WELCOME_ROUTES: Routes = [
{ path: '', component: Welcome },
{path: '', component: Welcome},
];
+4 -4
View File
@@ -1,17 +1,17 @@
import { Component } from '@angular/core';
import {Component} from '@angular/core';
import {InfoCard} from "../../components/info-card/info-card";
import {DeliveryValidator} from "../../components/delivery-validator/delivery-validator";
import {InfoTable} from "../../components/info-table/info-table";
@Component({
selector: 'app-welcome',
selector: 'app-welcome',
imports: [
InfoCard,
DeliveryValidator,
InfoTable,
],
templateUrl: './welcome.html',
styleUrl: './welcome.css'
templateUrl: './welcome.html',
styleUrl: './welcome.css'
})
export class Welcome {