Explorar el Código

Gestion des devis : formulaire de création #157

refactoring
Guillaume Bourgeois hace 4 años
padre
commit
d9b9dbde84
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. +1
    -1
      backend/views/quotation/index.php
  2. +1
    -1
      common/models/QuotationSearch.php

+ 1
- 1
backend/views/quotation/index.php Ver fichero

@@ -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 Ver fichero

@@ -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')
;

Cargando…
Cancelar
Guardar