2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-15 03:35:28 +00:00

Start date (#631)
Some checks failed
Android / build (push) Has been cancelled
CI / test (push) Has been cancelled
iOS / build (push) Has been cancelled

* Support "start_date" for PurchaseOrder and SalesOrder

* Update release notes

* Add form fields
This commit is contained in:
Oliver
2025-04-15 15:45:09 +10:00
committed by GitHub
parent 5ec86c4ade
commit 25d7ac9189
8 changed files with 55 additions and 18 deletions

View File

@ -431,6 +431,14 @@ class _PurchaseOrderDetailState extends RefreshableState<PurchaseOrderDetailWidg
));
}
if (widget.order.startDate.isNotEmpty) {
tiles.add(ListTile(
title: Text(L10().startDate),
trailing: Text(widget.order.startDate),
leading: Icon(TablerIcons.calendar),
));
}
if (widget.order.targetDate.isNotEmpty) {
tiles.add(ListTile(
title: Text(L10().targetDate),

View File

@ -385,6 +385,14 @@ class _SalesOrderDetailState extends RefreshableState<SalesOrderDetailWidget> {
// TODO: total price
if (widget.order.startDate.isNotEmpty) {
tiles.add(ListTile(
title: Text(L10().startDate),
trailing: Text(widget.order.startDate),
leading: Icon(TablerIcons.calendar),
));
}
if (widget.order.targetDate.isNotEmpty) {
tiles.add(ListTile(
title: Text(L10().targetDate),