{"version":3,"sources":["webpack:///./src/views/Plants/Orders/order-add/orderAdd.vue?230b","webpack:///./src/@core/mixins/ui/transition.js","webpack:///./src/views/Plants/Orders/order-add/orderAdd.vue?8638","webpack:///./src/views/Plants/Orders/order-add/orderAdd.vue?efe3","webpack:///src/views/Plants/Orders/order-add/orderAdd.vue","webpack:///./src/views/Plants/Orders/order-add/orderAdd.vue?69c1","webpack:///./src/views/Plants/Orders/order-add/orderAdd.vue?cfdd"],"names":["heightTransition","data","trHeight","methods","trAddHeight","val","heightValue","Number","this","substring","length","trTrimHeight","trSetHeight","render","_vm","_h","$createElement","_c","_self","itemsOptions","staticClass","attrs","on","$event","preventDefault","staticStyle","directives","name","rawName","value","expression","modifiers","addOrder","_v","_s","$t","$i18n","locale","year","month","day","model","invoiceData","callback","$$v","$set","ref","style","height","_l","item","index","key","refInFor","$store","state","appConfig","isRTL","updateItemForm","vadeNames","option","productname","label","unitid","items","qty","$forceUpdate","cost","_e","removeItem","addNewItemInItemForm","staticRenderFns","components","BRow","BCol","BCard","BCardBody","BButton","BForm","BFormInput","BFormTextarea","vSelect","Logo","BFormDatepicker","Ripple","beforeRouteEnter","to","meta","breadcrumb","push","text","active","next","mixins","lastSelected","clients","itemFormBlankItem","id","karisim","kod","max","min","price","selected","vade1","vade2","vade3","vade4","client","orderdate","duedate","salesPerson","note","paymentMethod","prices","created","window","addEventListener","initTrHeight","destroyed","removeEventListener","$refs","form","overflow","$nextTick","setTimeout","splice","row","offsetHeight","undefined","sira","selectedPrices","termid","component"],"mappings":"2IAAA,W,yGCAaA,EAAmB,CAa9BC,KAb8B,WAc5B,MAAO,CACLC,SAAU,OAGdC,QAAS,CACPC,YADO,SACKC,GAQV,IAAMC,EAAcC,OAClBC,KAAKN,SAASO,UAAU,EAAGD,KAAKN,SAASQ,OAAS,IAEpDF,KAAKN,SAAL,UAAmBI,EAAcC,OAAOF,GAAxC,OAEFM,aAdO,SAcMN,GAQX,IAAMC,EAAcC,OAClBC,KAAKN,SAASO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xC,OAAwC,CAAxC,MAEM3C,KAAK0D,kBC/aoX,I,kCCS3XmE,EAAY,eACd,EACAxH,EACA0D,GACA,EACA,KACA,WACA,MAIa,aAAA8D,E","file":"js/chunk-41b9bf20.05a745a0.js","sourcesContent":["export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./orderAdd.vue?vue&type=style&index=0&lang=scss&\"","export const heightTransition = {\n /*\n\n HowTo:\n 1. Add dynamic style to element and set style as `trHeight`\n 2. Set transition speed using `transition: 0.35s height;` <= you can use appropriate value;\n 3. Optionally you can set `overflow: hidden;` to hide element overflow while height is animated.\n 4. Set initial height using `trSetHeight` before any operation. [mounted hook is recommended - You can use `ref` for dynamic contents]\n 5. Toggle height using height operations 🍻\n 6. Toggle usage of $nextTick for height operations is any issue occur [experimental] 🔬\n\n */\n\n data() {\n return {\n trHeight: null,\n };\n },\n methods: {\n trAddHeight(val) {\n // Add height to existing height\n // Usage: Where new element is append or more height is added (e.g. list append)\n\n /* Assumes:\n - Height is assigned and is `String`\n - Incoming value is valid number in `Number` or `String`\n */\n const heightValue = Number(\n this.trHeight.substring(0, this.trHeight.length - 2)\n );\n this.trHeight = `${heightValue + Number(val)}px`;\n },\n trTrimHeight(val) {\n // Remove height from existing height\n // Usage: Where new element is removed or height is remove (e.g. list pop/ele remove)\n\n /* Assumes:\n - Height is assigned and is `String`\n - Incoming value is valid number in `Number` or `String`\n */\n const heightValue = Number(\n this.trHeight.substring(0, this.trHeight.length - 2)\n );\n this.trHeight = `${heightValue - Number(val)}px`;\n },\n trSetHeight(val) {\n // Set height\n // Usage: Mostly for assigning initial value from mounted hook\n\n /* Assumes:\n - Height is not assigned and what to assign for add/remove operation\n - What to set height at something for odd usage\n - Incoming value is valid number in `Number` or `String`\n */\n if (val === null) this.trHeight = \"auto\";\n else this.trHeight = `${Number(val)}px`;\n },\n },\n};\n\n// Ignore below for now. We will remove it when we add more transition in future.\nexport const _ = null;\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./orderAdd.vue?vue&type=style&index=1&id=6cda6cde&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.itemsOptions.length)?_c('section',{staticClass:\"invoice-add-wrapper\"},[_c('b-row',{staticClass:\"invoice-add\"},[_c('b-col',{attrs:{\"cols\":\"12\",\"xl\":\"12\",\"md\":\"12\"}},[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();}}},[_c('b-card',{staticClass:\"invoice-preview-card\",attrs:{\"no-body\":\"\"}},[_c('b-card-body',{staticClass:\"invoice-padding pb-0\"},[_c('div',{staticClass:\"d-flex justify-content-between invoice-spacing mt-0\"},[_c('div',[_c('div',{staticClass:\"logo-wrapper position-relative\"},[_c('logo',{staticClass:\"position-absolute\",staticStyle:{\"top\":\"7px\"},attrs:{\"height\":\"75\"}})],1)]),_c('div',{staticClass:\"d-flex flex-column\"},[_c('div',{staticClass:\"d-flex justify-content-end invoice-spacing\"},[_c('b-button',{directives:[{name:\"ripple\",rawName:\"v-ripple.400\",value:('rgba(113, 102, 240, 0.15)'),expression:\"'rgba(113, 102, 240, 0.15)'\",modifiers:{\"400\":true}}],attrs:{\"variant\":\"outline-primary\"},on:{\"click\":_vm.addOrder}},[_c('feather-icon',{attrs:{\"icon\":\"SaveIcon\"}})],1)],1),_c('div',{staticClass:\"\\n d-flex\\n justify-content-between\\n invoice-number-date\\n flex-column flex-md-row\\n \"},[_c('div',{staticClass:\"d-flex align-items-start mb-2 mr-md-1\"},[_c('span',{staticClass:\"title\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"orderDate\"))+\": \")]),_c('b-form-datepicker',{staticClass:\"form-control invoice-edit-input\",attrs:{\"locale\":_vm.$i18n.locale,\"date-format-options\":{\n year: 'numeric',\n month: 'numeric',\n day: '2-digit',\n },\"placeholder\":\"\"},model:{value:(_vm.invoiceData.orderdate),callback:function ($$v) {_vm.$set(_vm.invoiceData, \"orderdate\", $$v)},expression:\"invoiceData.orderdate\"}})],1),_c('div',{staticClass:\"d-flex align-items-start\"},[_c('span',{staticClass:\"title\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"dueDate\"))+\": \")]),_c('b-form-datepicker',{staticClass:\"form-control invoice-edit-input\",attrs:{\"locale\":_vm.$i18n.locale,\"date-format-options\":{\n year: 'numeric',\n month: 'numeric',\n day: '2-digit',\n },\"placeholder\":\"\"},model:{value:(_vm.invoiceData.duedate),callback:function ($$v) {_vm.$set(_vm.invoiceData, \"duedate\", $$v)},expression:\"invoiceData.duedate\"}})],1)])])])]),_c('hr',{staticClass:\"invoice-spacing\"}),_c('b-card-body',{staticClass:\"invoice-padding pt-0\"},[_c('b-row',{staticClass:\"invoice-spacing\"},[_c('b-col',{staticClass:\"mt-xl-0 mt-2 justify-content-end d-xl-flex d-block\",attrs:{\"xl\":\"6\",\"cols\":\"12\"}})],1)],1),_c('b-card-body',{staticClass:\"invoice-padding form-item-section\"},[_c('div',{ref:\"form\",staticClass:\"repeater-form\",style:({ height: _vm.trHeight })},_vm._l((_vm.invoiceData.items),function(item,index){return _c('b-row',{key:index,ref:\"row\",refInFor:true,staticClass:\"pb-2\"},[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"d-none d-lg-flex\"},[_c('b-row',{staticClass:\"flex-grow-1 px-1\"},[_c('b-col',{attrs:{\"cols\":\"12\",\"lg\":\"4\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"productName\"))+\" \")]),_c('b-col',{attrs:{\"cols\":\"12\",\"lg\":\"3\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"term\"))+\" \")]),_c('b-col',{attrs:{\"cols\":\"12\",\"lg\":\"3\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"unit\"))+\" \")]),_c('b-col',{attrs:{\"cols\":\"12\",\"lg\":\"2\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"amount\"))+\" \")])],1),_c('div',{staticClass:\"form-item-action-col\"})],1),_c('div',{staticClass:\"d-flex border rounded\"},[_c('b-row',{staticClass:\"flex-grow-1 p-2\"},[_c('b-col',{attrs:{\"cols\":\"12\",\"lg\":\"4\"}},[_c('label',{staticClass:\"d-inline d-lg-none\"},[_vm._v(\"Item\")]),_c('v-select',{staticClass:\"mb-2 item-selector-title\",attrs:{\"dir\":_vm.$store.state.appConfig.isRTL ? 'rtl' : 'ltr',\"options\":_vm.itemsOptions,\"clearable\":false,\"placeholder\":_vm.$t('productName')},on:{\"input\":function (val) { return _vm.updateItemForm(index, val); }}})],1),_c('b-col',{attrs:{\"cols\":\"12\",\"lg\":\"3\"}},[_c('label',{staticClass:\"d-inline d-lg-none\"},[_vm._v(\"Vade Name\")]),_c('v-select',{staticClass:\"mb-2 item-selector-title\",attrs:{\"dir\":_vm.$store.state.appConfig.isRTL ? 'rtl' : 'ltr',\"options\":_vm.vadeNames,\"label\":\"vadeadi\",\"clearable\":false,\"selectable\":function (option) { return item.productname != ''; },\"placeholder\":_vm.$t('term')},on:{\"input\":function (val) { return _vm.updateItemForm(index, val); }}})],1),_c('b-col',{attrs:{\"cols\":\"12\",\"lg\":\"3\"}},[_c('label',{staticClass:\"d-inline d-lg-none\"},[_vm._v(\"Unit\")]),_c('v-select',{staticClass:\"mb-2 item-selector-title\",attrs:{\"dir\":_vm.$store.state.appConfig.isRTL ? 'rtl' : 'ltr',\"options\":[\n { label: 'Çuval (50 KG)', value: 1 },\n { label: 'Ton', value: 2 },\n { label: 'Kilo', value: 3 } ],\"clearable\":false,\"selectable\":function (option) { return item.productname != ''; },\"placeholder\":_vm.$t('unit')},on:{\"input\":function (val) {\n item.unitid = val.value;\n }}})],1),_c('b-col',{attrs:{\"cols\":\"12\",\"lg\":\"2\"}},[_c('label',{staticClass:\"d-inline d-lg-none\"},[_vm._v(\"Qty\")]),_c('b-form-input',{staticClass:\"mb-2\",attrs:{\"type\":\"number\"},on:{\"input\":function (val) {\n _vm.invoiceData.items[index].qty = val;\n _vm.$forceUpdate();\n }},model:{value:(item.qty),callback:function ($$v) {_vm.$set(item, \"qty\", $$v)},expression:\"item.qty\"}})],1),(item.cost)?_c('b-col',{attrs:{\"cols\":\"12\",\"lg\":\"5\"}},[_c('label',{staticClass:\"d-inline d-lg-none\"},[_vm._v(\"Birim Fiyat\")]),_c('p',{staticClass:\"mb-1\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"unitPrice\"))+\" : TL\"+_vm._s(item.cost)+\" \")])]):_vm._e(),_c('b-col',{attrs:{\"cols\":\"12\",\"lg\":\"5\"}},[_c('label',{staticClass:\"d-inline d-lg-none\"},[_vm._v(\"Price\")]),_c('p',{staticClass:\"mb-1\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"price\"))+\" : TL\"+_vm._s(item.cost * item.qty)+\" \")])])],1),_c('div',{staticClass:\"\\n d-flex\\n flex-column\\n justify-content-between\\n border-left\\n py-50\\n px-25\\n \"},[_c('feather-icon',{staticClass:\"cursor-pointer\",attrs:{\"size\":\"16\",\"icon\":\"XIcon\"},on:{\"click\":function($event){return _vm.removeItem(index)}}})],1)],1)])],1)}),1),_c('b-button',{directives:[{name:\"ripple\",rawName:\"v-ripple.400\",value:('rgba(255, 255, 255, 0.15)'),expression:\"'rgba(255, 255, 255, 0.15)'\",modifiers:{\"400\":true}}],attrs:{\"size\":\"sm\",\"variant\":\"primary\"},on:{\"click\":_vm.addNewItemInItemForm}},[_vm._v(\" \"+_vm._s(_vm.$t(\"add\"))+\" \")])],1),_c('hr',{staticClass:\"invoice-spacing\"}),_c('b-card-body',{staticClass:\"invoice-padding pt-0\"},[_c('span',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm.$t(\"note\"))+\": \")]),_c('b-form-textarea',{model:{value:(_vm.invoiceData.note),callback:function ($$v) {_vm.$set(_vm.invoiceData, \"note\", $$v)},expression:\"invoiceData.note\"}})],1)],1)],1)],1)],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./orderAdd.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./orderAdd.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./orderAdd.vue?vue&type=template&id=6cda6cde&scoped=true&\"\nimport script from \"./orderAdd.vue?vue&type=script&lang=js&\"\nexport * from \"./orderAdd.vue?vue&type=script&lang=js&\"\nimport style0 from \"./orderAdd.vue?vue&type=style&index=0&lang=scss&\"\nimport style1 from \"./orderAdd.vue?vue&type=style&index=1&id=6cda6cde&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6cda6cde\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}