Commit 919975e2 authored by Fares's avatar Fares

fix(migration): use 'float' instead of 'decimal' for system_config config_type

The config_type column only accepts: string, integer, float, json.
Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
parent 39b96a83
......@@ -193,14 +193,14 @@ return function (\App\Core\Database $db): void {
// 1J. System Config Seeds for HR Deductions & Leave
// =====================================================================
$configs = [
['hr.deduction.martyrs_fund_amount', '0', 'decimal', 'hr', 'خصم صندوق الشهداء - مبلغ شهري ثابت'],
['hr.deduction.regular_stamp_duty', '0', 'decimal', 'hr', 'خصم الدمغة العادية - مبلغ شهري'],
['hr.deduction.additional_stamp_duty', '0', 'decimal', 'hr', 'خصم الدمغة الإضافية - مبلغ شهري'],
['hr.deduction.martyrs_fund_amount', '0', 'float', 'hr', 'خصم صندوق الشهداء - مبلغ شهري ثابت'],
['hr.deduction.regular_stamp_duty', '0', 'float', 'hr', 'خصم الدمغة العادية - مبلغ شهري'],
['hr.deduction.additional_stamp_duty', '0', 'float', 'hr', 'خصم الدمغة الإضافية - مبلغ شهري'],
['hr.leave.annual_days_under_10y', '21', 'integer', 'hr', 'أيام الإجازة السنوية - أقل من 10 سنوات خدمة'],
['hr.leave.annual_days_over_10y', '30', 'integer', 'hr', 'أيام الإجازة السنوية - 10 سنوات فأكثر أو سن 50+'],
['hr.leave.maternity_days', '90', 'integer', 'hr', 'أيام إجازة الوضع'],
['hr.leave.maternity_max_career', '3', 'integer', 'hr', 'الحد الأقصى لإجازات الوضع خلال المسيرة المهنية'],
['hr.leave.breastfeeding_daily_hours', '1', 'decimal', 'hr', 'ساعة الرضاعة اليومية بدون خصم'],
['hr.leave.breastfeeding_daily_hours', '1', 'float', 'hr', 'ساعة الرضاعة اليومية بدون خصم'],
['hr.leave.unpaid_max_days', '0', 'integer', 'hr', 'الحد الأقصى للإجازة بدون مرتب (0 = غير محدد)'],
];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment