mirror of
https://github.com/openMF/community-app.git
synced 2026-02-06 14:26:51 +00:00
merging the PRs as it is reviewed and approved
This commit is contained in:
parent
01e2a400dc
commit
9ea62d9394
@ -2671,6 +2671,7 @@
|
||||
"label.input.addressline1": "Address Line 1",
|
||||
"label.input.addressline2": "Address Line 2",
|
||||
"label.input.addressline3": "Address Line 3",
|
||||
"label.input.street": "Street",
|
||||
"label.input.town_village": "Town / Village",
|
||||
"label.input.county_district": "County / District",
|
||||
"label.input.state_province": "State / Province",
|
||||
|
||||
@ -37,7 +37,6 @@
|
||||
scope.tf = "HH:mm";
|
||||
scope.clientId = routeParams.clientId;
|
||||
|
||||
|
||||
var requestParams = {staffInSelectedOfficeOnly:true};
|
||||
if (routeParams.groupId) {
|
||||
requestParams.groupId = routeParams.groupId;
|
||||
@ -109,8 +108,6 @@
|
||||
|
||||
resourceFactory.addressFieldConfiguration.get({entity:entityname},function(data){
|
||||
|
||||
|
||||
|
||||
for(var i=0;i<data.length;i++)
|
||||
{
|
||||
data[i].field='scope.'+data[i].field;
|
||||
@ -327,6 +324,10 @@
|
||||
{
|
||||
temp.addressLine1=scope.addressArray[i].addressLine1;
|
||||
}
|
||||
if(scope.addressArray[i].street)
|
||||
{
|
||||
temp.street=scope.addressArray[i].street;
|
||||
}
|
||||
if(scope.addressArray[i].addressLine2)
|
||||
{
|
||||
temp.addressLine2=scope.addressArray[i].addressLine2;
|
||||
|
||||
@ -460,6 +460,12 @@
|
||||
<input type="text" name="addressline3" ng-model="addressArray[$index].addressLine3" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group" ng-show="street">
|
||||
<label class="control-label col-sm-2" >{{ 'label.input.street' | translate }}<span class="required">*</span></label>
|
||||
<div class="col-sm-3">
|
||||
<input type="text" name="street" ng-model="addressArray[$index].street" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group" ng-show="city">
|
||||
<label class="control-label col-sm-2" >{{ 'label.input.city' | translate }}</label>
|
||||
<div class="col-sm-3">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user