$deposit_plan_history->getRouteKey(), 'key' => [ 'public' => $deposit_plan_history->getPublicKey(), 'route' => $deposit_plan_history->getRouteKey(), ], 'user_id' => $deposit_plan_history->user_id, 'amount' => $deposit_plan_history->amount, 'type' => $deposit_plan_history->type, 'description' => $deposit_plan_history->description, 'payment_thro' => $deposit_plan_history->payment_thro, 'transaction_id' => $deposit_plan_history->transaction_id, 'status' => $deposit_plan_history->status, 'url' => [ 'public' => trans_url('history/'.$deposit_plan_history->getPublicKey()), 'user' => guard_url('history/deposit_plan_history/'.$deposit_plan_history->getRouteKey()), ], 'status' => trans('app.'.$deposit_plan_history->status), 'created_at' => format_date($deposit_plan_history->created_at), 'updated_at' => format_date($deposit_plan_history->updated_at), ]; } }