public InvoiceSetting SaveInvoiceSettings(InvoiceSetting invoiceSetting) { var tenantSettings = Global.TenantSettings; tenantSettings.InvoiceSetting = invoiceSetting; SettingsManager.Instance.SaveSettings(tenantSettings, TenantProvider.CurrentTenantID); AdminLog.PostAction("CRM Settings: saved crm invoice settings to \"{0:Json}\"", tenantSettings.InvoiceSetting); return tenantSettings.InvoiceSetting; }
public InvoiceSetting SaveInvoiceSettings(InvoiceSetting invoiceSetting) { var tenantSettings = Global.TenantSettings; tenantSettings.InvoiceSetting = invoiceSetting; SettingsManager.Instance.SaveSettings(tenantSettings, TenantProvider.CurrentTenantID); return tenantSettings.InvoiceSetting; }