ソースを参照

Gestion des devis : formulaire de création #157

dev
コミット
d9b9dbde84
2個のファイルの変更2行の追加2行の削除
  1. +1
    -1
      backend/views/quotation/index.php
  2. +1
    -1
      common/models/QuotationSearch.php

+ 1
- 1
backend/views/quotation/index.php ファイルの表示

@@ -38,7 +38,7 @@

$this->setTitle('Devis');
$this->addBreadcrumb($this->getTitle());
//$this->addButton(['label' => 'Nouveau devis <span class="glyphicon glyphicon-plus"></span>', 'url' => 'quotation/create', 'class' => 'btn btn-primary']);
$this->addButton(['label' => 'Nouveau devis <span class="glyphicon glyphicon-plus"></span>', 'url' => 'quotation/create', 'class' => 'btn btn-primary']);

?>


+ 1
- 1
common/models/QuotationSearch.php ファイルの表示

@@ -61,7 +61,7 @@ class QuotationSearch extends Quotation
$query = Quotation::find()
->with($optionsSearch['with'])
->joinWith($optionsSearch['join_with'], true)
->where(['distribution.id_producer' => GlobalParam::getCurrentProducerId()])
->where(['quotation.id_producer' => GlobalParam::getCurrentProducerId()])
->orderBy('quotation.reference DESC')
;

読み込み中…
キャンセル
保存