コード例 #1
0
        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;
        }
コード例 #2
0
ファイル: InvoiceDao.cs プロジェクト: vipwan/CommunityServer
        public InvoiceSetting SaveInvoiceSettings(InvoiceSetting invoiceSetting)
        {
            var tenantSettings = Global.TenantSettings;

            tenantSettings.InvoiceSetting = invoiceSetting;

            SettingsManager.Instance.SaveSettings(tenantSettings, TenantProvider.CurrentTenantID);

            return tenantSettings.InvoiceSetting;
        }