Add waste

This commit is contained in:
2016-05-08 08:56:42 +02:00
parent a6fdfb1c83
commit f8e1f90a8e
28 changed files with 1075 additions and 102 deletions

View File

@@ -293,7 +293,9 @@ class ContractController extends Controller {
$model = new ContractForm ( [
'customer' => $customer
'customer' => $customer ,
'idUser' => \Yii::$app->user->id,
'idAccount' => Account::readDefault ()
] );
$model->started_at = date(date('Y.m.d'));