report dashboard

This commit is contained in:
efrilm
2025-11-03 16:24:11 +07:00
parent 069c2296de
commit b4a9cf31fc
30 changed files with 5779 additions and 5 deletions
@@ -62,4 +62,12 @@ extension DateTimeExt on DateTime {
return '$day $month $year, $hour:$minute:$second';
}
String toServerDate() {
return DateFormat('dd-MM-yyyy').format(this);
}
String toSimpleMonthDate() {
return DateFormat('dd MMM yyyy').format(this);
}
}
+1
View File
@@ -8,4 +8,5 @@ class ApiPath {
static const String paymentMethods = '/api/v1/payment-methods';
static const String orders = '/api/v1/orders';
static const String payments = '/api/v1/payments';
static const String analyticDashboard = '/api/v1/analytics/dashboard';
}