소스 검색

changed client sort order

= 4 년 전
부모
커밋
242aa9c990
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      app/Models/SupplyOrder.php

+ 5 - 0
app/Models/SupplyOrder.php

@@ -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');