Added checkbox in stock page
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<div class="flex mt-2">
|
||||
@if (hasSelection) {
|
||||
@if (productIds.length) {
|
||||
<app-modal-button #modalButtonPurchaseOrder
|
||||
(click)="openPurchaseOrderForm()"
|
||||
(ok)="onModalOk()"
|
||||
(cancel)="onModalCancel()"
|
||||
(ok)="onModalPurchaseOrderOk()"
|
||||
(cancel)="onModalPurchaseOrderCancel()"
|
||||
type="default"
|
||||
name="Créer un bon de commande"
|
||||
size="35%"
|
||||
@@ -21,9 +21,22 @@
|
||||
(cancel)="onModalQuotationCancel()">
|
||||
<app-create-quotation-form #quotationForm></app-create-quotation-form>
|
||||
</app-modal-button>
|
||||
|
||||
<app-modal-button #modalButtonSupplier
|
||||
type="default"
|
||||
name="Associer à un fournisseur"
|
||||
size="35%"
|
||||
class="ml-4"
|
||||
(click)="openSupplierForm()"
|
||||
(ok)="onModalSupplierOk()"
|
||||
(cancel)="onModalSupplierCancel()">
|
||||
<app-add-product-supplier-form #supplierForm></app-add-product-supplier-form>
|
||||
</app-modal-button>
|
||||
}
|
||||
</div>
|
||||
|
||||
<div class="mt-4">
|
||||
<app-stock-table #stockTable (selectionChange)="onSelectionChange($event)"></app-stock-table>
|
||||
<app-stock-table (selectionChange)="productIds = $event"
|
||||
(productsTables)="products.set($event)">
|
||||
</app-stock-table>
|
||||
</div>
|
||||
Reference in New Issue
Block a user