(self.webpackChunk=self.webpackChunk||[]).push([[906],{96906:(t,s,e)=>{"use strict";e.r(s),e.d(s,{default:()=>r});const a={props:["settings"],metaInfo:function(){return{title:this.trans("Settings")}},data:function(){return{form:this.$inertia.form({text:this.settings.text,local_price:this.settings.local_price,int_price:this.settings.int_price})}},methods:{submit:function(){var t=this;this.form.post(this.route("settings.store"),{onSuccess:function(){t.$message.success(t.trans("Success message"))}})}}};const r=(0,e(51900).Z)(a,(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("div",{staticClass:"flex bg-white p-4 text-lg border-b border-gray-300 h-20 items-center"},[e("div",{staticClass:"flex-1 font-semibold"},[t._v(t._s(t.trans("Settings")))])]),t._v(" "),e("a-form",{staticClass:"p-6"},[e("div",{staticClass:"flex space-x-4"},[e("a-form-item",{staticClass:"w-1/2",attrs:{label:t.trans("Local price")}},[e("a-input",{staticClass:"w-full",attrs:{placeholder:t.trans("Local price"),"addon-after":"TMT"},model:{value:t.form.local_price,callback:function(s){t.$set(t.form,"local_price",s)},expression:"form.local_price"}})],1),t._v(" "),e("a-form-item",{staticClass:"w-1/2",attrs:{label:t.trans("Inter price")}},[e("a-input",{staticClass:"w-full",attrs:{placeholder:t.trans("Inter price"),"addon-after":"USD"},model:{value:t.form.int_price,callback:function(s){t.$set(t.form,"int_price",s)},expression:"form.int_price"}})],1)],1),t._v(" "),e("a-form-item",{attrs:{label:t.trans("Exports text")}},[e("a-textarea",{staticStyle:{"min-height":"90px"},attrs:{rows:6,"auto-size":""},model:{value:t.form.text,callback:function(s){t.$set(t.form,"text",s)},expression:"form.text"}})],1),t._v(" "),e("a-button",{attrs:{type:"primary"},on:{click:t.submit}},[t._v(t._s(t.trans("Save")))])],1)],1)}),[],!1,null,null,null).exports}}]);