dev #130

Merged
joseph merged 52 commits from dev into master 2025-06-30 18:37:39 +10:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 27b59ae939 - Show all commits

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,