$customprice->getRouteKey(), 'key' => [ 'public' => $customprice->getPublicKey(), 'route' => $customprice->getRouteKey(), ], 'buyer_id' => $customprice->buyer_id, 'product_id' => $customprice->product_id, 'custom_price' => $customprice->custom_price, 'supplier_id' => $customprice->supplier_id, 'slug' => $customprice->slug, 'deleted_at' => $customprice->deleted_at, 'url' => [ 'public' => trans_url('customprice/'.$customprice->getPublicKey()), 'user' => guard_url('customprice/customprice/'.$customprice->getRouteKey()), ], 'status' => trans('app.'.$customprice->status), 'created_at' => format_date($customprice->created_at), 'updated_at' => format_date($customprice->updated_at), ]; } }