hokky 4 mesiacov pred
rodič
commit
34d34dd987

+ 4 - 1
app/Http/Controllers/Front/Dabory/Erp/Purchase/PurchController.php

@@ -25,6 +25,9 @@ class PurchController extends Controller
         // pick api para(cache) 얻는 함수
         $menuCode = Utils::bpaDecoding(request('bpa'))['menu_code'];
 
+        $slipFormInitCacheData = Utils::getSlipFormInitCache(
+            $formB->getData()['formB']['QueryVars']['QueryName']
+        );
         $pickCacheData = Utils::getParamCache($menuCode,
             $formB->getData()['formB']['General']['PickApi'],
             $formB->getData()['formB']['QueryVars']['QueryName']);
@@ -39,7 +42,7 @@ class PurchController extends Controller
                 $formB->getData(),
                 compact('purchModal',
                     'companyModal', 'itemModal'),
-                compact('pickCacheData', 'slipCacheData'),
+                compact('pickCacheData', 'slipCacheData', 'slipFormInitCacheData'),
             )
         )->with('codeTitle', [ "deal_type('deal-type')", "status('porder')" ]);
     }