mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Start date (#631)
* Support "start_date" for PurchaseOrder and SalesOrder * Update release notes * Add form fields
This commit is contained in:
parent
5ec86c4ade
commit
25d7ac9189
8 changed files with 55 additions and 18 deletions
|
|
@ -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),
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue