feature: keep sidebar and add service layer

This commit is contained in:
antv
2026-06-30 11:59:34 +07:00
parent 8a77324f89
commit c5016489ac
54 changed files with 1181 additions and 284 deletions
-12
View File
@@ -1,12 +0,0 @@
<?php
return [
'login' => 'Login',
'email' => 'Email',
'email_placeholder' => 'Enter your email',
'password' => 'Password',
'password_placeholder' => 'Enter your password',
'forgot_password' => 'Forgot password?',
'system_name' => 'Thank Card System',
'developed_by' => 'Developed by GMO-Z.com RUNSYSTEM',
];
-12
View File
@@ -1,12 +0,0 @@
<?php
return [
'manage_users' => 'Manage Users',
'add_user' => 'Add User',
'my_page' => 'My Page',
'send_card' => 'Send Thank Card',
'change_password' => 'Change Password',
'logout' => 'Logout',
'have_questions' => 'Have questions?',
'feedback' => 'Feedback',
];
+2
View File
@@ -9,4 +9,6 @@ return [
'forgot_password' => 'Quên mật khẩu?',
'system_name' => 'Hệ thống Thank Card',
'developed_by' => 'Được phát triển bởi GMO-Z.com RUNSYSTEM',
'failed' => 'Email hoặc mật khẩu không chính xác.',
'inactive' => 'Tài khoản của bạn đã bị khóa hoặc bạn đã nghỉ việc.',
];
+16
View File
@@ -0,0 +1,16 @@
<?php
return [
'password_change_success' => 'Đổi mật khẩu thành công!',
'user_create_success' => 'Tạo user thành công!',
'user_update_success' => 'Cập nhật thành công!',
'user_deactivate_success' => 'Đã đánh dấu nhân viên nghỉ việc thành công!',
'cards_reset_success' => 'Reset thẻ toàn hệ thống thành công!',
'thank_card_send_success' => 'Đã gửi Thank card thành công!',
'error' => [
'no_send_permission' => 'Bạn hiện không có quyền gửi Thank Card.',
'not_enough_cards' => 'Số lượng card của bạn không đủ. Vui lòng liên hệ Admin.',
'max_send_limit_template' => 'Một tháng bạn chỉ được gửi tối đa :max card cho một người. Bạn đã gửi :sent card cho nhân viên này.',
]
];
+34
View File
@@ -0,0 +1,34 @@
<?php
return [
'required' => ':attribute không được để trống.',
'email' => ':attribute không đúng định dạng.',
'max' => [
'numeric' => ':attribute không được lớn hơn :max.',
'file' => ':attribute không được lớn hơn :max kilobytes.',
'string' => ':attribute không được vượt quá :max ký tự.',
'array' => ':attribute không được có nhiều hơn :max phần tử.',
],
'min' => [
'numeric' => ':attribute phải tối thiểu là :min.',
'file' => ':attribute phải tối thiểu là :min kilobytes.',
'string' => ':attribute phải có ít nhất :min ký tự.',
'array' => ':attribute phải có ít nhất :min phần tử.',
],
'unique' => ':attribute đã tồn tại trong hệ thống.',
'confirmed' => 'Xác nhận :attribute không khớp.',
'integer' => ':attribute phải là một số nguyên.',
'exists' => ':attribute không tồn tại.',
'boolean' => ':attribute phải là true hoặc false.',
'attributes' => [
'mail' => 'Email',
'password' => 'Mật khẩu',
'msnv' => 'Mã số nhân viên',
'role' => 'Vai trò',
'num_card' => 'Số lượng thẻ',
'flag_send' => 'Quyền gửi',
'receiver' => 'Người nhận',
'amount' => 'Số lượng',
],
];