add kulcsok, add tartós beszedés, add ticket type with intallments
This commit is contained in:
@@ -37,7 +37,7 @@ class TicketSearch extends Ticket
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
[[ 'id_user', 'id_ticket_type', 'id_account'], 'integer'],
|
||||
[[ 'id_ticket', 'id_user', 'id_ticket_type', 'id_account'], 'integer'],
|
||||
[[ 'start', ], 'date' , 'timestampAttribute' => 'timestampStart' ,'timestampAttributeFormat' => 'yyyy-MM-dd' ],
|
||||
[[ 'end' , ], 'date' , 'timestampAttribute' => 'timestampEnd' ,'timestampAttributeFormat' => 'yyyy-MM-dd' ],
|
||||
[['valid_in_interval','created_in_interval','expire_in_interval'],'boolean'] ,
|
||||
@@ -117,6 +117,7 @@ class TicketSearch extends Ticket
|
||||
'id_ticket_type' => $this->id_ticket_type,
|
||||
'id_account' => $this->id_account,
|
||||
'id_card' => $this->id_card,
|
||||
'id_ticket' => $this->id_ticket
|
||||
]);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user