/home/techb158/ileadtechnology.com/SSM/public/js/product
Edit: /home/techb158/ileadtechnology.com/SSM/public/js/product/about.js (4411B)
(window.webpackJsonp=window.webpackJsonp||[]).push([[290],{"/4lQ":function(t,s,e){"use strict";var a={props:{product:{required:!0},update:{required:!1,default:0}},computed:{checkSupportValidity:function(){return helper.today()<=this.product.date_of_support_expiry}},filters:{moment:function(t){return helper.formatDate(t)}}},r=e("KHd+"),o=Object(r.a)(a,(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"table-responsive"},[t.product.name?e("table",{staticClass:"table"},[e("tbody",[e("tr",[e("th",[t._v("Product Name")]),t._v(" "),e("td",[t._v(t._s(t.product.name))])]),t._v(" "),e("tr",[e("th",[t._v("Current Version")]),t._v(" "),e("td",[t._v(t._s(t.product.current_version))])]),t._v(" "),e("tr",[e("th",[t._v("Latest Version")]),t._v(" "),e("td",[t._v("\n "+t._s(t.product.latest_version)+"\n "),t.product.current_version==t.product.latest_version||t.update?t._e():e("span",[e("br"),e("router-link",{staticClass:"btn btn-info btn-sm",attrs:{to:"/update"}},[t._v("Update Available")])],1),t._v(" "),t.product.current_version==t.product.latest_version?e("span",{staticClass:"btn btn-success btn-sm"},[t._v("Up-to-date")]):t._e()])]),t._v(" "),e("tr",[e("th",[t._v("Latest Version Release")]),t._v(" "),e("td",[t._v(t._s(t._f("moment")(t.product.latest_version_release)))])]),t._v(" "),e("tr",[e("th",[t._v("Purchase Code")]),t._v(" "),e("td",[t._v(t._s(t.product.purchase_code))])]),t._v(" "),e("tr",[e("th",[t._v("Registered Email Id")]),t._v(" "),e("td",[t._v(t._s(t.product.email))])]),t._v(" "),e("tr",[e("th",[t._v("License Type")]),t._v(" "),e("td",[t._v(t._s(t.product.license_type))])]),t._v(" "),e("tr",[e("th",[t._v("Date of Purchase")]),t._v(" "),e("td",[t._v(t._s(t._f("moment")(t.product.date_of_purchase)))])]),t._v(" "),e("tr",[e("th",[t._v("Support Validity "),e("br"),t._v(" "),e("a",{staticClass:"btn btn-info btn-sm",attrs:{href:"http://codecanyon.net/item/x/"+t.product.envato_code+"?=ScriptMint",target:"_blank"}},[t._v("Renew Support")])]),t._v(" "),e("td",[t._v(t._s(t._f("moment")(t.product.date_of_support_expiry))+" "),e("br"),t._v(" "),t.checkSupportValidity?e("span",{staticClass:"label label-success"},[t._v("Supported")]):e("span",{staticClass:"label label-danger"},[t._v("Expired")])])]),t._v(" "),e("tr",[e("th",[t._v("Access Code")]),t._v(" "),e("td",[t._v(t._s(t.product.access_code))])]),t._v(" "),e("tr",[e("th",[t._v("Checksum")]),t._v(" "),e("td",[t._v(t._s(t.product.checksum))])])])]):t._e()])}),[],!1,null,null,null);s.a=o.exports},MHG4:function(t,s,e){"use strict";e.r(s);var a={components:{product:e("/4lQ").a},data:function(){return{content:"",product:{}}},mounted:function(){helper.hasRole("admin")&&helper.getConfig("pb")||this.$router.push("/"),this.getContent()},methods:{getContent:function(){var t=this,s=this.$loading.show();axios.get("/api/about").then((function(e){t.content=e.about,t.product=e.product,s.hide()})).catch((function(t){s.hide(),helper.showErrorMsg(t)}))}},filters:{moment:function(t){return helper.formatDate(t)}}},r=e("KHd+"),o=Object(r.a)(a,(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("div",{staticClass:"page-titles"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-sm-6"},[e("h3",{staticClass:"text-themecolor"},[t._v(t._s(t.trans("general.about")))])]),t._v(" "),e("div",{staticClass:"col-12 col-sm-6"},[e("div",{staticClass:"action-buttons pull-right"},[e("button",{staticClass:"btn btn-danger btn-sm",on:{click:function(s){return t.$router.push("/dashboard")}}},[e("i",{staticClass:"fas fa-home"}),t._v(" "),e("span",{staticClass:"d-none d-sm-inline"},[t._v(t._s(t.trans("general.home")))])])])])])]),t._v(" "),e("div",{staticClass:"container-fluid p-4"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-sm-6"},[e("div",{staticClass:"card"},[e("div",{staticClass:"card-body"},[e("h4",{staticClass:"card-title"},[t._v(t._s(t.trans("general.about")))]),t._v(" "),e("div",{domProps:{innerHTML:t._s(t.content)}})])])]),t._v(" "),e("div",{staticClass:"col-12 col-sm-6"},[e("div",{staticClass:"card"},[e("div",{staticClass:"card-body"},[e("h4",{staticClass:"card-title"},[t._v(t._s(t.trans("general.product_information")))]),t._v(" "),e("product",{attrs:{product:t.product}})],1)])])])])])}),[],!1,null,null,null);s.default=o.exports}}]);
//# sourceMappingURL=about.js.map?id=e929447ab1015022f6bd