Quellcode durchsuchen

Merge remote-tracking branch 'origin/master'

gogs vor 2 Monaten
Ursprung
Commit
c5ab7ea32f
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      app/Service/AuxiliaryAccountService.php

+ 1 - 1
app/Service/AuxiliaryAccountService.php

@@ -203,7 +203,7 @@ class AuxiliaryAccountService extends Service
             $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,
-                'period' => date("Ym", strtotime($data['month']))
+                'period' => date("Ym", $data['month'])
             ]);
             ]);
             $model->month = $data['month'];
             $model->month = $data['month'];
             $model->crt_id = $user['id'];
             $model->crt_id = $user['id'];