payment
This commit is contained in:
@@ -13,6 +13,7 @@ class OrderTitle extends StatelessWidget {
|
||||
final DateTime endDate;
|
||||
final Function(String) onChanged;
|
||||
final void Function(DateTime? start, DateTime? end) onDateRangeChanged;
|
||||
final int totalOrder;
|
||||
const OrderTitle({
|
||||
super.key,
|
||||
required this.title,
|
||||
@@ -20,6 +21,7 @@ class OrderTitle extends StatelessWidget {
|
||||
required this.endDate,
|
||||
required this.onChanged,
|
||||
required this.onDateRangeChanged,
|
||||
required this.totalOrder,
|
||||
});
|
||||
|
||||
@override
|
||||
@@ -46,7 +48,7 @@ class OrderTitle extends StatelessWidget {
|
||||
style: AppStyle.md.copyWith(fontWeight: FontWeight.w600),
|
||||
),
|
||||
Text(
|
||||
'0 Pesanan',
|
||||
'$totalOrder Pesanan',
|
||||
style: AppStyle.md.copyWith(fontWeight: FontWeight.w600),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user