add daily listing by paid_by, add customer cart details
This commit is contained in:
@@ -77,7 +77,7 @@ class TransferSearch extends Transfer
|
||||
// uncomment the following line if you do not want to return any records when validation fails
|
||||
$query->where('0=1');
|
||||
}
|
||||
$query->andWhere(['id_user' => Yii::$app->user->id ] );
|
||||
$query->andWhere( ['or',['id_user' => Yii::$app->user->id ] , ['paid_by' => Yii::$app->user->id],] );
|
||||
|
||||
$query->andFilterWhere([
|
||||
'id_account' => $this->id_account,
|
||||
|
||||
Reference in New Issue
Block a user