⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.1
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
makarnacimmix.xyz
/
public
/
dist
/
js
/
View File Name :
149.dac749.js
/*! For license information please see 149.dac749.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[149],{415:function(t,a,e){"use strict";e.r(a);var n=e(7),r=e.n(n);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(){i=function(){return t};var t={},a=Object.prototype,e=a.hasOwnProperty,n=Object.defineProperty||function(t,a,e){t[a]=e.value},r="function"==typeof Symbol?Symbol:{},s=r.iterator||"@@iterator",l=r.asyncIterator||"@@asyncIterator",c=r.toStringTag||"@@toStringTag";function u(t,a,e){return Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[a]}try{u({},"")}catch(t){u=function(t,a,e){return t[a]=e}}function v(t,a,e,r){var o=a&&a.prototype instanceof d?a:d,i=Object.create(o.prototype),s=new E(r||[]);return n(i,"_invoke",{value:D(t,e,s)}),i}function _(t,a,e){try{return{type:"normal",arg:t.call(a,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=v;var h={};function d(){}function f(){}function m(){}var p={};u(p,s,(function(){return this}));var y=Object.getPrototypeOf,g=y&&y(y(k([])));g&&g!==a&&e.call(g,s)&&(p=g);var b=m.prototype=d.prototype=Object.create(p);function w(t){["next","throw","return"].forEach((function(a){u(t,a,(function(t){return this._invoke(a,t)}))}))}function C(t,a){var r;n(this,"_invoke",{value:function(n,i){function s(){return new a((function(r,s){!function n(r,i,s,l){var c=_(t[r],t,i);if("throw"!==c.type){var u=c.arg,v=u.value;return v&&"object"==o(v)&&e.call(v,"__await")?a.resolve(v.__await).then((function(t){n("next",t,s,l)}),(function(t){n("throw",t,s,l)})):a.resolve(v).then((function(t){u.value=t,s(u)}),(function(t){return n("throw",t,s,l)}))}l(c.arg)}(n,i,r,s)}))}return r=r?r.then(s,s):s()}})}function D(t,a,e){var n="suspendedStart";return function(r,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===r)throw o;return O()}for(e.method=r,e.arg=o;;){var i=e.delegate;if(i){var s=x(i,e);if(s){if(s===h)continue;return s}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===n)throw n="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n="executing";var l=_(t,a,e);if("normal"===l.type){if(n=e.done?"completed":"suspendedYield",l.arg===h)continue;return{value:l.arg,done:e.done}}"throw"===l.type&&(n="completed",e.method="throw",e.arg=l.arg)}}}function x(t,a){var e=a.method,n=t.iterator[e];if(void 0===n)return a.delegate=null,"throw"===e&&t.iterator.return&&(a.method="return",a.arg=void 0,x(t,a),"throw"===a.method)||"return"!==e&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+e+"' method")),h;var r=_(n,t.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,h;var o=r.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=void 0),a.delegate=null,h):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,h)}function L(t){var a={tryLoc:t[0]};1 in t&&(a.catchLoc=t[1]),2 in t&&(a.finallyLoc=t[2],a.afterLoc=t[3]),this.tryEntries.push(a)}function $(t){var a=t.completion||{};a.type="normal",delete a.arg,t.completion=a}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function k(t){if(t){var a=t[s];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function a(){for(;++n<t.length;)if(e.call(t,n))return a.value=t[n],a.done=!1,a;return a.value=void 0,a.done=!0,a};return r.next=r}}return{next:O}}function O(){return{value:void 0,done:!0}}return f.prototype=m,n(b,"constructor",{value:m,configurable:!0}),n(m,"constructor",{value:f,configurable:!0}),f.displayName=u(m,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var a="function"==typeof t&&t.constructor;return!!a&&(a===f||"GeneratorFunction"===(a.displayName||a.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,u(t,c,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},w(C.prototype),u(C.prototype,l,(function(){return this})),t.AsyncIterator=C,t.async=function(a,e,n,r,o){void 0===o&&(o=Promise);var i=new C(v(a,e,n,r),o);return t.isGeneratorFunction(e)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},w(b),u(b,c,"Generator"),u(b,s,(function(){return this})),u(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var a=Object(t),e=[];for(var n in a)e.push(n);return e.reverse(),function t(){for(;e.length;){var n=e.pop();if(n in a)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=k,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach($),!t)for(var a in this)"t"===a.charAt(0)&&e.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function n(e,n){return i.type="throw",i.arg=t,a.next=e,n&&(a.method="next",a.arg=void 0),!!n}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=e.call(o,"catchLoc"),l=e.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,a){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&e.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=a&&a<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=a,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(i)},complete:function(t,a){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&a&&(this.next=a),h},finish:function(t){for(var a=this.tryEntries.length-1;a>=0;--a){var e=this.tryEntries[a];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),$(e),h}},catch:function(t){for(var a=this.tryEntries.length-1;a>=0;--a){var e=this.tryEntries[a];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var r=n.arg;$(e)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,a,e){return this.delegate={iterator:k(t),resultName:a,nextLoc:e},"next"===this.method&&(this.arg=void 0),h}},t}function s(t,a,e,n,r,o,i){try{var s=t[o](i),l=s.value}catch(t){return void e(t)}s.done?a(l):Promise.resolve(l).then(n,r)}var l={middleware:["auth","check-permissions"],metaInfo:function(){return{title:this.$t("loans.payments.view.page_title")}},components:{Modal:e(22).a},data:function(){return{breadcrumbsCurrent:"loans.payments.view.breadcrumbs_current",breadcrumbs:[{name:"loans.payments.view.breadcrumbs_first",url:"home"},{name:"loans.payments.view.breadcrumbs_second",url:"loanPayments.index"},{name:"loans.payments.view.breadcrumbs_active",url:""}],showModal:!1,allData:""}},created:function(){this.getLoanPayment()},methods:{getLoanPayment:function(){var t,a=this;return(t=i().mark((function t(){var e,n;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.a.get(window.location.origin+"/api/loan-payments/"+a.$route.params.slug);case 2:e=t.sent,n=e.data,a.allData=n.data;case 5:case"end":return t.stop()}}),t)})),function(){var a=this,e=arguments;return new Promise((function(n,r){var o=t.apply(a,e);function i(t){s(o,n,r,i,l,"next",t)}function l(t){s(o,n,r,i,l,"throw",t)}i(void 0)}))})()},printWindow:function(){window.print()}}},c=e(1),u=Object(c.a)(l,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",[e("breadcrumbs",{attrs:{items:t.breadcrumbs,current:t.breadcrumbsCurrent}}),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-lg-12"},[e("div",{staticClass:"invoice p-3 mb-3"},[e("div",{staticClass:"row invoice-info"},[e("div",{staticClass:"col-sm-4 invoice-col"},[e("CompanyInfo")],1),t._v(" "),e("div",{staticClass:"col-sm-6 offset-sm-2 invoice-col float-right text-md-right"},[e("h5",[t._v(t._s(t.$t("loans.common.authority_details")))]),t._v(" "),t.allData.authority?e("div",[e("strong",[t._v(t._s(t.$t("common.name"))+":")]),t._v("\n "+t._s(t.allData.authority.name)),e("br"),t._v(" "),e("strong",[t._v(t._s(t.$t("common.email"))+":")]),t._v("\n "+t._s(t.allData.authority.email)),e("br"),t._v(" "),e("strong",[t._v(t._s(t.$t("common.contact_number"))+":")]),t._v("\n "+t._s(t.allData.authority.contactNumber)),e("br"),t._v(" "),e("strong",[t._v(t._s(t.$t("common.address"))+":")]),t._v("\n "+t._s(t.allData.authority.address)),e("br")]):t._e()])]),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"table-responsive table-custom"},[e("table",{staticClass:"table"},[e("thead",[e("tr",[e("th",[t._v(t._s(t.$t("common.image")))]),t._v(" "),e("th",[t._v(t._s(t.$t("loans.common.loan_ref")))]),t._v(" "),e("th",[t._v(t._s(t.$t("loans.common.payment_ref")))]),t._v(" "),t.allData.loan?e("th",[t._v(t._s(t.$t("common.payable")))]):t._e(),t._v(" "),e("th",[t._v(t._s(t.$t("loans.common.amount_paid")))]),t._v(" "),e("th",[t._v(t._s(t.$t("loans.common.interetest_paid")))]),t._v(" "),t.allData.account?e("th",[t._v(t._s(t.$t("common.account")))]):t._e(),t._v(" "),t.allData.note?e("th",[t._v(t._s(t.$t("common.note")))]):t._e(),t._v(" "),e("th",[t._v(t._s(t.$t("common.status")))]),t._v(" "),t.allData.date?e("th",[t._v(t._s(t.$t("common.date")))]):t._e(),t._v(" "),e("th",{staticClass:"text-right"},[t._v(t._s(t.$t("common.created_by")))])])]),t._v(" "),t.allData.loan?e("tbody",[e("tr",[e("td",[t.allData.image?e("a",{attrs:{href:"#",id:"show-modal"},on:{click:function(a){t.showModal=!0}}},[e("img",{staticClass:"rounded preview-sm",attrs:{src:t.allData.image,loading:"lazy"}})]):e("div",{staticClass:"bg-secondary rounded no-preview-sm"},[e("small",[t._v(t._s(t.$t("common.no_preview")))])])]),t._v(" "),e("td",[t._v(t._s(t.allData.loan.reference))]),t._v(" "),e("td",[t._v(t._s(t.allData.reference))]),t._v(" "),t.allData.loan?e("td",[t._v("\n "+t._s(t._f("withCurrency")(t.allData.loan.payable))+"\n ")]):t._e(),t._v(" "),e("td",[t._v(t._s(t._f("withCurrency")(t.allData.amount)))]),t._v(" "),e("td",[t._v(t._s(t._f("withCurrency")(t.allData.interest)))]),t._v(" "),t.allData.account?e("td",[t._v("\n "+t._s(t.allData.account.label)+"\n ")]):t._e(),t._v(" "),t.allData.note?e("td",[t._v(t._s(t.allData.note))]):t._e(),t._v(" "),e("td",[1==t.allData.status?e("span",{staticClass:"badge bg-success"},[t._v(t._s(t.$t("common.active")))]):e("span",{staticClass:"badge bg-danger"},[t._v(t._s(t.$t("common.in_active")))])]),t._v(" "),t.allData.date?e("td",[t._v("\n "+t._s(t._f("moment")(t.allData.date,"Do MMM, YYYY"))+"\n ")]):t._e(),t._v(" "),e("td",{staticClass:"text-right"},[t._v(t._s(t.allData.created_by))])])]):t._e()])])])]),t._v(" "),e("div",{staticClass:"row mt-4"},[e("div",{staticClass:"offset-xl-8 col-lg-12 col-xl-4 text-xl-right"},[t.allData.loan?e("div",{staticClass:"table-responsive table-custom table-border-y-0"},[e("table",{staticClass:"table"},[e("tbody",[e("tr",{staticClass:"bg-sub-light text-bold"},[e("th",[t._v(t._s(t.$t("loans.common.loan_amount"))+":")]),t._v(" "),e("td",[t._v("\n "+t._s(t._f("withCurrency")(t.allData.loan.transaction.amount))+"\n ")])]),t._v(" "),e("tr",[e("th",[t._v("\n "+t._s(t.$t("common.interest"))+"\n "),1==t.allData.loan.loanType?e("span",[t._v("("+t._s(t.allData.interestRate)+"%)")]):t._e(),t._v(":\n ")]),t._v(" "),e("td",[e("span",{staticClass:"plus-sign"},[t._v("+")]),t._v("\n "+t._s(t._f("withCurrency")(t.allData.loan.interestAmount))+"\n ")])]),t._v(" "),e("tr",{staticClass:"bg-indigo-light"},[e("th",[t._v(t._s(t.$t("common.payable"))+":")]),t._v(" "),1==t.allData.loan.loanType?e("td",[e("span",{staticClass:"equal-sign"},[t._v("=")]),t._v("\n "+t._s(t._f("withCurrency")(t.allData.loan.payable))+"\n ")]):e("td",[e("span",{staticClass:"equal-sign"},[t._v("=")]),t._v("\n "+t._s(t._f("withCurrency")(t.allData.loan.payable+t.allData.loan.interestAmount))+"\n ")])]),t._v(" "),e("tr",[e("th",[t._v(t._s(t.$t("common.total_paid"))+":")]),t._v(" "),e("td",[e("span",{staticClass:"minus-sign"},[t._v("-")]),t._v(" "),0==t.allData.loan.loanType?e("span",[t._v(t._s(t._f("withCurrency")(t.allData.loan.loanWithInterest)))]):e("span",[t._v(t._s(t._f("withCurrency")(t.allData.loan.totalPaid>0?t.allData.loan.totalPaid:0)))])])]),t._v(" "),e("tr",{staticClass:"bg-red-light"},[e("th",[t._v(t._s(t.$t("common.total_due"))+":")]),t._v(" "),e("td",[t._v(t._s(t._f("withCurrency")(t.allData.loan.due)))])])])])]):t._e()])]),t._v(" "),e("div",{staticClass:"row no-print mt-5"},[e("div",{staticClass:"col-12"},[e("router-link",{staticClass:"btn btn-dark float-right",attrs:{to:{name:"loanPayments.index"}}},[e("i",{staticClass:"fas fa-long-arrow-alt-left"}),t._v(" "+t._s(t.$t("common.back"))+"\n ")]),t._v(" "),e("a",{staticClass:"btn btn-default",attrs:{href:"#"},on:{click:t.printWindow}},[e("i",{staticClass:"fas fa-print"}),t._v(" "+t._s(t.$t("common.print")))])],1)])])])]),t._v(" "),t.showModal?e("Modal",{on:{close:function(a){t.showModal=!1}}},[e("h5",{attrs:{slot:"header"},slot:"header"},[t._v(t._s(t.$t("common.modal_header")))]),t._v(" "),e("div",{staticClass:"w-100",attrs:{slot:"body"},slot:"body"},[e("img",{staticClass:"rounded img-fluid",attrs:{src:t.allData.image,loading:"lazy"}})])]):t._e()],1)}),[],!1,null,null,null);a.default=u.exports}}]);