@@ -8,6 +8,11 @@ class SupplyOrder extends Model
{
protected $table = 'supply_order';
+ public function getRouteKeyName()
+ {
+ return 'uid';
+ }
+
public function client()
return $this->hasOne(Client::class, 'id', 'client_id');