$customer->getRouteKey(), 'key' => [ 'public' => $customer->getPublicKey(), 'route' => $customer->getRouteKey(), ], 'MasterId' => $customer->MasterId, 'Sequence' => $customer->Sequence, 'Name' => $customer->Name, 'Code' => $customer->Code, 'Code2' => $customer->Code2, 'Limit' => $customer->Limit, 'L2' => $customer->L2, 'Type' => $customer->Type, 'Attribute' => $customer->Attribute, 'Eoff' => $customer->Eoff, 'Doff' => $customer->Doff, 'CreditDays' => $customer->CreditDays, 'Date_' => $customer->Date_, 'Time_' => $customer->Time_, 'Limit2' => $customer->Limit2, 'url' => [ 'public' => trans_url('focus/'.$customer->getPublicKey()), 'user' => guard_url('focus/customer/'.$customer->getRouteKey()), ], 'status' => trans('app.'.$customer->status), 'created_at' => format_date($customer->created_at), 'updated_at' => format_date($customer->updated_at), ]; } }