update msg

This commit is contained in:
dbdbd9 2025-06-30 11:04:44 +07:00
parent 034b9eee2c
commit 27b59ae939
2 changed files with 2 additions and 2 deletions

View File

@ -1371,7 +1371,7 @@ class TicketController extends Controller
if ($index === 0) {
$showMonth = $monthData['month'] > Carbon::now()->month ? $monthData['month'] : Carbon::now()->month;
$message .= "* Quy định: mỗi tháng được nghỉ tối đa {$max} ngày phép\n";
$message .= "- Bạn có: {$totalLeave} ngày phép (Tính tới tháng {$showMonth})\n\n";
$message .= "- Bạn có: {$totalLeave} ngày phép (Tính tới {$showMonth}/{$monthData['year']})\n\n";
}
// Hiển thị cộng phép nếu gửi ticket trong tương lai

View File

@ -15,7 +15,7 @@ return new class extends Migration
DB::table('categories')->insert([
[
'c_code' => 'TEMPORARY_ONLEAVE',
'c_name' => 'Nghỉ tạm trong tương lai',
'c_name' => 'Nghỉ dự kiến',
'c_type' => 'REASON_NOTES',
'c_value' => "",
'c_active' => 1,