Преглед изворни кода

Merge remote-tracking branch 'origin/master'

gogs пре 2 месеци
родитељ
комит
c5ab7ea32f
1 измењених фајлова са 1 додато и 1 уклоњено
  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([
                 'top_depart_id' => $user['top_depart_id'],
                 'type' => ExpenseClaims::Order_type,
-                'period' => date("Ym", strtotime($data['month']))
+                'period' => date("Ym", $data['month'])
             ]);
             $model->month = $data['month'];
             $model->crt_id = $user['id'];