Skip to content

Commit 30631e1

Browse files
feat: Add quantity column to PurchaseHistoryGrid and SalesHistoryGrid components
- Introduced a new column for displaying quantity in both PurchaseHistoryGrid and SalesHistoryGrid components, enhancing the visibility of product quantities in sales history. - Updated the layout to ensure consistent presentation across both grids, improving user experience during data review.
1 parent f0a27cf commit 30631e1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/WebApps/TunNetCom.SilkRoadErp.Sales.WebApp/Components/Shared/PurchaseHistoryGrid.razor

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
@(item.Date == default || item.Date.Year < 1900 ? "XX/XX/XXXX" : item.Date.ToString("dd/MM/yyyy", CultureInfo.GetCultureInfo("fr-FR")))
3636
</Template>
3737
</RadzenDataGridColumn>
38+
<RadzenDataGridColumn Property="@nameof(ReceiptNoteDetailResponse.Quantity)" Title="Quantité" Width="90px" TextAlign="TextAlign.Right"/>
3839
<RadzenDataGridColumn Property="@nameof(ReceiptNoteDetailResponse.Description)" Title="Description" Width="200px"/>
3940
<RadzenDataGridColumn Property="@nameof(ReceiptNoteDetailResponse.UnitPriceExcludingTax)" Title="Prix unitaire (HT)" Width="150px">
4041
<Template Context="item">

src/WebApps/TunNetCom.SilkRoadErp.Sales.WebApp/Components/Shared/SalesHistoryGrid.razor

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
@(item.Date == default || item.Date.Year < 1900 ? "XX/XX/XXXX" : item.Date.ToString("dd/MM/yyyy", CultureInfo.GetCultureInfo("fr-FR")))
3636
</Template>
3737
</RadzenDataGridColumn>
38+
<RadzenDataGridColumn Property="@nameof(DeliveryNoteDetailResponse.Quantity)" Title="Quantité" Width="90px" TextAlign="TextAlign.Right"/>
3839
<RadzenDataGridColumn Property="@nameof(DeliveryNoteDetailResponse.Description)" Title="Description" Width="200px"/>
3940
<RadzenDataGridColumn Property="@nameof(DeliveryNoteDetailResponse.UnitPriceExcludingTax)" Title="Prix unitaire (HT)" Width="150px">
4041
<Template Context="item">

0 commit comments

Comments
 (0)