Add property reception show stock.

This commit is contained in:
2017-02-06 08:20:18 +01:00
parent 7bbd4dcfa4
commit c8e3ef6754
7 changed files with 91 additions and 26 deletions

View File

@@ -285,6 +285,7 @@ class ContractController extends Controller {
'id' => $contract->id_contract
] );
}
public function actionMake($id) {
$customer = Customer::findOne ( $id );
@@ -301,7 +302,6 @@ class ContractController extends Controller {
$model->started_at = date(date('Y.m.d'));
$model->fillOut ();
if ($model->load ( Yii::$app->request->post () ) && $model->validate ()) {