change
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,22 +0,0 @@
|
||||
var Unibase;(function(n){let t;(function(t){let i;(function(i){let r;(function(i){class r extends t.Core.BaseComponent{constructor(){super(...arguments);this.Status="";this.InstalledAppId=0}jsFiles(){return["apps/crm/companies/managers/companymanager.js","platform/core/helpers/datetimehelper/datetimehelper.js","platform/series/components/createseries.js","platform/series/managers/seriesmanager.js","platform/apps/managers/appmanager.js","platform/series/components/seriesformatlist.js"]}cssFiles(){return[]}html(){return`<form id="BizgazeApp_Series_edit" method="post" data-validate="parsley">
|
||||
<div class="b-b bg-white header">
|
||||
<strong class="text-dark Title" id="div_FormName">Series</strong>
|
||||
<div class="btn-group ml-auto d-flex">
|
||||
<a class="px-2 text-dark py-1" id="btnAddNewSeries" href="javascript:;" title="create" style="padding-left:10px !important;" onclick=" Unibase.Platform.Series.Components.CreateSeries.Instance().init(0);"><i class="fa fa-plus"></i></a>
|
||||
<a class="px-2 text-dark py-1" href="javascript:;" style="padding-right:10px !important;"><i class="ti-help-alt" title="help" target="_blank"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div data-simplebar class="simple-scroll-bar scrollable" id="div_body">
|
||||
<div class="clear" id="divMessage"></div>
|
||||
<input type="hidden" id="hf_seriesid" />
|
||||
<div id="bizgaze_SpiltErrorMessages" class="clear"></div>
|
||||
<div id="bizgaze_validationErrorMessages" class="clear"></div>
|
||||
<div class="Series-ListSearch row"></div>
|
||||
<div id="seriesdiv" class="nicescroll-bar">
|
||||
<ul id="Seieslist" class="list-group list-group-flush font-14"></ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bg-white footer">
|
||||
<a href="javascript:;" id="btn_Close" class="btn btn-light btn-sm mr-auto btn-close"> Close</a>
|
||||
</div></form>`}load(){var t=this,i=0,r=t.appSettings.InstalledAppId;t.InstalledAppId=t.appSettings.InstalledAppId;n.Platform.Apps.Managers.AppManager.Instance().getInstallApp(r).then(function(n){var u=n.result;i=u.AppKeyId;t.loadserieslist(i,r)})}init(n,t){this.render(n,t)}render(i){this.navigationHelper.popup(i,"",n.Platform.Series.Components.Series.Instance(),null,t.Helpers.Size.DockLeft)}loadserieslist(t,i){this.fileCacheHelper.loadJsFile("platform/series/managers/seriesmanager.js",function(){var r=n.Platform.Helpers.DateTimeHelper.Instance();n.Platform.Series.Managers.SeriesManager.Instance().getSeries(t,i).then(function(t){var u,i,f,e,o;for($(".serieslist").remove(),u=0;u<t.result.length;u++)i=t.result[u],f="",f+='<li class="list-group-item serieslist pa-10 text-dark" id="series_list"><div class="col-2 pull-right"><a href="javascript:;" data-toggle="dropdown" class="no-caret dropdown-toggle pull-right" aria-expanded="false"><i class="row fa fa-ellipsis-h pull-right biz-highlight-bg-color"><\/i><\/a><ul class="dropdown-menu pull-right clearfix" id="statusproperties_'+i.SeriesId+'"><\/ul><i id="iconstatus_'+i.SeriesId+'" class="row mt-20 fa fa-circle pull-right"><\/i><\/div><div class="col-10"><a href="javascript:;" class="text-dark" onclick="Unibase.Platform.Series.Components.Series.Instance().loadlist('+i.SeriesId+')"><div class=""><strong class="row block copyItemName list-item-main-title">'+i.SeriesName+'<\/strong><span class="row block"> <span id="copyIndex text-dark">'+r.formatLocal(i.CreatedDate)+"<\/span><\/span><\/div><\/a><div><\/li>",$("#emptyItem").remove(),$("#Seieslist").append(f),e=i.StatusId,o=i.SeriesId,n.Platform.Series.Components.Series.Instance().GetStatus(e,o)})})}GetStatus(n,t){n==1?($("#statusproperties_"+t).html('<li><a href="javascript:;" class="dropdown-item" onclick="Unibase.Platform.Series.Components.CreateSeries.Instance().init('+t+')">Edit<\/a><\/li><li><a href="javascript:;" class="dropdown-item" onclick="Unibase.Platform.Series.Components.Series.Instance().changestatus('+t+',2)">De-activate<\/a><\/li>'),$("#iconstatus_"+t).addClass("text-success"),$("#iconstatus_"+t).removeClass("text-danger")):($("#statusproperties_"+t).html('<li><a href="javascript:;" class="dropdown-item" onclick="Unibase.Platform.Series.Components.CreateSeries.Instance().init('+t+')">Edit<\/a><\/li><li><a href="javascript:;" class="dropdown-item" onclick="Unibase.Platform.Series.Components.Series.Instance().changestatus('+t+',1)">Activate<\/a><\/li>'),$("#iconstatus_"+t).removeClass("text-success"),$("#iconstatus_"+t).addClass("text-danger"))}loadlist(i){$("#hf_seriesid").val(i);var r=this;r.navigationHelper.popup(0,"",n.Platform.Series.Components.SeriesFormatList.Instance(),null,t.Helpers.Size.DockLeft)}changestatus(i,r){var u="";u=r==1?"Are you sure you want to Activate ?":"Are you sure you want to De - Activate ?";bootbox.confirm({message:u,closeButton:!1,buttons:{confirm:{label:"Yes",className:"btn-success"},cancel:{label:"No",className:"btn-defualt"}},callback:function(u){if(u){var f=t.Helpers.FileCacheHelper.Instance();f.loadJsFile("platform/series/managers/seriesmanager.js",null);n.Platform.Series.Managers.SeriesManager.Instance().changeSeriesStatus(i,r).then(function(t){MessageHelper.Instance().showSuccess(t.message,"");n.Platform.Series.Components.Series.Instance().GetStatus(r,i)})}}})}loadForm(){r.Instance().init(0,null)}static Instance(){return this.instance===undefined&&(this.instance=new r),this.instance}}i.Series=r})(r=i.Components||(i.Components={}))})(i=t.Series||(t.Series={}))})(t=n.Platform||(n.Platform={}))})(Unibase||(Unibase={}));
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"seriesformatdetails.js","sourceRoot":"","sources":["seriesformatdetails.ts"],"names":[],"mappings":"AAGA,IAAU,OAAO,CA+IhB;AA/ID,WAAU,OAAO;IACb,IAAiB,QAAQ,CA6IxB;IA7ID,WAAiB,QAAQ;QACrB,IAAiB,MAAM,CA2ItB;QA3ID,WAAiB,MAAM;YACnB,IAAiB,UAAU,CAyI1B;YAzID,WAAiB,UAAU;gBACvB,MAAa,mBAAoB,SAAQ,SAAA,IAAI,CAAC,aAAa;oBA+FvD;wBACI,KAAK,EAAE,CAAC;wBACR,IAAI,C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;wBACD,OAAO,IAAI,CAAC,QAAQ,CAAC;oBACzB,CAAC;iBAEJ;gBAvIY,8BAAmB,sBAuI/B,CAAA;YACL,CAAC,EAzIgB,UAAU,GAAV,iBAAU,KAAV,iBAAU,QAyI1B;QACL,CAAC,EA3IgB,MAAM,GAAN,eAAM,KAAN,eAAM,QA2ItB;IACL,CAAC,EA7IgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QA6IxB;AACL,CAAC,EA/IS,OAAO,KAAP,OAAO,QA+IhB"}
|
||||
@@ -1,78 +0,0 @@
|
||||
var Unibase;(function(n){let t;(function(t){let i;(function(i){let r;(function(r){class u extends t.Core.BaseComponent{constructor(){super();this.seriesManager=i.Managers.SeriesManager.Instance();this.datetimehelper=t.Helpers.DateTimeHelper.Instance()}jsFiles(){return["platform/series/managers/seriesmanager.js","platform/core/helpers/datetimehelper/datetimehelper.js"]}cssFiles(){return[]}html(n,t){let i=`<form id="frm_Series_SeriesFormatDetails" method="post" data-validate="parsley">
|
||||
<header class="b-b bg-white modal-header">
|
||||
<strong class="text-dark Title" id="div_FormName">Series Format Details</strong>
|
||||
<input type="hidden" id="hf_SeriesId" value="0" />
|
||||
<input type="hidden" id="hf_SeriesFormatId" value="0" />
|
||||
</header>
|
||||
<div class="bg-light control-sorting modal-body" style="overflow-y: auto; height: 826px;">
|
||||
<div id="bizgaze_ValidationsSummary" class="clear">
|
||||
</div>
|
||||
<div class="panel panel-default m-n">
|
||||
<div class="row font-14">
|
||||
<div class="col-sm-12">
|
||||
<ul class="list-group m-b-n">
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<strong>Series Format</strong>
|
||||
<span class="pull-right" id="sname"></span>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<strong>Starting Number</strong>
|
||||
<span class="pull-right" id="snumber"></span>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<strong>Last Number</strong>
|
||||
<span class="pull-right" id="lnumber"></span>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<strong>Number Prefix</strong>
|
||||
<span class="pull-right" id="numprefix"></span>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<strong>Number Size</strong>
|
||||
<span class="pull-right" id="numsize"></span>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<strong>From Date</strong>
|
||||
<span class="pull-right" id="fdate"></span>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<strong>To Date</strong>
|
||||
<span class="pull-right" id="tdate"></span>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<footer class="bg-white modal-footer" style="position:absolute; bottom:0px;width:100%;">
|
||||
<a href="javascript:;" id="btn_SeriesFormatDetailsClose" class="btn btn-light btn-sm mr-auto"> Close</a>
|
||||
</footer>`;return $("."+t).html(i),i}load(t,i){var r=n.Platform.Series.Components.SeriesFormatDetails.Instance();r.GetSeriesFormatDetails();$("#btn_SeriesFormatDetailsClose").click(function(){$("#"+i).modal("hide");$("#"+i).remove()})}GetSeriesFormatDetails(){var i=Number($("#hf_seriesid").val()),r=Number($("#hf_seriesformatid").val()),u=this.fileCacheHelper,t;u.loadJsFile("platform/series/managers/seriesmanager.js",null);t=n.Platform.Helpers.DateTimeHelper.Instance();this.seriesManager.getSeriesFormatBySeriesId(i,r).then(function(n){$("#snumber").text(n.result.StartingNumber);$("#lnumber").text(n.result.LastNumber);$("#sname").text(n.result.seriesformat);$("#numprefix").text(n.result.NumberPrefix);$("#numsize").text(n.result.NumberSize);$("#fdate").text(t.formatLocalDate1(n.result.FromDate,""));$("#tdate").text(t.formatLocalDate1(n.result.ToDate,""))})}static Instance(){return this.instance===undefined&&(this.instance=new u),this.instance}}r.SeriesFormatDetails=u})(r=i.Components||(i.Components={}))})(i=t.Series||(t.Series={}))})(t=n.Platform||(n.Platform={}))})(Unibase||(Unibase={}));
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"seriesformatlist.js","sourceRoot":"","sources":["seriesformatlist.ts"],"names":[],"mappings":"AAOA,IAAU,OAAO,CA+GhB;AA/GD,WAAU,OAAO;IACb,IAAiB,QAAQ,CA6GxB;IA7GD,WAAiB,QAAQ;QACrB,IAAiB,MAAM,CA2GtB;QA3GD,WAAiB,MAAM;YACnB,IAAiB,UAAU,CAyG1B;YAzGD,WAAiB,UAAU;gBACvB,MAAa,gBAAiB,SAAQ,SAAA,IAAI,CAAC,aAAa;oBA4CpD;wBACI,KAAK,EAAE,CAAC;wBACR,IAAI,CAAC,aAAa,GAAG,OAAA,QAAQ,CAAC,aAAa,CAAC,QAAQ,EAAE,CAAC;wBACvD,IAAI,CAAC,cAAc,GAAG,SAAA,OAAO,CAAC,cAAc,CAAC,QAAQ,EAAE,CAAC;oBAC5D,CAAC;oBA9CD,OAAO;wBACH,OAAO,CAAC,2CAA2C,EAAE,wDAAwD,EAAE,kDAAkD,EAAE,mDAAmD,CAAC,CAAC;oBAC5N,CAAC;oBAED,QAAQ;wBACJ,OAAO,EAAE,CAAC;oBACd,CAAC;oBAED,IAAI,CAAC,EAAE,EAAE,WAAW;wBAChB,IAAI,IAAI,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;QA2B3B,CAAC;wBACe,CAAC,CAAC,GAAG,GAAG,WAAW,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;wBAChC,OAAO,IAA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C,mBAAmB,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAA,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;oBAClJ,CAAC;oBAED,MAAM,CAAC,QAAQ;wBACX,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,EAAE;4BAC7B,IAAI,CAAC,QAAQ,GAAG,IAAI,gBAAgB,EAAE,CAAC;yBAC1C;wBACD,OAAO,IAAI,CAAC,QAAQ,CAAC;oBACzB,CAAC;iBACJ;gBAvGY,2BAAgB,mBAuG5B,CAAA;YACL,CAAC,EAzGgB,UAAU,GAAV,iBAAU,KAAV,iBAAU,QAyG1B;QACL,CAAC,EA3GgB,MAAM,GAAN,eAAM,KAAN,eAAM,QA2GtB;IACL,CAAC,EA7GgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QA6GxB;AACL,CAAC,EA/GS,OAAO,KAAP,OAAO,QA+GhB"}
|
||||
@@ -1,28 +0,0 @@
|
||||
var Unibase;(function(n){let t;(function(t){let i;(function(i){let r;(function(r){class u extends t.Core.BaseComponent{constructor(){super();this.seriesManager=i.Managers.SeriesManager.Instance();this.datetimehelper=t.Helpers.DateTimeHelper.Instance()}jsFiles(){return["platform/series/managers/seriesmanager.js","platform/core/helpers/datetimehelper/datetimehelper.js","platform/series/components/createseriesformat.js","platform/series/components/seriesformatdetails.js"]}cssFiles(){return[]}html(n,t){let i=`<form id="SeriesFormatList" method="post" data-validate="parsley">
|
||||
<header class="b-b bg-white modal-header">
|
||||
<strong class="text-dark Title">Series Format</strong>
|
||||
</header>
|
||||
<div class="bg-light control-sorting modal-body pl-0 pr-0 pt-0" style="overflow-y: auto; height: 826px;">
|
||||
<input type="hidden" id="hf_seriesid" />
|
||||
<input type="hidden" id="hf_seriesformatid" />
|
||||
<div id="seriesformatdiv" class="bg-cyan-light-4">
|
||||
<div class="mb-10 d-none d-sm-block">
|
||||
<h6>
|
||||
<div class="pull-right mr-10"></div>
|
||||
<div class="col-10">
|
||||
<div class="row">
|
||||
<div class="col-sm-4 ml-1">Format</div>
|
||||
<div class="col-sm-4">From Date</div>
|
||||
<div class="col-sm-3">To Date</div>
|
||||
</div>
|
||||
</div>
|
||||
</h6>
|
||||
</div>
|
||||
<ul id="seriesformatList" class="list-group list-group-flush font-14"></ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bg-white footer b-t">
|
||||
<a id="btn_CloseSeriesFormatList" class="btn btn-light btn-sm mr-auto"> Close</a>
|
||||
<a id="btnAddNewSeriesFormat" class="btn btn-sm"><i class="fa fa-plus"></i></a>
|
||||
</div>
|
||||
</form>`;return $("."+t).html(i),i}load(t,i){var u=Number(t),r=this;r.FormatList();$("#btn_CloseSeriesFormatList").click(function(){$("#"+i).modal("hide");$("#"+i).remove()});$("#btnAddNewSeriesFormat").click(function(){n.Platform.Series.Components.CreateSeriesFormat.Instance().render(t)})}FormatList(){var i=Number($("#hf_seriesid").val()),t=n.Platform.Helpers.DateTimeHelper.Instance();this.seriesManager.getSeriesFormats(i).then(function(n){var u,r,f,i;for($(".seriesformatlist").remove(),u="",r=0;r<n.result.length;r++)f=r+1,i=n.result[r],u='<li class="row list-group-item seriesformatlist clear"><a id="edit'+r+'"class="pull-right col-2 btn_EditFormat" href="javascript:;" onclick="Unibase.Platform.Series.Components.CreateSeriesFormat.Instance().render('+i.SeriesFormatId+');"><i class="pull-right fa fa-pencil m-t " ><\/i><\/a><a class="text-light-60" href="javascript:;" onclick="javascript:return Unibase.Platform.Series.Components.SeriesFormatList.Instance().SeriesFormatDetails('+i.SeriesId+", "+i.SeriesFormatId+');"><div class="col-10"><div class="row"><div class="txt_format col-sm-4">'+i.seriesformat+'<\/div><div class="date_fromdate col-sm-4 ml-1 d-none d-sm-block">'+t.formatLocalDate1(i.FromDate,"")+'<\/div><div class="col-sm-4 d-block d-sm-none">'+t.formatLocalDate1(i.FromDate,"")+'<\/div><div class="date_todate_'+f+' col-sm-3 ml-1 d-none d-sm-block">'+t.formatLocalDate1(i.ToDate,"")+'<\/div><div class="col-sm-3 d-block d-sm-none">'+t.formatLocalDate1(i.ToDate,"")+"<\/div><\/div><\/div><\/a><\/li>",$("#seriesformatList").append(u)})}SeriesFormatDetails(i,r){$("#hf_seriesid").val(i);$("#hf_seriesformatid").val(r);var u=this;u.navigationHelper.popup(i,"",n.Platform.Series.Components.SeriesFormatDetails.Instance(),null,t.Helpers.Size.DockLeft)}static Instance(){return this.instance===undefined&&(this.instance=new u),this.instance}}r.SeriesFormatList=u})(r=i.Components||(i.Components={}))})(i=t.Series||(t.Series={}))})(t=n.Platform||(n.Platform={}))})(Unibase||(Unibase={}));
|
||||
Reference in New Issue
Block a user