report dashboard
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user