This commit is contained in:
@@ -1659,6 +1659,23 @@ namespace AyaNova.Util
|
||||
{
|
||||
GlobalBizSettingsBiz biz = GlobalBizSettingsBiz.GetBiz(ct);
|
||||
var gbiz = await biz.GetAsync(false);
|
||||
|
||||
gbiz.Latitude = (decimal)Fake.Address.Latitude();
|
||||
gbiz.Longitude = (decimal)Fake.Address.Longitude();
|
||||
gbiz.Address = Fake.Address.StreetAddress();
|
||||
gbiz.City = Fake.Address.City();
|
||||
gbiz.Region = Fake.Address.State();
|
||||
gbiz.Country = Fake.Address.Country();
|
||||
gbiz.PostAddress = Fake.Address.StreetAddress();
|
||||
gbiz.PostCity = gbiz.City;
|
||||
gbiz.PostRegion = gbiz.Region;
|
||||
gbiz.PostCountry = gbiz.Country;
|
||||
gbiz.PostCode = Fake.Address.ZipCode();
|
||||
gbiz.Phone1 = Fake.Phone.PhoneNumber();
|
||||
gbiz.Phone2 = Fake.Phone.PhoneNumber();
|
||||
gbiz.WebAddress = Fake.Internet.Protocol() + "://example." + Fake.Internet.DomainSuffix();
|
||||
gbiz.EmailAddress = Fake.Internet.ExampleEmail();
|
||||
|
||||
gbiz.TaxPartPurchaseId = TCGoods;
|
||||
gbiz.TaxPartSaleId = TCGoods;
|
||||
gbiz.TaxRateSaleId = TCServices;
|
||||
@@ -1670,9 +1687,9 @@ namespace AyaNova.Util
|
||||
gbiz.CustomerAllowNotifyWOCreated = true;
|
||||
gbiz.CustomerAllowUserSettings = true;
|
||||
gbiz.CustomerAllowViewWO = true;
|
||||
// gbiz.CustomerDefaultWorkOrderReportId=1;
|
||||
// gbiz.CustomerDefaultWorkOrderReportId=1;
|
||||
gbiz.CustomerAllowWOWiki = true;
|
||||
gbiz.CustomerAllowWOAttachments=true;
|
||||
gbiz.CustomerAllowWOAttachments = true;
|
||||
|
||||
await biz.PutAsync(gbiz);
|
||||
ServerGlobalBizSettings.Initialize(gbiz, null);
|
||||
|
||||
Reference in New Issue
Block a user