fix: HomeController contracts字段名修正(start_date→check_in_date)

This commit is contained in:
li
2026-03-14 21:14:38 +08:00
parent 1c1e44ade7
commit 4cdfeb034c
2 changed files with 21 additions and 23 deletions
@@ -56,7 +56,7 @@ class HomeController extends Controller
$contract = Contract::withoutGlobalScope('store')
->where('customer_id', $customer->id)
->latest()
->first(['id', 'contract_no', 'status', 'start_date', 'end_date', 'total_amount']);
->first(['id', 'contract_no', 'status', 'check_in_date', 'check_out_date', 'total_amount']);
// 月嫂信息(进行中派单)
$nannyOrder = NannyOrder::withoutGlobalScope('store')