connect api to stock page for get, patch and delete
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<div class="flex mt-2">
|
||||
@if (hasSelection) {
|
||||
<app-modal-button type="default" name="Créer un bon de commande" class="ml-4">
|
||||
<app-purchase-order-form></app-purchase-order-form>
|
||||
<app-modal-button #modalButton type="default" name="Créer un bon de commande" class="ml-4">
|
||||
<app-purchase-order-form #purchaseOrderForm></app-purchase-order-form>
|
||||
</app-modal-button>
|
||||
|
||||
<app-modal-button type="default" name="Créer un devis" class="ml-4">
|
||||
<app-quotation-form></app-quotation-form>
|
||||
<app-modal-button #modalButton type="default" name="Créer un devis" class="ml-4" (click)="test()">
|
||||
<app-quotation-form #quotationForm></app-quotation-form>
|
||||
</app-modal-button>
|
||||
}
|
||||
|
||||
@@ -15,7 +15,5 @@
|
||||
</div>
|
||||
|
||||
<div class="mt-1">
|
||||
<app-stock-table
|
||||
(selectionChange)="onSelectionChange($event)"
|
||||
></app-stock-table>
|
||||
<app-stock-table #stockTable (selectionChange)="onSelectionChange($event)"></app-stock-table>
|
||||
</div>
|
||||
Reference in New Issue
Block a user