{"version":3,"sources":["webpack:///./src/components/Profile/RMA.vue","webpack:///src/components/Profile/RMA.vue","webpack:///./src/components/Profile/RMA.vue?23de","webpack:///./src/components/Profile/RMA.vue?451f"],"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","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,YAAY,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,YACAF,EAAA,aACAN,EAAA,YACAC,EAAA,oBACAE,EAAA,MACAsB,EAAA,aACAvB,GACA,KAEAgC,OAAAC,gBAAA,CACAxC,gBACAe,aACAF,cACAF,cACAN,eACAC,cACAE,sBACAsB,QACAvB,iBACAkC,KAAAC,IACA,KAAAC,OAAAC,KAAAF,EAAAb,KAAAe,MACA,KAAA5C,cAAA,GACA,KAAAe,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,MAAA/B,MAAA,OACA+C,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,EAAAvD,OAAAwD,OAAAC,MAAA,QACA,KAAA9B,MAAAE,SAAAD,EAAAlC,OAGAR,cAAAH,GACA,KAAAkD,OAAAyB,SAAA,iBACAC,SAAA,GACAC,KAAA,EACAC,OAAA,cACAC,iBAAA,EACAC,aAAA,EACAC,YAAA,GACA3C,cAAAtC,MAIAkF,UACAC,OAAAC,SAAA,CAAAC,IAAA,EAAAC,SAAA,aCrU4V,I,YCOxVC,EAAY,eACd,EACAvG,EACAyD,GACA,EACA,KACA,KACA,MAIa,aAAA8C,E","file":"js/rma.ca60bc17.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\"},[_vm._m(2),_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(3),_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(4),_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(5),_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(6),_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(7),_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(8,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(9,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\":\"productName\"}},[_vm._v(\" Naziv proizvoda \"),_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-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-loader/lib/index.js??vue-loader-options!./RMA.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RMA.vue?vue&type=template&id=0728c321&\"\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-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":""}