Jelajahi Sumber

修改业务bug

gogs 2 bulan lalu
induk
melakukan
6cebbaf684
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      app/Service/AuxiliaryAccountService.php

+ 1 - 1
app/Service/AuxiliaryAccountService.php

@@ -202,7 +202,7 @@ class AuxiliaryAccountService extends Service
         try {
         try {
             DB::beginTransaction();
             DB::beginTransaction();
 
 
-            $model = new ExpenseClaims();
+            $model = new AuxiliaryAccount();
             $model->code = $this->generateBillNo([
             $model->code = $this->generateBillNo([
                 'top_depart_id' => $user['top_depart_id'],
                 'top_depart_id' => $user['top_depart_id'],
                 'type' => ExpenseClaims::Order_type,
                 'type' => ExpenseClaims::Order_type,