feat: update home ui

This commit is contained in:
Efril
2026-06-23 21:27:27 +07:00
parent e236d811ce
commit 83f4e065ed
34 changed files with 2128 additions and 1597 deletions
+42 -1
View File
@@ -455,5 +455,46 @@
"operational_expenses": "Operational Expenses",
"@operational_expenses": {},
"total_cost": "Total Cost",
"@total_cost": {}
"@total_cost": {},
"warning_title": "Warnings",
"@warning_title": {},
"warning_desc": "Activities deviating from standards — needs review.",
"@warning_desc": {},
"no_warning": "No warnings",
"@no_warning": {},
"no_warning_desc": "All activities are running normally.",
"@no_warning_desc": {},
"severity_high": "High",
"@severity_high": {},
"severity_medium": "Medium",
"@severity_medium": {},
"compared_to_previous_period": "Compared to previous period",
"@compared_to_previous_period": {},
"summary_today": "Today's Summary",
"@summary_today": {},
"summary_mtd": "MTD Summary",
"@summary_mtd": {},
"total_sales_label": "Total sales",
"@total_sales_label": {},
"total_raw_material": "Total raw material cost",
"@total_raw_material": {},
"net_profit_label": "Net profit",
"@net_profit_label": {},
"items_sold": "Items Sold",
"@items_sold": {},
"low_stock_warning": "Low Stock",
"@low_stock_warning": {},
"active_products": "Active Products",
"@active_products": {},
"today_condition": "Today's Condition",
"@today_condition": {},
"portion_sold": "{count} portions sold",
"@portion_sold": {
"placeholders": {
"count": {
"type": "int",
"example": "48"
}
}
}
}
+45 -4
View File
@@ -48,11 +48,11 @@
"@reports": {},
"profile": "Profil",
"@profile": {},
"sales_today": "Penjualan hari ini",
"sales_today": "Omset hari ini",
"@sales_today": {},
"order": "Pesanan",
"@order": {},
"sales": "Penjualan",
"sales": "Omset",
"@sales": {},
"finance": "Keuangan",
"@finance": {},
@@ -62,7 +62,7 @@
"@form": {},
"schedule": "Jadwal",
"@schedule": {},
"inventory": "Inventaris",
"inventory": "Stok",
"@inventory": {},
"customer": "Pelanggan",
"@customer": {},
@@ -455,5 +455,46 @@
"operational_expenses": "Biaya Operasional",
"@operational_expenses": {},
"total_cost": "Total Biaya",
"@total_cost": {}
"@total_cost": {},
"warning_title": "Peringatan",
"@warning_title": {},
"warning_desc": "Aktivitas yang menyimpang dari standar — perlu ditinjau.",
"@warning_desc": {},
"no_warning": "Tidak ada peringatan",
"@no_warning": {},
"no_warning_desc": "Semua aktivitas berjalan normal.",
"@no_warning_desc": {},
"severity_high": "Tinggi",
"@severity_high": {},
"severity_medium": "Sedang",
"@severity_medium": {},
"compared_to_previous_period": "Dibanding periode lalu",
"@compared_to_previous_period": {},
"summary_today": "Ringkasan Hari Ini",
"@summary_today": {},
"summary_mtd": "Ringkasan MTD",
"@summary_mtd": {},
"total_sales_label": "Total penjualan",
"@total_sales_label": {},
"total_raw_material": "Total biaya bahan baku",
"@total_raw_material": {},
"net_profit_label": "Laba bersih",
"@net_profit_label": {},
"items_sold": "Item Terjual",
"@items_sold": {},
"low_stock_warning": "Stok Menipis",
"@low_stock_warning": {},
"active_products": "Produk Aktif",
"@active_products": {},
"today_condition": "Kondisi Hari Ini",
"@today_condition": {},
"portion_sold": "{count} porsi terjual",
"@portion_sold": {
"placeholders": {
"count": {
"type": "int",
"example": "48"
}
}
}
}
+102
View File
@@ -1378,6 +1378,108 @@ abstract class AppLocalizations {
/// In en, this message translates to:
/// **'Total Cost'**
String get total_cost;
/// No description provided for @warning_title.
///
/// In en, this message translates to:
/// **'Warnings'**
String get warning_title;
/// No description provided for @warning_desc.
///
/// In en, this message translates to:
/// **'Activities deviating from standards — needs review.'**
String get warning_desc;
/// No description provided for @no_warning.
///
/// In en, this message translates to:
/// **'No warnings'**
String get no_warning;
/// No description provided for @no_warning_desc.
///
/// In en, this message translates to:
/// **'All activities are running normally.'**
String get no_warning_desc;
/// No description provided for @severity_high.
///
/// In en, this message translates to:
/// **'High'**
String get severity_high;
/// No description provided for @severity_medium.
///
/// In en, this message translates to:
/// **'Medium'**
String get severity_medium;
/// No description provided for @compared_to_previous_period.
///
/// In en, this message translates to:
/// **'Compared to previous period'**
String get compared_to_previous_period;
/// No description provided for @summary_today.
///
/// In en, this message translates to:
/// **'Today\'s Summary'**
String get summary_today;
/// No description provided for @summary_mtd.
///
/// In en, this message translates to:
/// **'MTD Summary'**
String get summary_mtd;
/// No description provided for @total_sales_label.
///
/// In en, this message translates to:
/// **'Total sales'**
String get total_sales_label;
/// No description provided for @total_raw_material.
///
/// In en, this message translates to:
/// **'Total raw material cost'**
String get total_raw_material;
/// No description provided for @net_profit_label.
///
/// In en, this message translates to:
/// **'Net profit'**
String get net_profit_label;
/// No description provided for @items_sold.
///
/// In en, this message translates to:
/// **'Items Sold'**
String get items_sold;
/// No description provided for @low_stock_warning.
///
/// In en, this message translates to:
/// **'Low Stock'**
String get low_stock_warning;
/// No description provided for @active_products.
///
/// In en, this message translates to:
/// **'Active Products'**
String get active_products;
/// No description provided for @today_condition.
///
/// In en, this message translates to:
/// **'Today\'s Condition'**
String get today_condition;
/// No description provided for @portion_sold.
///
/// In en, this message translates to:
/// **'{count} portions sold'**
String portion_sold(int count);
}
class _AppLocalizationsDelegate extends LocalizationsDelegate<AppLocalizations> {
+53
View File
@@ -657,4 +657,57 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get total_cost => 'Total Cost';
@override
String get warning_title => 'Warnings';
@override
String get warning_desc => 'Activities deviating from standards — needs review.';
@override
String get no_warning => 'No warnings';
@override
String get no_warning_desc => 'All activities are running normally.';
@override
String get severity_high => 'High';
@override
String get severity_medium => 'Medium';
@override
String get compared_to_previous_period => 'Compared to previous period';
@override
String get summary_today => 'Today\'s Summary';
@override
String get summary_mtd => 'MTD Summary';
@override
String get total_sales_label => 'Total sales';
@override
String get total_raw_material => 'Total raw material cost';
@override
String get net_profit_label => 'Net profit';
@override
String get items_sold => 'Items Sold';
@override
String get low_stock_warning => 'Low Stock';
@override
String get active_products => 'Active Products';
@override
String get today_condition => 'Today\'s Condition';
@override
String portion_sold(int count) {
return '$count portions sold';
}
}
+56 -3
View File
@@ -81,13 +81,13 @@ class AppLocalizationsId extends AppLocalizations {
String get profile => 'Profil';
@override
String get sales_today => 'Penjualan hari ini';
String get sales_today => 'Omset hari ini';
@override
String get order => 'Pesanan';
@override
String get sales => 'Penjualan';
String get sales => 'Omset';
@override
String get finance => 'Keuangan';
@@ -102,7 +102,7 @@ class AppLocalizationsId extends AppLocalizations {
String get schedule => 'Jadwal';
@override
String get inventory => 'Inventaris';
String get inventory => 'Stok';
@override
String get customer => 'Pelanggan';
@@ -657,4 +657,57 @@ class AppLocalizationsId extends AppLocalizations {
@override
String get total_cost => 'Total Biaya';
@override
String get warning_title => 'Peringatan';
@override
String get warning_desc => 'Aktivitas yang menyimpang dari standar — perlu ditinjau.';
@override
String get no_warning => 'Tidak ada peringatan';
@override
String get no_warning_desc => 'Semua aktivitas berjalan normal.';
@override
String get severity_high => 'Tinggi';
@override
String get severity_medium => 'Sedang';
@override
String get compared_to_previous_period => 'Dibanding periode lalu';
@override
String get summary_today => 'Ringkasan Hari Ini';
@override
String get summary_mtd => 'Ringkasan MTD';
@override
String get total_sales_label => 'Total penjualan';
@override
String get total_raw_material => 'Total biaya bahan baku';
@override
String get net_profit_label => 'Laba bersih';
@override
String get items_sold => 'Item Terjual';
@override
String get low_stock_warning => 'Stok Menipis';
@override
String get active_products => 'Produk Aktif';
@override
String get today_condition => 'Kondisi Hari Ini';
@override
String portion_sold(int count) {
return '$count porsi terjual';
}
}