$adjustments->getRouteKey(), 'key' => [ 'public' => $adjustments->getPublicKey(), 'route' => $adjustments->getRouteKey(), ], 'employee_id' => $adjustments->employee_id, 'payroll_id' => $adjustments->payroll_id, 'payment_date' => $adjustments->payment_date, 'type' => $adjustments->type, 'amount' => $adjustments->amount, 'notes' => $adjustments->notes, 'documents' => $adjustments->documents, 'user_id' => $adjustments->user_id, 'user_type' => $adjustments->user_type, 'deleted_at' => $adjustments->deleted_at, 'url' => [ 'public' => trans_url('salary/'.$adjustments->getPublicKey()), 'user' => guard_url('salary/adjustments/'.$adjustments->getRouteKey()), ], 'status' => trans('app.'.$adjustments->status), 'created_at' => format_date($adjustments->created_at), 'updated_at' => format_date($adjustments->updated_at), ]; } }