var __awaiter=this&&this.__awaiter||function(n,t,i,r){function u(n){return n instanceof i?n:new i(function(t){t(n)})}return new(i||(i=Promise))(function(i,f){function o(n){try{e(r.next(n))}catch(t){f(t)}}function s(n){try{e(r["throw"](n))}catch(t){f(t)}}function e(n){n.done?i(n.value):u(n.value).then(o,s)}e((r=r.apply(n,t||[])).next())})},_pagesize=10,pageIndex=0,Bizgaze;(function(n){let t;(function(t){let i;(function(t){let i;(function(t){let i;(function(t){class i extends Unibase.Platform.Core.BaseComponent{constructor(){super(...arguments);this.Installedappid=0}cssFiles(){return[""]}jsFiles(){return["apps/transact/components/Wallets/payoutrequestsubmissionapproval.js","apps/transact/managers/wallets/walletmanager.js","tenants/themes/default/components/details/details.js","apps/transact/managers/inventory/itemmanager.js","tenants/themes/default/notificationrefresh.js","apps/paybacks/components/secondaryqrcodedetails.js","libs/bizgaze/helpers/messages/messagehelper.js",]}init(t){var r=this,i;n.Apps.Transact.Components.Wallets.PayoutRequestSubmissionApproval.Instance().render(t);n.Apps.Transact.Components.Wallets.PayoutRequestSubmissionApproval.Instance().LoadPayoutRequestSubmissionStages();n.Apps.Transact.Components.Wallets.PayoutRequestSubmissionApproval.Instance().getInstalledapp();$("#txt_CouponSubmission_Org_search").change(function(){$(".CpnSubmission").remove();pageIndex=0;var t=Number($("select#txt_CouponSubmission_Org_search option:selected").val());t!=0&&n.Apps.Transact.Components.Wallets.PayoutRequestSubmissionApproval.Instance().getPayoutRequestSubmissionApproval(t,0)});$("#checkAll").change(function(){$("input:checkbox").prop("checked",$(this).prop("checked"))});$("#btn_list_load_more__modal_bizgaze_srpl").click(function(){pageIndex++;var t=Number($("select#txt_CouponSubmission_Org_search option:selected").val());t!=0&&n.Apps.Transact.Components.Wallets.PayoutRequestSubmissionApproval.Instance().getPayoutRequestSubmissionApproval(t,pageIndex)});i="";$("#btnsubmissions").click(function(){$("select#txt_CouponSubmission_Org_search option:selected").text()=="Successfully Generated"&&n.Apps.Transact.Components.Wallets.PayoutRequestSubmissionApproval.Instance().ApprovedByFinanceStage();$("select#txt_CouponSubmission_Org_search option:selected").text()=="In-Progress"&&(i="authenticsucessfullygenerated",n.Apps.Transact.Components.Wallets.PayoutRequestSubmissionApproval.Instance().SuccessfullyGenerateStage(i));$("select#txt_CouponSubmission_Org_search option:selected").text()=="Payment In-Progress"&&(i="authenticapprovedbyfinance",n.Apps.Transact.Components.Wallets.PayoutRequestSubmissionApproval.Instance().SuccessfullyGenerateStage(i))})}html(){return``}load(){return __awaiter(this,void 0,void 0,function*(){var n=this})}loadhtml(){var n=this;return``}render(n){var t=`