add reception key changes, add money movent storno, status display
This commit is contained in:
@@ -40,7 +40,7 @@ class TransferSearch extends Transfer
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
[[ 'id_account','id_user', 'type'], 'integer'],
|
||||
[[ 'id_account','id_user', 'type','status'], 'integer'],
|
||||
// [[ 'searchObjectName' ], 'string'],
|
||||
[[ 'start', ], 'date' , 'timestampAttribute' => 'timestampStart' ,'timestampAttributeFormat' => 'yyyy-MM-dd' ],
|
||||
[[ 'end' , ], 'date' , 'timestampAttribute' => 'timestampEnd' ,'timestampAttributeFormat' => 'yyyy-MM-dd' ],
|
||||
@@ -101,6 +101,7 @@ class TransferSearch extends Transfer
|
||||
'transfer.id_account' => $this->id_account,
|
||||
'transfer.type' => $this->type,
|
||||
'transfer.id_user' => $this->id_user,
|
||||
'transfer.status' => $this->status
|
||||
]);
|
||||
|
||||
$query->andFilterWhere(['in' ,'transfer.type', $this->types]);
|
||||
|
||||
Reference in New Issue
Block a user