->with($optionsSearch['with']) | ->with($optionsSearch['with']) | ||||
->innerJoinWith($optionsSearch['join_with'], true) | ->innerJoinWith($optionsSearch['join_with'], true) | ||||
->where(['point_sale.id_producer' => GlobalParam::getCurrentProducerId()]) | ->where(['point_sale.id_producer' => GlobalParam::getCurrentProducerId()]) | ||||
->orderBy('is_bread_box ASC, name ASC') | |||||
; | ; | ||||
$dataProvider = new ActiveDataProvider([ | $dataProvider = new ActiveDataProvider([ |