private void Manage_VAT_ExecuteCode(object sender, EventArgs e) { if (ot.Equals(opType.TKandS) || ot.Equals(opType.S)) { if (colMaskaSerwisu.Count > 0 && BLL.Tools.Has_ServiceMask(item, "VAT-*")) { if (BLL.Tools.Has_Service(klient, "VAT-*", "selSewisy")) { VAT_Forms.CreateNew(item.Web, klient, okresId, zadania); sbForms.AppendFormat("<li>{0}</li>", "VAT"); } } } else { VAT_Forms.CreateNew(item.Web, klient, okresId, zadania); sbForms.AppendFormat("<li>{0}</li>", "VAT"); } }
private void Manage_VAT_ExecuteCode(object sender, EventArgs e) { VAT_Forms.CreateNew(item.Web, klient, okresId, null); }