123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- var Bizgaze;
- (function (Bizgaze) {
- let Apps;
- (function (Apps) {
- let Transact;
- (function (Transact) {
- let Controls;
- (function (Controls) {
- class PurchasePlan extends Unibase.Platform.Core.BaseComponent {
- init(formpropertyid, prop, callback) {
- var instance = this;
- instance.loadControlSettings(prop.ControlJsonText, prop.FormPropertyId);
- instance.loadPropertySettings(prop.PropertySettings, prop.FormPropertyId);
- }
- loadControl(containerid, prop) {
- var html = `<div class="row">
- <div id="divSectionProperties_GenerateForAllBranches" class="divSectionProperties col-sm-6 mt-10">
- <div class="custom-control custom-checkbox">
- <input type="checkbox" class="custom-control-input" id="chkSection_GenerateForAllBranches" name="Generate For All Branches">
- <label class="custom-control-label" for="chkSection_GenerateForAllBranches" id="lblCheckBoxSection_GenerateForAllBranches">Generate For All Branches</label>
- </div>
- </div>
- <div id="divSectionProperties_Apply" class="divSectionProperties col-sm-6 mt-10" data-size="6" data-propertyname="Apply">
- <a id="btnSection_Apply" class="btn btn-primary mt-20 text-white pull-right Apply btn-sm">Apply</a>
- </div>
- <div id="divCustomProperties_BranchId" class="control-group divCustomProperties divCustomProperties_BranchId col-sm-6">
- <div id="div_BranchId" class="floating-label-form-group-with-value floating-validate" style="border-bottom:0;">
- <label for="lbl" id="lbl_BranchId">Branch Name<span class="text-danger hide hidden" id="spnIsRequired_BranchId"> *</span></label>
- <select id="select2_BranchId" class="value-control form-control text-control" multiple="" style="width: 100%; border-color: rgb(255, 255, 255);"> </select>
- <input type="hidden" id="hfAutoComplete_Branch" class="hfAutoComplete_Branch' form-control value-control" data-isdynamic="true"/>
- </div>
- </div>
- <div id="divCustomProperties_CompanyId" class="control-group divCustomProperties divCustomProperties_CompanyId col-sm-6">
- <div id="div_CompanyId" class="floating-label-form-group-with-value floating-validate" style="border-bottom:0;">
- <label for="lbl" id="lbl_CompanyId">Company Name<span class="text-danger hide hidden" id="spnIsRequired_CompanyId"> *</span></label>
- <select id="select2_CompanyId" class="value-control form-control text-control" multiple="" style="width: 100%; border-color: rgb(255, 255, 255);"> </select>
- <input type="hidden" id="hfAutoComplete_Company" class="hfAutoComplete_Company' form-control value-control" data-isdynamic="true"/>
- </div>
- </div>
- </div>`;
- $("#" + containerid).html(html);
- }
- loadControlSettings(controlsettingjson, formpropertyid) {
- return null;
- }
- loadPropertySettings(propertysettings, formpropertyid) {
- return null;
- }
- bindEditFormDetails(formpropertyid, propval, DocPropertyName) {
- return null;
- }
- static Instance() {
- if (this.instance === undefined) {
- this.instance = new PurchasePlan();
- }
- return this.instance;
- }
- }
- Controls.PurchasePlan = PurchasePlan;
- })(Controls = Transact.Controls || (Transact.Controls = {}));
- })(Transact = Apps.Transact || (Apps.Transact = {}));
- })(Apps = Bizgaze.Apps || (Bizgaze.Apps = {}));
- })(Bizgaze || (Bizgaze = {}));
|