Merge branch 'master' of https://bitbucket.org/sriramv18/sparqsineedge
This commit is contained in:
commit
691ad3f41d
@ -97,7 +97,7 @@ export class EntityAddComponent implements OnInit {
|
||||
initAnswers() {
|
||||
return this._formBuilder.group({
|
||||
contact_person: ['', Validators.compose([Validators.required])],
|
||||
contact_email: ['', Validators.compose([Validators.required])],
|
||||
contact_email: ['', Validators.compose([Validators.required, Validators.email])],
|
||||
contact_mobile_no: ['', Validators.compose([Validators.required])],
|
||||
});
|
||||
}
|
||||
|
||||
@ -123,7 +123,7 @@ public pageTitle: string = "Edit Entity Master Details";
|
||||
isAct = isAct == null ? 1 : isAct;
|
||||
return this._formBuilder.group({
|
||||
contact_person: [c_person, Validators.compose([Validators.required])],
|
||||
contact_email: [c_email, Validators.compose([Validators.required])],
|
||||
contact_email: [c_email, Validators.compose([Validators.required, Validators.email])],
|
||||
contact_mobile_no: [e_phn, Validators.compose([Validators.required])],
|
||||
entity_child_id: [fk_id],
|
||||
isactive: [isAct]
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
{{ product.entity_name }}
|
||||
</div>
|
||||
<div fxFlex="0 1 auto" class="ml-xs" fxFlex="30%">
|
||||
<div>{{ product.full_name }} ({{product.short_name}})</div>
|
||||
<div><b>{{ product.full_name }} ({{product.short_name}})</b></div>
|
||||
<div> {{ product.branch_name }} </div>
|
||||
<div> {{product.city_name}}, {{product.state_name}} </div>
|
||||
</div>
|
||||
|
||||
@ -26,7 +26,7 @@ import { RouterModule } from '@angular/router';
|
||||
import { SettingsRoutes } from './settings.routing';
|
||||
import { RegisterComponent } from '../session/register/register.component';
|
||||
import { UserService } from './service/user.service';
|
||||
// import { MastersModule } from './masters/masters.module';
|
||||
import { MastersModule } from './masters/masters.module';
|
||||
// import { EntityModule } from './entity/entity.module';
|
||||
// import { AddEntityComponent } from './entity/add-entity/add-entity.component';
|
||||
// import { EditEntityComponent } from './entity/edit-entity/edit-entity.component';
|
||||
@ -38,7 +38,7 @@ import { EntityModule } from './entity/entity.module';
|
||||
imports: [
|
||||
CommonModule,
|
||||
RouterModule.forChild(SettingsRoutes),MatCardModule,
|
||||
// MastersModule,
|
||||
MastersModule,
|
||||
EntityModule,
|
||||
MatIconModule,
|
||||
MatInputModule,
|
||||
|
||||
@ -34,7 +34,7 @@ const MENUITEMS : Menu[] = [
|
||||
children:[
|
||||
{state:'users',name:'User List'},
|
||||
{state:'mastermodule',name:'Master Details'},
|
||||
// {state:'entitymodule',name:'Entity Type'}
|
||||
{state:'entity',name:'Entity Details'}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user