update msg
This commit is contained in:
parent
034b9eee2c
commit
27b59ae939
|
|
@ -1371,7 +1371,7 @@ class TicketController extends Controller
|
||||||
if ($index === 0) {
|
if ($index === 0) {
|
||||||
$showMonth = $monthData['month'] > Carbon::now()->month ? $monthData['month'] : Carbon::now()->month;
|
$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 .= "* 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
|
// Hiển thị cộng phép nếu gửi ticket trong tương lai
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ return new class extends Migration
|
||||||
DB::table('categories')->insert([
|
DB::table('categories')->insert([
|
||||||
[
|
[
|
||||||
'c_code' => 'TEMPORARY_ONLEAVE',
|
'c_code' => 'TEMPORARY_ONLEAVE',
|
||||||
'c_name' => 'Nghỉ tạm trong tương lai',
|
'c_name' => 'Nghỉ dự kiến',
|
||||||
'c_type' => 'REASON_NOTES',
|
'c_type' => 'REASON_NOTES',
|
||||||
'c_value' => "",
|
'c_value' => "",
|
||||||
'c_active' => 1,
|
'c_active' => 1,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue