Skip to content

Commit 36a47cb

Browse files
committed
agency email and landline validation
1 parent 4e593e9 commit 36a47cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/modules/circulation/models/Agency.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public static function tableName()
6969
public function rules()
7070
{
7171
return [
72-
[['name','email', 'landline_no','agency_type','mobile_no', 'mail_house_no', 'mail_street_address', 'mail_p_office','add_house_no','add_street_address','add_p_office','add_pincode','add_country_id', 'add_state_id', 'add_district_id' ,'mail_country_id', 'mail_state_id', 'mail_district_id', 'mail_pincode','commission','agency_type','route_id'], 'required'],
72+
[['name','agency_type','mobile_no', 'mail_house_no', 'mail_street_address', 'mail_p_office','add_house_no','add_street_address','add_p_office','add_pincode','add_country_id', 'add_state_id', 'add_district_id' ,'mail_country_id', 'mail_state_id', 'mail_district_id', 'mail_pincode','commission','agency_type','route_id'], 'required'],
7373
[['title','name','billing_id','vehicle_id' ,'status','agency_type','commission','comment','issue_start_date','mail_street_address', 'add_street_address','agency_combined_id','train_no','train_name','source'], 'string'],
7474
[['route_id', 'landline_no', 'mobile_no', 'mail_country_id', 'mail_state_id', 'mail_district_id', 'mail_pincode', 'panchjanya', 'organiser', 'add_country_id', 'add_state_id', 'add_district_id', 'add_pincode'], 'integer'],
7575
[['security_amt'], 'number'],

0 commit comments

Comments
 (0)