{"version":3,"sources":["webpack:///./src/components/Profile/RMA.vue","webpack:///src/components/Profile/RMA.vue","webpack:///./src/components/Profile/RMA.vue?84b1","webpack:///./src/components/Profile/RMA.vue?c7c2"],"names":["render","_vm","this","_c","_self","staticClass","_v","_s","translations","rmaForm","attrs","_m","_l","statuses","item","key","id","on","$event","getComplaints","title","preventDefault","stopPropagation","handleSubmit","apply","arguments","directives","name","rawName","value","contactPerson","expression","domProps","target","composing","productName","articleTitle","articleCode","articleBrand","articleSerialNumber","ref","handlePhotoUpload","description","staticStyle","hasWarranty","_q","billNumber","continueShopping","complaints","length","complaint","index","formatDate","createdDate","find","problemStatus","comment","noRecords","staticRenderFns","mixins","data","image","file","fileName","computed","helpers","RMAProblemStatusCodesArray","$store","getters","methods","api","createComplaint","then","response","$toast","info","$refs","catch","err","error","date","dateFormat","format","Date","files","reader","FileReader","readAsDataURL","onload","e","result","split","dispatch","pageSize","page","sortBy","isSortAscending","retrieveAll","quickSearch","mounted","window","scrollTo","top","behavior","component"],"mappings":"8GAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACF,EAAG,KAAK,CAACE,YAAY,uCAAuC,CAACF,EAAG,IAAI,CAACE,YAAY,iCAAiCJ,EAAIK,GAAGL,EAAIM,GAAGN,EAAIO,aAAaC,SAAS,OAAON,EAAG,MAAM,CAACE,YAAY,4BAA4B,CAACF,EAAG,MAAM,CAACE,YAAY,YAAY,CAACF,EAAG,KAAK,CAACE,YAAY,eAAeK,MAAM,CAAC,KAAO,YAAY,CAACT,EAAIU,GAAG,GAAGV,EAAIW,GAAIX,EAAIY,UAAU,SAASC,GAAM,OAAOX,EAAG,KAAK,CAACY,IAAID,EAAKE,GAAGX,YAAY,WAAWY,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOjB,EAAIkB,cAAcL,EAAKE,OAAO,CAACb,EAAG,IAAI,CAACE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AA,MACAsB,EAAA,aACAvB,GACA,KAEAgC,OAAAC,gBAAA,CACAzC,gBACAgB,aACAF,cACAF,cACAN,eACAC,cACAE,sBACAsB,QACAvB,iBACAkC,KAAAC,IACA,KAAAC,OAAAC,KAAAF,EAAAb,KAAAe,MACA,KAAA7C,cAAA,GACA,KAAAgB,WAAA,GACA,KAAAF,YAAA,GACA,KAAAF,YAAA,GACA,KAAAN,aAAA,GACA,KAAAC,YAAA,GACA,KAAAE,oBAAA,GACA,KAAAsB,MAAA,CACAC,KAAA,GACAC,SAAA,IAEA,KAAAzB,aAAA,GACA,KAAAsC,MAAAf,MAAAhC,MAAA,OACAgD,MAAAC,IACA,KAAAJ,OAAAK,MAAAD,EAAAL,SAAAb,KAAAe,SAGAvB,WAAA4B,EAAAC,GACA,OAAAC,eAAA,IAAAC,KAAAH,GAAAC,IAEAxC,oBACA,MAAAqB,EAAA,KAAAc,MAAAf,MAAAuB,MAAA,GACAC,EAAA,IAAAC,WACAD,EAAAE,cAAAzB,GAEAuB,EAAAG,OAAAC,IAEA,KAAA5B,MAAAC,KAAA2B,EAAAxD,OAAAyD,OAAAC,MAAA,QACA,KAAA9B,MAAAE,SAAAD,EAAAnC,OAGAR,cAAAH,GACA,KAAAmD,OAAAyB,SAAA,iBACAC,SAAA,GACAC,KAAA,EACAC,OAAA,cACAC,iBAAA,EACAC,aAAA,EACAC,YAAA,GACA3C,cAAAvC,MAIAmF,UACAC,OAAAC,SAAA,CAAAC,IAAA,EAAAC,SAAA,aCrUyX,I,YCOrXC,EAAY,eACd,EACAxG,EACA0D,GACA,EACA,KACA,KACA,MAIa,aAAA8C,E","file":"js/rma.8e2fadec.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"download-content\"},[_c('h3',{staticClass:\"account-sub-title d-none d-md-block\"},[_c('i',{staticClass:\"sicon-note align-middle mr-3\"}),_vm._v(_vm._s(_vm.translations.rmaForm)+\" \")]),_c('div',{staticClass:\"download-table-container\"},[_c('div',{staticClass:\"rma-tabs\"},[_c('ul',{staticClass:\"nav nav-tabs\",attrs:{\"role\":\"tablist\"}},[_vm._m(0),_vm._l((_vm.statuses),function(item){return _c('li',{key:item.id,staticClass:\"nav-item\",on:{\"click\":function($event){return _vm.getComplaints(item.id)}}},[_c('a',{staticClass:\"nav-link pt-md-2 pt-5\",attrs:{\"href\":`#rma-${item.id}`,\"data-toggle\":\"tab\",\"role\":\"tab\",\"aria-controls\":`#rma-${item.id}`,\"aria-selected\":\"false\"}},[_vm._v(\" \"+_vm._s(item.title)+\" \")])])})],2),_c('div',{staticClass:\"tab-content\"},[_c('div',{staticClass:\"tab-pane fade show active\",attrs:{\"id\":\"new-rma\",\"role\":\"tabpanel\",\"aria-labelledby\":\"new-rma\"}},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.handleSubmit.apply(null, arguments)}}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-6\"},[_c('div',{staticClass:\"form-group\"},[_vm._m(1),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.contactPerson),expression:\"contactPerson\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":\"\",\"id\":\"contactPerson\",\"name\":\"contactPerson\",\"required\":\"\"},domProps:{\"value\":(_vm.contactPerson)},on:{\"input\":function($event){if($event.target.composing)return;_vm.contactPerson=$event.target.value}}})]),_c('div',{staticClass:\"form-group\"},[_c('label',{attrs:{\"for\":\"productName\"}},[_vm._v(\" \"+_vm._s(_vm.translations.productName)+\" \"),_c('span',{staticClass:\"required\"},[_vm._v(\"*\")])]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.articleTitle),expression:\"articleTitle\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":\"\",\"id\":\"productName\",\"name\":\"productName\",\"required\":\"\"},domProps:{\"value\":(_vm.articleTitle)},on:{\"input\":function($event){if($event.target.composing)return;_vm.articleTitle=$event.target.value}}})]),_c('div',{staticClass:\"form-group\"},[_vm._m(2),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.articleCode),expression:\"articleCode\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":\"\",\"id\":\"productCode\",\"name\":\"productCode\",\"required\":\"\"},domProps:{\"value\":(_vm.articleCode)},on:{\"input\":function($event){if($event.target.composing)return;_vm.articleCode=$event.target.value}}})]),_c('div',{staticClass:\"form-group\"},[_vm._m(3),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.articleBrand),expression:\"articleBrand\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":\"\",\"id\":\"productBrand\",\"name\":\"productBrand\",\"required\":\"\"},domProps:{\"value\":(_vm.articleBrand)},on:{\"input\":function($event){if($event.target.composing)return;_vm.articleBrand=$event.target.value}}})]),_c('div',{staticClass:\"form-group\"},[_vm._m(4),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.articleSerialNumber),expression:\"articleSerialNumber\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":\"\",\"id\":\"productSerial\",\"name\":\"productSerial\",\"required\":\"\"},domProps:{\"value\":(_vm.articleSerialNumber)},on:{\"input\":function($event){if($event.target.composing)return;_vm.articleSerialNumber=$event.target.value}}})]),_c('div',{staticClass:\"form-group\"},[_c('label',{staticClass:\"form-label\",attrs:{\"for\":\"formFileMultiple\"}},[_vm._v(\"Priložite slike, datoteke...\")]),_c('input',{ref:\"image\",staticClass:\"form-control\",attrs:{\"type\":\"file\",\"id\":\"formFileMultiple\",\"accept\":\"image/*\"},on:{\"change\":_vm.handlePhotoUpload}})])]),_c('div',{staticClass:\"col-md-6\"},[_c('div',{staticClass:\"form-group\"},[_vm._m(5),_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.description),expression:\"description\"}],staticClass:\"form-control\",staticStyle:{\"line-height\":\"1.54\"},attrs:{\"id\":\"rmaDescription\",\"name\":\"rmaDescrip\",\"rows\":\"12\",\"required\":\"\"},domProps:{\"value\":(_vm.description)},on:{\"input\":function($event){if($event.target.composing)return;_vm.description=$event.target.value}}})]),_c('hr'),_c('div',{staticClass:\"align-items-baseline d-flex radio-wrapper\"},[_vm._m(6),_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"custom-control custom-radio d-flex\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.hasWarranty),expression:\"hasWarranty\"}],staticClass:\"custom-control-input\",attrs:{\"type\":\"radio\",\"name\":\"radio\",\"value\":\"1\",\"required\":\"\"},domProps:{\"checked\":_vm._q(_vm.hasWarranty,\"1\")},on:{\"change\":function($event){_vm.hasWarranty=\"1\"}}}),_c('label',{staticClass:\"custom-control-label-radio\"},[_vm._v(\"Da\")])])]),_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"custom-control custom-radio d-flex\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.hasWarranty),expression:\"hasWarranty\"}],staticClass:\"custom-control-input\",attrs:{\"type\":\"radio\",\"name\":\"radio\",\"value\":\"2\"},domProps:{\"checked\":_vm._q(_vm.hasWarranty,\"2\")},on:{\"change\":function($event){_vm.hasWarranty=\"2\"}}}),_c('label',{staticClass:\"custom-control-label-radio\"},[_vm._v(\"Ne\")])])]),_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"custom-control custom-radio d-flex\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.hasWarranty),expression:\"hasWarranty\"}],staticClass:\"custom-control-input\",attrs:{\"type\":\"radio\",\"name\":\"radio\",\"checked\":\"\",\"value\":\"3\"},domProps:{\"checked\":_vm._q(_vm.hasWarranty,\"3\")},on:{\"change\":function($event){_vm.hasWarranty=\"3\"}}}),_c('label',{staticClass:\"custom-control-label-radio\"},[_vm._v(\"Neodređeno\")])])])]),_c('div',{staticClass:\"form-group\"},[_c('label',{attrs:{\"for\":\"accountNumber\"}},[_vm._v(\"Broj računa\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.billNumber),expression:\"billNumber\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":\"\",\"id\":\"accountNumber\",\"name\":\"accountNumber\"},domProps:{\"value\":(_vm.billNumber)},on:{\"input\":function($event){if($event.target.composing)return;_vm.billNumber=$event.target.value}}})])])]),_c('hr'),_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"submit\"}},[_vm._v(\"Pošalji\")]),_c('router-link',{staticClass:\"btn btn-outline-secondary ml-2\",attrs:{\"to\":{ name: 'Home' },\"exact\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.translations.continueShopping)+\" \")])],1)]),_vm._l((_vm.statuses),function(item){return _c('div',{key:item.id,staticClass:\"tab-pane fade\",attrs:{\"id\":`rma-${item.id}`,\"role\":\"tabpanel\"}},[(_vm.complaints.length)?_c('div',{staticClass:\"messages-accordion\"},_vm._l((_vm.complaints),function(complaint,index){return _c('div',{key:complaint.id,staticClass:\"card card-accordion accordion-boxed\"},[_c('a',{staticClass:\"card-header old-message accordion-button\",attrs:{\"href\":\"#\",\"data-toggle\":\"collapse\",\"data-target\":`#collapse-${complaint.id}`,\"aria-expanded\":\"false\",\"aria-controls\":`#collapse-${complaint.id}`}},[_c('table',{staticClass:\"table-accordion\"},[_vm._m(7,true),_c('tbody',[_c('tr',[_c('td',[_vm._v(_vm._s(index + 1))]),_c('td',[_vm._v(\"#\"+_vm._s(complaint.id))]),_c('td',[_vm._v(_vm._s(_vm.formatDate(complaint.createdDate, 'dd.MM.yyyy')))]),_c('td',[_vm._v(_vm._s(complaint.contactPerson))]),_c('td',[_vm._v(_vm._s(complaint.description))]),_c('td',[_vm._v(_vm._s(_vm.statuses.find(({ id }) => id == complaint.problemStatus).title))])])])])]),_c('div',{staticClass:\"accordion-collapse\"},[_c('div',{staticClass:\"acordion-body collapse-padding collapse\",attrs:{\"id\":`collapse-${complaint.id}`}},[_c('table',{staticClass:\"table-in-accordion\"},[_vm._m(8,true),_c('tbody',[_c('tr',[_c('td',[_vm._v(_vm._s(complaint.articleTitle))]),_c('td',[_vm._v(_vm._s(complaint.articleCode))]),_c('td',[_vm._v(_vm._s(complaint.hasWarranty ? 'Da' : 'Ne'))]),_c('td',[_vm._v(_vm._s(complaint.billNumber || 'N/A'))])])])]),_c('div',{staticClass:\"mt-2 alert alert-info\"},[_vm._v(\" Komentar: \"+_vm._s(complaint.comment || 'N/A')+\" \")]),_c('hr')])])])}),0):_c('div',{attrs:{\"id\":\"accordion4\"}},[_c('div',{staticClass:\"alert alert-info\"},[_vm._v(\" \"+_vm._s(_vm.translations.noRecords)+\" \")])])])})],2)])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('li',{staticClass:\"nav-item\"},[_c('a',{staticClass:\"nav-link active pt-md-2 pt-5\",attrs:{\"id\":\"new-rma-b2b\",\"data-toggle\":\"tab\",\"href\":\"#new-rma\",\"role\":\"tab\",\"aria-controls\":\"new-rma\",\"aria-selected\":\"true\"}},[_vm._v(\"Novi zahtjev\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('label',{attrs:{\"for\":\"contactPerson\"}},[_vm._v(\" Kontakt osoba \"),_c('span',{staticClass:\"required\"},[_vm._v(\"*\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('label',{attrs:{\"for\":\"productCode\"}},[_vm._v(\" Šifra proizvoda \"),_c('span',{staticClass:\"required\"},[_vm._v(\"*\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('label',{attrs:{\"for\":\"productBrand\"}},[_vm._v(\" Brend \"),_c('span',{staticClass:\"required\"},[_vm._v(\"*\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('label',{attrs:{\"for\":\"productSerial\"}},[_vm._v(\" Serijski broj \"),_c('span',{staticClass:\"required\"},[_vm._v(\"*\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('label',{attrs:{\"for\":\"rmaDescription\"}},[_vm._v(\"Opis \"),_c('span',{staticClass:\"required\"},[_vm._v(\"*\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('label',[_vm._v(\" Garancija \"),_c('span',{staticClass:\"required\"},[_vm._v(\"*\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('thead',[_c('tr',[_c('th',{attrs:{\"width\":\"10%\"}},[_vm._v(\"RBR\")]),_c('th',{attrs:{\"width\":\"15%\"}},[_vm._v(\"Šifra prijave\")]),_c('th',{attrs:{\"width\":\"15%\"}},[_vm._v(\"Kreirano\")]),_c('th',{attrs:{\"width\":\"20%\"}},[_vm._v(\"Kontakt osoba\")]),_c('th',{attrs:{\"width\":\"30%\"}},[_vm._v(\"Opis\")]),_c('th',{attrs:{\"width\":\"30%\"}},[_vm._v(\"Status\")])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"Naziv proizvoda\")]),_c('th',[_vm._v(\"Šifra proizvoda\")]),_c('th',[_vm._v(\"Garancija\")]),_c('th',[_vm._v(\"Br. računa\")])])])\n}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./RMA.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./RMA.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./RMA.vue?vue&type=template&id=0e49251d\"\nimport script from \"./RMA.vue?vue&type=script&lang=js\"\nexport * from \"./RMA.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}