From ee7731b1a10063342614612feee84598a4e46630 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 23 Feb 2020 07:09:51 +0100 Subject: [PATCH] Render new JS --- public/v1/js/create_transaction.js | 2 +- public/v1/js/edit_transaction.js | 2 +- resources/assets/js/locales/el.json | 54 ++++++++++++++--------------- resources/assets/js/locales/es.json | 6 ++-- resources/assets/js/locales/fi.json | 8 ++--- resources/assets/js/locales/fr.json | 10 +++--- 6 files changed, 41 insertions(+), 41 deletions(-) diff --git a/public/v1/js/create_transaction.js b/public/v1/js/create_transaction.js index 67607a6e2d..2733321ab6 100644 --- a/public/v1/js/create_transaction.js +++ b/public/v1/js/create_transaction.js @@ -1 +1 @@ -!function(t){var e={};function n(a){if(e[a])return e[a].exports;var r=e[a]={i:a,l:!1,exports:{}};return t[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(a,r,function(e){return t[e]}.bind(null,r));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=79)}([function(t,e,n){"use strict";function a(t,e,n,a,r,i,o,s){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),a&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),o?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=c):r&&(c=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var A=u.beforeCreate;u.beforeCreate=A?[].concat(A,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return a}))},function(t,e,n){"use strict";var a=n(5),r=n(12),i=Object.prototype.toString;function o(t){return"[object Array]"===i.call(t)}function s(t){return null!==t&&"object"==typeof t}function c(t){return"[object Function]"===i.call(t)}function u(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var n=0,a=t.length;n=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},a.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),a.forEach(["post","put","patch"],(function(t){c.headers[t]=a.merge(i)})),t.exports=c}).call(this,n(10))},function(t,e,n){t.exports=n(11)},,function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),a=0;a1)for(var n=1;n=0)return;o[e]="set-cookie"===e?(o[e]?o[e]:[]).concat([n]):o[e]?o[e]+", "+n:n}})),o):o}},function(t,e,n){"use strict";var a=n(1);t.exports=a.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(t){var a=t;return e&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=r(window.location.href),function(e){var n=a.isString(e)?r(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var a=n(1);t.exports=a.isStandardBrowserEnv()?{write:function(t,e,n,r,i,o){var s=[];s.push(t+"="+encodeURIComponent(e)),a.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),a.isString(r)&&s.push("path="+r),a.isString(i)&&s.push("domain="+i),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var a=n(1);function r(){this.handlers=[]}r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){a.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=r},function(t,e,n){"use strict";var a=n(1),r=n(23),i=n(8),o=n(2),s=n(24),c=n(25);function u(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return u(t),t.baseURL&&!s(t.url)&&(t.url=c(t.baseURL,t.url)),t.headers=t.headers||{},t.data=r(t.data,t.headers,t.transformRequest),t.headers=a.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),a.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||o.adapter)(t).then((function(e){return u(t),e.data=r(e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(u(t),e&&e.response&&(e.response.data=r(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var a=n(1);t.exports=function(t,e,n){return a.forEach(n,(function(n){t=n(t,e)})),t}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var a=n(9);function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new a(t),e(n.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r((function(e){t=e})),cancel:t}},t.exports=r},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){window.axios=n(3),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var a=document.head.querySelector('meta[name="csrf-token"]');a?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=a.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token")},function(t,e,n){window,t.exports=function(t){var e={};function n(a){if(e[a])return e[a].exports;var r=e[a]={i:a,l:!1,exports:{}};return t[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(a,r,function(e){return t[e]}.bind(null,r));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=6)}([function(t,e,n){var a=n(8);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals),(0,n(4).default)("7ec05f6c",a,!1,{})},function(t,e,n){var a=n(10);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals),(0,n(4).default)("3453d19d",a,!1,{})},function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n,a=t[1]||"",r=t[3];if(!r)return a;if(e&&"function"==typeof btoa){var i=(n=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),o=r.sources.map((function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"}));return[a].concat(o).concat([i]).join("\n")}return[a].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var a={},r=0;rn.parts.length&&(a.parts.length=n.parts.length)}else{var o=[];for(r=0;r div[data-v-61d92e31] {\n cursor: pointer;\n padding: 3px 6px;\n width: 100%;\n}\n.ti-selected-item[data-v-61d92e31] {\n background-color: #5C6BC0;\n color: #fff;\n}\n',"",{version:3,sources:["C:/Users/johan/dev/vue-tags-input/vue-tags-input/C:/Users/johan/dev/vue-tags-input/vue-tags-input/vue-tags-input.scss"],names:[],mappings:"AAAA;EACE,uBAAuB;EACvB,mCAA8C;EAC9C,+JAAuM;EACvM,oBAAoB;EACpB,mBAAmB;CAAE;AAEvB;EACE,kCAAkC;EAClC,YAAY;EACZ,mBAAmB;EACnB,oBAAoB;EACpB,qBAAqB;EACrB,qBAAqB;EACrB,eAAe;EACf,oCAAoC;EACpC,mCAAmC;CAAE;AAEvC;EACE,iBAAiB;CAAE;AAErB;EACE,iBAAiB;CAAE;AAErB;EACE,iBAAiB;CAAE;AAErB;EACE,YAAY;EACZ,aAAa;EACb,sBAAsB;CAAE;AAE1B;EACE,uBAAuB;CAAE;AAE3B;EACE,cAAc;CAAE;AAElB;EACE,8BAA8B;CAAE;AAElC;EACE,iBAAiB;EACjB,mBAAmB;EACnB,uBAAuB;CAAE;AAE3B;EACE,aAAa;CAAE;AACf;IACE,gBAAgB;CAAE;AAEtB;EACE,uBAAuB;EACvB,cAAc;EACd,aAAa;EACb,gBAAgB;CAAE;AAEpB;EACE,cAAc;EACd,gBAAgB;EAChB,YAAY;EACZ,iBAAiB;CAAE;AAErB;EACE,0BAA0B;EAC1B,YAAY;EACZ,mBAAmB;EACnB,cAAc;EACd,iBAAiB;EACjB,YAAY;EACZ,iBAAiB;CAAE;AACnB;IACE,cAAc;CAAE;AAClB;IACE,cAAc;IACd,oBAAoB;CAAE;AACxB;IACE,mBAAmB;CAAE;AACvB;IACE,mBAAmB;CAAE;AACvB;IACE,mBAAmB;IACnB,mBAAmB;IACnB,YAAY;IACZ,iBAAiB;CAAE;AACrB;IACE,iBAAiB;IACjB,cAAc;IACd,oBAAoB;IACpB,kBAAkB;CAAE;AACpB;MACE,gBAAgB;CAAE;AACtB;IACE,kBAAkB;CAAE;AACtB;IACE,0BAA0B;CAAE;AAEhC;EACE,cAAc;EACd,eAAe;EACf,iBAAiB;EACjB,YAAY;EACZ,iBAAiB;CAAE;AACnB;IACE,eAAe;IACf,iBAAiB;IACjB,aAAa;IACb,aAAa;IACb,YAAY;CAAE;AAElB;EACE,qBAAqB;CAAE;AAEzB;EACE,uBAAuB;EACvB,iBAAiB;EACjB,mBAAmB;EACnB,YAAY;EACZ,uBAAuB;EACvB,YAAY;CAAE;AAEhB;EACE,gBAAgB;EAChB,iBAAiB;EACjB,YAAY;CAAE;AAEhB;EACE,0BAA0B;EAC1B,YAAY;CAAE",file:"vue-tags-input.scss?vue&type=style&index=0&id=61d92e31&lang=scss&scoped=true&",sourcesContent:['@font-face {\n font-family: \'icomoon\';\n src: url("./assets/fonts/icomoon.eot?7grlse");\n src: url("./assets/fonts/icomoon.eot?7grlse#iefix") format("embedded-opentype"), url("./assets/fonts/icomoon.ttf?7grlse") format("truetype"), url("./assets/fonts/icomoon.woff?7grlse") format("woff");\n font-weight: normal;\n font-style: normal; }\n\n[class^="ti-icon-"], [class*=" ti-icon-"] {\n font-family: \'icomoon\' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale; }\n\n.ti-icon-check:before {\n content: "\\e902"; }\n\n.ti-icon-close:before {\n content: "\\e901"; }\n\n.ti-icon-undo:before {\n content: "\\e900"; }\n\nul {\n margin: 0px;\n padding: 0px;\n list-style-type: none; }\n\n*, *:before, *:after {\n box-sizing: border-box; }\n\ninput:focus {\n outline: none; }\n\ninput[disabled] {\n background-color: transparent; }\n\n.vue-tags-input {\n max-width: 450px;\n position: relative;\n background-color: #fff; }\n\ndiv.vue-tags-input.disabled {\n opacity: 0.5; }\n div.vue-tags-input.disabled * {\n cursor: default; }\n\n.ti-input {\n border: 1px solid #ccc;\n display: flex;\n padding: 4px;\n flex-wrap: wrap; }\n\n.ti-tags {\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n line-height: 1em; }\n\n.ti-tag {\n background-color: #5C6BC0;\n color: #fff;\n border-radius: 2px;\n display: flex;\n padding: 3px 5px;\n margin: 2px;\n font-size: .85em; }\n .ti-tag:focus {\n outline: none; }\n .ti-tag .ti-content {\n display: flex;\n align-items: center; }\n .ti-tag .ti-tag-center {\n position: relative; }\n .ti-tag span {\n line-height: .85em; }\n .ti-tag span.ti-hidden {\n padding-left: 14px;\n visibility: hidden;\n height: 0px;\n white-space: pre; }\n .ti-tag .ti-actions {\n margin-left: 2px;\n display: flex;\n align-items: center;\n font-size: 1.15em; }\n .ti-tag .ti-actions i {\n cursor: pointer; }\n .ti-tag:last-child {\n margin-right: 4px; }\n .ti-tag.ti-invalid, .ti-tag.ti-tag.ti-deletion-mark {\n background-color: #e54d42; }\n\n.ti-new-tag-input-wrapper {\n display: flex;\n flex: 1 0 auto;\n padding: 3px 5px;\n margin: 2px;\n font-size: .85em; }\n .ti-new-tag-input-wrapper input {\n flex: 1 0 auto;\n min-width: 100px;\n border: none;\n padding: 0px;\n margin: 0px; }\n\n.ti-new-tag-input {\n line-height: initial; }\n\n.ti-autocomplete {\n border: 1px solid #ccc;\n border-top: none;\n position: absolute;\n width: 100%;\n background-color: #fff;\n z-index: 20; }\n\n.ti-item > div {\n cursor: pointer;\n padding: 3px 6px;\n width: 100%; }\n\n.ti-selected-item {\n background-color: #5C6BC0;\n color: #fff; }\n'],sourceRoot:""}])},function(t,e,n){"use strict";t.exports=function(t){return"string"!=typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),/["'() \t\n]/.test(t)?'"'+t.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':t)}},function(t,e){t.exports="data:font/ttf;base64,AAEAAAALAIAAAwAwT1MvMg8SBawAAAC8AAAAYGNtYXAXVtKJAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZqWfozAAAAF4AAAA/GhlYWQPxZgIAAACdAAAADZoaGVhB4ADyAAAAqwAAAAkaG10eBIAAb4AAALQAAAAHGxvY2EAkgDiAAAC7AAAABBtYXhwAAkAHwAAAvwAAAAgbmFtZZlKCfsAAAMcAAABhnBvc3QAAwAAAAAEpAAAACAAAwOAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpAgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6QL//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAFYBAQO+AoEAHAAAATIXHgEXFhcHJicuAScmIyIGBxchERc2Nz4BNzYCFkpDQ28pKRdkECAfVTM0OT9wLZz+gJgdIiJLKSgCVRcYUjg5QiAzKys+ERIrJZoBgJoZFRQcCAgAAQDWAIEDKgLVAAsAAAEHFwcnByc3JzcXNwMq7u487u487u487u4Cme7uPO7uPO7uPO7uAAEAkgCBA4ACvQAFAAAlARcBJzcBgAHEPP4A7jz5AcQ8/gDuPAAAAAABAAAAAAAAH8nTUV8PPPUACwQAAAAAANZ1KhsAAAAA1nUqGwAAAAADvgLVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAO+AAEAAAAAAAAAAAAAAAAAAAAHBAAAAAAAAAAAAAAAAgAAAAQAAFYEAADWBAAAkgAAAAAACgAUAB4AUABqAH4AAQAAAAcAHQABAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGljb21vb24AaQBjAG8AbQBvAG8AblZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGljb21vb24AaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AblJlZ3VsYXIAUgBlAGcAdQBsAGEAcmljb21vb24AaQBjAG8AbQBvAG8AbkZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="},function(t,e){t.exports="data:font/woff;base64,d09GRgABAAAAAAUQAAsAAAAABMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIFrGNtYXAAAAFoAAAAVAAAAFQXVtKJZ2FzcAAAAbwAAAAIAAAACAAAABBnbHlmAAABxAAAAPwAAAD8pZ+jMGhlYWQAAALAAAAANgAAADYPxZgIaGhlYQAAAvgAAAAkAAAAJAeAA8hobXR4AAADHAAAABwAAAAcEgABvmxvY2EAAAM4AAAAEAAAABAAkgDibWF4cAAAA0gAAAAgAAAAIAAJAB9uYW1lAAADaAAAAYYAAAGGmUoJ+3Bvc3QAAATwAAAAIAAAACAAAwAAAAMDgAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA6QIDwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADgAAAAKAAgAAgACAAEAIOkC//3//wAAAAAAIOkA//3//wAB/+MXBAADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQBWAQEDvgKBABwAAAEyFx4BFxYXByYnLgEnJiMiBgcXIREXNjc+ATc2AhZKQ0NvKSkXZBAgH1UzNDk/cC2c/oCYHSIiSykoAlUXGFI4OUIgMysrPhESKyWaAYCaGRUUHAgIAAEA1gCBAyoC1QALAAABBxcHJwcnNyc3FzcDKu7uPO7uPO7uPO7uApnu7jzu7jzu7jzu7gABAJIAgQOAAr0ABQAAJQEXASc3AYABxDz+AO48+QHEPP4A7jwAAAAAAQAAAAAAAB/J01FfDzz1AAsEAAAAAADWdSobAAAAANZ1KhsAAAAAA74C1QAAAAgAAgAAAAAAAAABAAADwP/AAAAEAAAAAAADvgABAAAAAAAAAAAAAAAAAAAABwQAAAAAAAAAAAAAAAIAAAAEAABWBAAA1gQAAJIAAAAAAAoAFAAeAFAAagB+AAEAAAAHAB0AAQAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAHAAAAAQAAAAAAAgAHAGAAAQAAAAAAAwAHADYAAQAAAAAABAAHAHUAAQAAAAAABQALABUAAQAAAAAABgAHAEsAAQAAAAAACgAaAIoAAwABBAkAAQAOAAcAAwABBAkAAgAOAGcAAwABBAkAAwAOAD0AAwABBAkABAAOAHwAAwABBAkABQAWACAAAwABBAkABgAOAFIAAwABBAkACgA0AKRpY29tb29uAGkAYwBvAG0AbwBvAG5WZXJzaW9uIDEuMABWAGUAcgBzAGkAbwBuACAAMQAuADBpY29tb29uAGkAYwBvAG0AbwBvAG5pY29tb29uAGkAYwBvAG0AbwBvAG5SZWd1bGFyAFIAZQBnAHUAbABhAHJpY29tb29uAGkAYwBvAG0AbwBvAG5Gb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-tags-input",class:[{"ti-disabled":t.disabled},{"ti-focus":t.focused}]},[n("div",{staticClass:"ti-input"},[t.tagsCopy?n("ul",{staticClass:"ti-tags"},[t._l(t.tagsCopy,(function(e,a){return n("li",{key:a,staticClass:"ti-tag",class:[{"ti-editing":t.tagsEditStatus[a]},e.tiClasses,e.classes,{"ti-deletion-mark":t.isMarked(a)}],style:e.style,attrs:{tabindex:"0"},on:{click:function(n){return t.$emit("tag-clicked",{tag:e,index:a})}}},[n("div",{staticClass:"ti-content"},[t.$scopedSlots["tag-left"]?n("div",{staticClass:"ti-tag-left"},[t._t("tag-left",null,{tag:e,index:a,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)})],2):t._e(),t._v(" "),n("div",{ref:"tagCenter",refInFor:!0,staticClass:"ti-tag-center"},[t.$scopedSlots["tag-center"]?t._e():n("span",{class:{"ti-hidden":t.tagsEditStatus[a]},on:{click:function(e){return t.performEditTag(a)}}},[t._v(t._s(e.text))]),t._v(" "),t.$scopedSlots["tag-center"]?t._e():n("tag-input",{attrs:{scope:{edit:t.tagsEditStatus[a],maxlength:t.maxlength,tag:e,index:a,validateTag:t.createChangedTag,performCancelEdit:t.cancelEdit,performSaveEdit:t.performSaveTag}}}),t._v(" "),t._t("tag-center",null,{tag:e,index:a,maxlength:t.maxlength,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,validateTag:t.createChangedTag,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)})],2),t._v(" "),t.$scopedSlots["tag-right"]?n("div",{staticClass:"ti-tag-right"},[t._t("tag-right",null,{tag:e,index:a,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)})],2):t._e()]),t._v(" "),n("div",{staticClass:"ti-actions"},[t.$scopedSlots["tag-actions"]?t._e():n("i",{directives:[{name:"show",rawName:"v-show",value:t.tagsEditStatus[a],expression:"tagsEditStatus[index]"}],staticClass:"ti-icon-undo",on:{click:function(e){return t.cancelEdit(a)}}}),t._v(" "),t.$scopedSlots["tag-actions"]?t._e():n("i",{directives:[{name:"show",rawName:"v-show",value:!t.tagsEditStatus[a],expression:"!tagsEditStatus[index]"}],staticClass:"ti-icon-close",on:{click:function(e){return t.performDeleteTag(a)}}}),t._v(" "),t.$scopedSlots["tag-actions"]?t._t("tag-actions",null,{tag:e,index:a,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)}):t._e()],2)])})),t._v(" "),n("li",{staticClass:"ti-new-tag-input-wrapper"},[n("input",t._b({ref:"newTagInput",staticClass:"ti-new-tag-input",class:[t.createClasses(t.newTag,t.tags,t.validation,t.isDuplicate)],attrs:{placeholder:t.placeholder,maxlength:t.maxlength,disabled:t.disabled,type:"text",size:"1"},domProps:{value:t.newTag},on:{keydown:[function(e){return t.performAddTags(t.filteredAutocompleteItems[t.selectedItem]||t.newTag,e)},function(e){return e.type.indexOf("key")||8===e.keyCode?t.invokeDelete(e):null},function(e){return e.type.indexOf("key")||9===e.keyCode?t.performBlur(e):null},function(e){return e.type.indexOf("key")||38===e.keyCode?t.selectItem(e,"before"):null},function(e){return e.type.indexOf("key")||40===e.keyCode?t.selectItem(e,"after"):null}],paste:t.addTagsFromPaste,input:t.updateNewTag,blur:function(e){return t.$emit("blur",e)},focus:function(e){t.focused=!0,t.$emit("focus",e)},click:function(e){!t.addOnlyFromAutocomplete&&(t.selectedItem=null)}}},"input",t.$attrs,!1))])],2):t._e()]),t._v(" "),t._t("between-elements"),t._v(" "),t.autocompleteOpen?n("div",{staticClass:"ti-autocomplete",on:{mouseout:function(e){t.selectedItem=null}}},[t._t("autocomplete-header"),t._v(" "),n("ul",t._l(t.filteredAutocompleteItems,(function(e,a){return n("li",{key:a,staticClass:"ti-item",class:[e.tiClasses,e.classes,{"ti-selected-item":t.isSelected(a)}],style:e.style,on:{mouseover:function(e){!t.disabled&&(t.selectedItem=a)}}},[t.$scopedSlots["autocomplete-item"]?t._t("autocomplete-item",null,{item:e,index:a,performAdd:function(e){return t.performAddTags(e,void 0,"autocomplete")},selected:t.isSelected(a)}):n("div",{on:{click:function(n){return t.performAddTags(e,void 0,"autocomplete")}}},[t._v("\n "+t._s(e.text)+"\n ")])],2)})),0),t._v(" "),t._t("autocomplete-footer")],2):t._e()],2)};a._withStripped=!0;var r=n(5),i=n.n(r),o=function(t){return JSON.parse(JSON.stringify(t))},s=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3?arguments[3]:void 0;void 0===t.text&&(t={text:t});var r=function(t,e){return e.filter((function(e){var n=t.text;return"string"==typeof e.rule?!new RegExp(e.rule).test(n):e.rule instanceof RegExp?!e.rule.test(n):"[object Function]"==={}.toString.call(e.rule)?e.rule(t):void 0})).map((function(t){return t.classes}))}(t,n),i=function(t,e){for(var n=0;n1?n-1:0),r=1;r1?e-1:0),a=1;a=this.autocompleteMinLength&&this.filteredAutocompleteItems.length>0&&this.focused},filteredAutocompleteItems:function(){var t=this,e=this.autocompleteItems.map((function(e){return c(e,t.tags,t.validation,t.isDuplicate)}));return this.autocompleteFilterDuplicates?e.filter(this.duplicateFilter):e}},methods:{createClasses:s,getSelectedIndex:function(t){var e=this.filteredAutocompleteItems,n=this.selectedItem,a=e.length-1;if(0!==e.length)return null===n?0:"before"===t&&0===n?a:"after"===t&&n===a?0:"after"===t?n+1:n-1},selectDefaultItem:function(){this.addOnlyFromAutocomplete&&this.filteredAutocompleteItems.length>0?this.selectedItem=0:this.selectedItem=null},selectItem:function(t,e){t.preventDefault(),this.selectedItem=this.getSelectedIndex(e)},isSelected:function(t){return this.selectedItem===t},isMarked:function(t){return this.deletionMark===t},invokeDelete:function(){var t=this;if(this.deleteOnBackspace&&!(this.newTag.length>0)){var e=this.tagsCopy.length-1;null===this.deletionMark?(this.deletionMarkTime=setTimeout((function(){return t.deletionMark=null}),1e3),this.deletionMark=e):this.performDeleteTag(e)}},addTagsFromPaste:function(){var t=this;this.addFromPaste&&setTimeout((function(){return t.performAddTags(t.newTag)}),10)},performEditTag:function(t){var e=this;this.allowEditTags&&(this._events["before-editing-tag"]||this.editTag(t),this.$emit("before-editing-tag",{index:t,tag:this.tagsCopy[t],editTag:function(){return e.editTag(t)}}))},editTag:function(t){this.allowEditTags&&(this.toggleEditMode(t),this.focus(t))},toggleEditMode:function(t){this.allowEditTags&&!this.disabled&&this.$set(this.tagsEditStatus,t,!this.tagsEditStatus[t])},createChangedTag:function(t,e){var n=this.tagsCopy[t];n.text=e?e.target.value:this.tagsCopy[t].text,this.$set(this.tagsCopy,t,c(n,this.tagsCopy,this.validation,this.isDuplicate))},focus:function(t){var e=this;this.$nextTick((function(){var n=e.$refs.tagCenter[t].querySelector("input.ti-tag-input");n&&n.focus()}))},quote:function(t){return t.replace(/([()[{*+.$^\\|?])/g,"\\$1")},cancelEdit:function(t){this.tags[t]&&(this.tagsCopy[t]=o(c(this.tags[t],this.tags,this.validation,this.isDuplicate)),this.$set(this.tagsEditStatus,t,!1))},hasForbiddingAddRule:function(t){var e=this;return t.some((function(t){var n=e.validation.find((function(e){return t===e.classes}));return!!n&&n.disableAdd}))},createTagTexts:function(t){var e=this,n=new RegExp(this.separators.map((function(t){return e.quote(t)})).join("|"));return t.split(n).map((function(t){return{text:t}}))},performDeleteTag:function(t){var e=this;this._events["before-deleting-tag"]||this.deleteTag(t),this.$emit("before-deleting-tag",{index:t,tag:this.tagsCopy[t],deleteTag:function(){return e.deleteTag(t)}})},deleteTag:function(t){this.disabled||(this.deletionMark=null,clearTimeout(this.deletionMarkTime),this.tagsCopy.splice(t,1),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},noTriggerKey:function(t,e){var n=-1!==this[e].indexOf(t.keyCode)||-1!==this[e].indexOf(t.key);return n&&t.preventDefault(),!n},performAddTags:function(t,e,n){var a=this;if(!(this.disabled||e&&this.noTriggerKey(e,"addOnKey"))){var r=[];"object"===h(t)&&(r=[t]),"string"==typeof t&&(r=this.createTagTexts(t)),(r=r.filter((function(t){return t.text.trim().length>0}))).forEach((function(t){t=c(t,a.tags,a.validation,a.isDuplicate),a._events["before-adding-tag"]||a.addTag(t,n),a.$emit("before-adding-tag",{tag:t,addTag:function(){return a.addTag(t,n)}})}))}},duplicateFilter:function(t){return this.isDuplicate?!this.isDuplicate(this.tagsCopy,t):!this.tagsCopy.find((function(e){return e.text===t.text}))},addTag:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"new-tag-input",a=this.filteredAutocompleteItems.map((function(t){return t.text}));this.addOnlyFromAutocomplete&&-1===a.indexOf(t.text)||this.$nextTick((function(){return e.maxTags&&e.maxTags<=e.tagsCopy.length?e.$emit("max-tags-reached",t):e.avoidAddingDuplicates&&!e.duplicateFilter(t)?e.$emit("adding-duplicate",t):void(e.hasForbiddingAddRule(t.tiClasses)||(e.$emit("input",""),e.tagsCopy.push(t),e._events["update:tags"]&&e.$emit("update:tags",e.tagsCopy),"autocomplete"===n&&e.$refs.newTagInput.focus(),e.$emit("tags-changed",e.tagsCopy)))}))},performSaveTag:function(t,e){var n=this,a=this.tagsCopy[t];this.disabled||e&&this.noTriggerKey(e,"addOnKey")||0!==a.text.trim().length&&(this._events["before-saving-tag"]||this.saveTag(t,a),this.$emit("before-saving-tag",{index:t,tag:a,saveTag:function(){return n.saveTag(t,a)}}))},saveTag:function(t,e){if(this.avoidAddingDuplicates){var n=o(this.tagsCopy),a=n.splice(t,1)[0];if(this.isDuplicate?this.isDuplicate(n,a):-1!==n.map((function(t){return t.text})).indexOf(a.text))return this.$emit("saving-duplicate",e)}this.hasForbiddingAddRule(e.tiClasses)||(this.$set(this.tagsCopy,t,e),this.toggleEditMode(t),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},tagsEqual:function(){var t=this;return!this.tagsCopy.some((function(e,n){return!i()(e,t.tags[n])}))},updateNewTag:function(t){var e=t.target.value;this.newTag=e,this.$emit("input",e)},initTags:function(){this.tagsCopy=u(this.tags,this.validation,this.isDuplicate),this.tagsEditStatus=o(this.tags).map((function(){return!1})),this._events["update:tags"]&&!this.tagsEqual()&&this.$emit("update:tags",this.tagsCopy)},blurredOnClick:function(t){this.$el.contains(t.target)||this.$el.contains(document.activeElement)||this.performBlur(t)},performBlur:function(){this.addOnBlur&&this.focused&&this.performAddTags(this.newTag),this.focused=!1}},watch:{value:function(t){this.addOnlyFromAutocomplete||(this.selectedItem=null),this.newTag=t},tags:{handler:function(){this.initTags()},deep:!0},autocompleteOpen:"selectDefaultItem"},created:function(){this.newTag=this.value,this.initTags()},mounted:function(){this.selectDefaultItem(),document.addEventListener("click",this.blurredOnClick)},destroyed:function(){document.removeEventListener("click",this.blurredOnClick)}},y=(n(9),d(v,a,[],!1,null,"61d92e31",null));y.options.__file="vue-tags-input/vue-tags-input.vue";var b=y.exports;n.d(e,"VueTagsInput",(function(){return b})),n.d(e,"createClasses",(function(){return s})),n.d(e,"createTag",(function(){return c})),n.d(e,"createTags",(function(){return u})),n.d(e,"TagInput",(function(){return f})),b.install=function(t){return t.component(b.name,b)},"undefined"!=typeof window&&window.Vue&&window.Vue.use(b),e.default=b}])},function(t,e,n){"use strict";var a={name:"CustomAttachments",props:{title:String,name:String,error:Array},methods:{hasError:function(){return this.error.length>0}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{staticClass:"form-control",attrs:{multiple:"multiple",autocomplete:"off",placeholder:t.title,title:t.title,name:t.name,type:"file"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"73840c18",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"CustomDate",props:{value:String,title:String,name:String,error:Array},methods:{handleInput:function(t){this.$emit("input",this.$refs.date.value)},hasError:function(){return this.error.length>0}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{ref:"date",staticClass:"form-control",attrs:{type:"date",name:t.name,title:t.title,autocomplete:"off",placeholder:t.title},domProps:{value:t.value?t.value.substr(0,10):""},on:{input:t.handleInput}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"30d0f0fe",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"CustomString",props:{title:String,name:String,value:String,error:Array},methods:{handleInput:function(t){this.$emit("input",this.$refs.str.value)},hasError:function(){return this.error.length>0}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{ref:"str",staticClass:"form-control",attrs:{type:"text",name:t.name,title:t.title,autocomplete:"off",placeholder:t.title},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"69529226",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"CustomTextarea",props:{title:String,name:String,value:String,error:Array},data:function(){return{textValue:this.value}},methods:{handleInput:function(t){this.$emit("input",this.$refs.str.value)},hasError:function(){return this.error.length>0}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.textValue,expression:"textValue"}],ref:"str",staticClass:"form-control",attrs:{name:t.name,title:t.title,autocomplete:"off",rows:"8",placeholder:t.title},domProps:{value:t.textValue},on:{input:[function(e){e.target.composing||(t.textValue=e.target.value)},t.handleInput]}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"40389097",null);e.a=i.exports},function(t,e,n){"use strict";var a={props:["error","value","index"],name:"StandardDate",methods:{hasError:function(){return this.error.length>0},handleInput:function(t){this.$emit("input",this.$refs.date.value)}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.date"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{ref:"date",staticClass:"form-control",attrs:{type:"date",name:"date[]",title:t.$t("firefly.date"),autocomplete:"off",disabled:t.index>0,placeholder:t.$t("firefly.date")},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"deecacf4",null);e.a=i.exports},function(t,e,n){"use strict";var a={props:["error","value","index"],name:"GroupDescription",methods:{hasError:function(){return this.error.length>0},handleInput:function(t){this.$emit("input",this.$refs.descr.value)}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{ref:"descr",staticClass:"form-control",attrs:{type:"text",name:"group_title",title:t.$t("firefly.split_transaction_title"),autocomplete:"off",placeholder:t.$t("firefly.split_transaction_title")},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),0===t.error.length?n("p",{staticClass:"help-block"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title_help"))+"\n ")]):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"4d557a91",null);e.a=i.exports},function(t,e,n){"use strict";var a={props:["error","value","index"],name:"TransactionDescription",mounted:function(){this.target=this.$refs.descr,this.descriptionAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/transaction-journals/all?search="},data:function(){return{descriptionAutoCompleteURI:null,name:null,description:null,target:null}},methods:{hasError:function(){return this.error.length>0},handleInput:function(t){this.$emit("input",this.$refs.descr.value)},handleEnter:function(t){13===t.keyCode&&t.preventDefault()},selectedItem:function(t){void 0!==this.name&&"string"!=typeof this.name&&(this.$refs.descr.value=this.name.description,this.$emit("input",this.$refs.descr.value))}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.description"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{ref:"descr",staticClass:"form-control",attrs:{type:"text",name:"description[]",title:t.$t("firefly.description"),autocomplete:"off",placeholder:t.$t("firefly.description")},domProps:{value:t.value},on:{keypress:t.handleEnter,submit:function(t){t.preventDefault()},input:t.handleInput}}),t._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":t.descriptionAutoCompleteURI,target:t.target,"item-key":"description"},on:{input:t.selectedItem},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"e835e06e",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"CustomTransactionFields",props:["value","error"],mounted:function(){this.getPreference()},data:function(){return{customInterestDate:null,fields:[{interest_date:!1,book_date:!1,process_date:!1,due_date:!1,payment_date:!1,invoice_date:!1,internal_reference:!1,notes:!1,attachments:!1}]}},computed:{dateComponent:function(){return"custom-date"},stringComponent:function(){return"custom-string"},attachmentComponent:function(){return"custom-attachments"},textareaComponent:function(){return"custom-textarea"}},methods:{handleInput:function(t){this.$emit("input",this.value)},getPreference:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"api/v1/preferences/transaction_journal_optional_fields";axios.get(e).then((function(e){t.fields=e.data.data.attributes.data})).catch((function(){return console.warn("Oh. Something went wrong loading custom transaction fields.")}))}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[this.fields.interest_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.interest_date,name:"interest_date[]",title:t.$t("form.interest_date")},model:{value:t.value.interest_date,callback:function(e){t.$set(t.value,"interest_date",e)},expression:"value.interest_date"}}):t._e(),t._v(" "),this.fields.book_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.book_date,name:"book_date[]",title:t.$t("form.book_date")},model:{value:t.value.book_date,callback:function(e){t.$set(t.value,"book_date",e)},expression:"value.book_date"}}):t._e(),t._v(" "),this.fields.process_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.process_date,name:"process_date[]",title:t.$t("form.process_date")},model:{value:t.value.process_date,callback:function(e){t.$set(t.value,"process_date",e)},expression:"value.process_date"}}):t._e(),t._v(" "),this.fields.due_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.due_date,name:"due_date[]",title:t.$t("form.due_date")},model:{value:t.value.due_date,callback:function(e){t.$set(t.value,"due_date",e)},expression:"value.due_date"}}):t._e(),t._v(" "),this.fields.payment_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.payment_date,name:"payment_date[]",title:t.$t("form.payment_date")},model:{value:t.value.payment_date,callback:function(e){t.$set(t.value,"payment_date",e)},expression:"value.payment_date"}}):t._e(),t._v(" "),this.fields.invoice_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.invoice_date,name:"invoice_date[]",title:t.$t("form.invoice_date")},model:{value:t.value.invoice_date,callback:function(e){t.$set(t.value,"invoice_date",e)},expression:"value.invoice_date"}}):t._e(),t._v(" "),this.fields.internal_reference?n(t.stringComponent,{tag:"component",attrs:{error:t.error.internal_reference,name:"internal_reference[]",title:t.$t("form.internal_reference")},model:{value:t.value.internal_reference,callback:function(e){t.$set(t.value,"internal_reference",e)},expression:"value.internal_reference"}}):t._e(),t._v(" "),this.fields.attachments?n(t.attachmentComponent,{tag:"component",attrs:{error:t.error.attachments,name:"attachments[]",title:t.$t("firefly.attachments")},model:{value:t.value.attachments,callback:function(e){t.$set(t.value,"attachments",e)},expression:"value.attachments"}}):t._e(),t._v(" "),this.fields.notes?n(t.textareaComponent,{tag:"component",attrs:{error:t.error.notes,name:"notes[]",title:t.$t("firefly.notes")},model:{value:t.value.notes,callback:function(e){t.$set(t.value,"notes",e)},expression:"value.notes"}}):t._e()],1)}),[],!1,null,"1608b7b0",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"PiggyBank",props:["value","transactionType","error","no_piggy_bank"],mounted:function(){this.loadPiggies()},data:function(){return{piggies:[]}},methods:{handleInput:function(t){this.$emit("input",this.$refs.piggy.value)},hasError:function(){return this.error.length>0},loadPiggies:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"json/piggy-banks";axios.get(e,{}).then((function(e){for(var n in t.piggies=[{name_with_amount:t.no_piggy_bank,id:0}],e.data)e.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&t.piggies.push(e.data[n])}))}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return void 0!==this.transactionType&&"Transfer"===this.transactionType?n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12"},[this.piggies.length>0?n("select",{ref:"piggy",staticClass:"form-control",attrs:{name:"piggy_bank[]"},on:{input:t.handleInput}},t._l(this.piggies,(function(e){return n("option",{attrs:{label:e.name_with_amount},domProps:{value:e.id}},[t._v(t._s(e.name_with_amount))])})),0):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)]):t._e()}),[],!1,null,"1797c09a",null);e.a=i.exports},function(t,e,n){"use strict";var a=n(3),r=n.n(a),i=n(29),o={name:"Tags",components:{VueTagsInput:n.n(i).a},props:["value","error"],data:function(){return{tag:"",autocompleteItems:[],debounce:null,tags:this.value}},watch:{tag:"initItems"},methods:{update:function(t){this.autocompleteItems=[],this.tags=t,this.$emit("input",this.tags)},hasError:function(){return this.error.length>0},initItems:function(){var t=this;if(!(this.tag.length<2)){var e=document.getElementsByTagName("base")[0].href+"json/tags?search=".concat(this.tag);clearTimeout(this.debounce),this.debounce=setTimeout((function(){r.a.get(e).then((function(e){t.autocompleteItems=e.data.map((function(t){return{text:t.tag}}))})).catch((function(){return console.warn("Oh. Something went wrong loading tags.")}))}),600)}}}},s=n(0),c=Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.tags"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("vue-tags-input",{attrs:{tags:t.tags,title:t.$t("firefly.tags"),classes:"form-input","autocomplete-items":t.autocompleteItems,"add-only-from-autocomplete":!1,placeholder:t.$t("firefly.tags")},on:{"tags-changed":t.update},model:{value:t.tag,callback:function(e){t.tag=e},expression:"tag"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"733b2aa4",null);e.a=c.exports},function(t,e,n){"use strict";var a={name:"Category",props:{value:String,inputName:String,error:Array,accountName:{type:String,default:""}},data:function(){return{categoryAutoCompleteURI:null,name:null,target:null}},ready:function(){this.name=this.accountName},mounted:function(){this.target=this.$refs.input,this.categoryAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/categories?search="},methods:{hasError:function(){return this.error.length>0},handleInput:function(t){"string"!=typeof this.$refs.input.value?this.$emit("input",this.$refs.input.value.name):this.$emit("input",this.$refs.input.value)},clearCategory:function(){this.name="",this.$refs.input.value="",this.$emit("input",this.$refs.input.value),this.$emit("clear:category")},selectedItem:function(t){void 0!==this.name&&(this.$emit("select:category",this.name),"string"!=typeof this.name?this.$emit("input",this.name.name):this.$emit("input",this.name))},handleEnter:function(t){13===t.keyCode&&t.preventDefault()}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.category"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{type:"text",placeholder:t.$t("firefly.category"),autocomplete:"off","data-role":"input",name:"category[]",title:t.$t("firefly.category")},domProps:{value:t.value},on:{input:t.handleInput,keypress:t.handleEnter,submit:function(t){t.preventDefault()}}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:t.clearCategory}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":t.categoryAutoCompleteURI,target:t.target,"item-key":"name"},on:{input:t.selectedItem},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"4799245c",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"Amount",props:["source","destination","transactionType","value","error"],data:function(){return{sourceAccount:this.source,destinationAccount:this.destination,type:this.transactionType}},methods:{handleInput:function(t){this.$emit("input",this.$refs.amount.value)},hasError:function(){return this.error.length>0},changeData:function(){var t=this.transactionType;t||this.source.name||this.destination.name?(null===t&&(t=""),""!==t||""===this.source.currency_name?""!==t||""===this.destination.currency_name?"withdrawal"!==t.toLowerCase()&&"reconciliation"!==t.toLowerCase()&&"transfer"!==t.toLowerCase()?"Deposit"===t&&$(this.$refs.cur).text(this.destination.currency_name):$(this.$refs.cur).text(this.source.currency_name):$(this.$refs.cur).text(this.destination.currency_name):$(this.$refs.cur).text(this.source.currency_name)):$(this.$refs.cur).text("")}},watch:{source:function(){this.changeData()},destination:function(){this.changeData()},transactionType:function(){this.changeData()}},mounted:function(){this.changeData()}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-8 col-sm-offset-4 text-sm"},[t._v("\n "+t._s(t.$t("firefly.amount"))+"\n ")]),t._v(" "),n("label",{ref:"cur",staticClass:"col-sm-4 control-label"}),t._v(" "),n("div",{staticClass:"col-sm-8"},[n("input",{ref:"amount",staticClass:"form-control",attrs:{type:"number",step:"any",name:"amount[]",title:t.$t("firefly.amount"),autocomplete:"off",placeholder:t.$t("firefly.amount")},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"0666cec0",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"ForeignAmountSelect",props:["source","destination","transactionType","value","error","no_currency","title"],mounted:function(){this.liability=!1,this.loadCurrencies()},data:function(){return{currencies:[],enabledCurrencies:[],exclude:null,liability:!1}},watch:{source:function(){this.changeData()},destination:function(){this.changeData()},transactionType:function(){this.changeData()}},methods:{hasError:function(){return this.error.length>0},handleInput:function(t){var e={amount:this.$refs.amount.value,currency_id:this.$refs.currency_select.value};this.$emit("input",e)},changeData:function(){this.enabledCurrencies=[];var t=this.destination.type?this.destination.type.toLowerCase():"invalid",e=this.source.type?this.source.type.toLowerCase():"invalid",n=this.transactionType?this.transactionType.toLowerCase():"invalid",a=["loan","debt","mortgage"],r=-1!==a.indexOf(e),i=-1!==a.indexOf(t);if("transfer"===n||i||r)for(var o in this.liability=!0,this.currencies)this.currencies.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294&&this.currencies[o].id===this.destination.currency_id&&this.enabledCurrencies.push(this.currencies[o]);else if("withdrawal"===n&&this.source&&!1===r)for(var s in this.currencies)this.currencies.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294&&this.source.currency_id!==this.currencies[s].id&&this.enabledCurrencies.push(this.currencies[s]);else if("deposit"===n&&this.destination)for(var c in this.currencies)this.currencies.hasOwnProperty(c)&&/^0$|^[1-9]\d*$/.test(c)&&c<=4294967294&&this.destination.currency_id!==this.currencies[c].id&&this.enabledCurrencies.push(this.currencies[c]);else for(var u in this.currencies)this.currencies.hasOwnProperty(u)&&/^0$|^[1-9]\d*$/.test(u)&&u<=4294967294&&this.enabledCurrencies.push(this.currencies[u])},loadCurrencies:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"json/currencies";axios.get(e,{}).then((function(e){for(var n in t.currencies=[{name:t.no_currency,id:0,enabled:!0}],e.data)e.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&e.data[n].enabled&&(t.currencies.push(e.data[n]),t.enabledCurrencies.push(e.data[n]))}))}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return this.enabledCurrencies.length>1?n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-8 col-sm-offset-4 text-sm"},[t._v("\n "+t._s(t.$t("form.foreign_amount"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-4"},[n("select",{ref:"currency_select",staticClass:"form-control",attrs:{name:"foreign_currency[]"},on:{input:t.handleInput}},t._l(this.enabledCurrencies,(function(e){return e.enabled?n("option",{attrs:{label:e.name},domProps:{value:e.id,selected:t.value.currency_id===e.id}},[t._v("\n "+t._s(e.name)+"\n ")]):t._e()})),0)]),t._v(" "),n("div",{staticClass:"col-sm-8"},[this.enabledCurrencies.length>0?n("input",{ref:"amount",staticClass:"form-control",attrs:{type:"number",step:"any",name:"foreign_amount[]",title:this.title,autocomplete:"off",placeholder:this.title},domProps:{value:t.value.amount},on:{input:t.handleInput}}):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)]):t._e()}),[],!1,null,"4317a62a",null);e.a=i.exports},function(t,e,n){"use strict";var a={props:{source:String,destination:String,type:String},methods:{changeValue:function(){if(this.source&&this.destination){var t="";window.accountToTypes[this.source]?window.accountToTypes[this.source][this.destination]?t=window.accountToTypes[this.source][this.destination]:console.warn("User selected an impossible destination."):console.warn("User selected an impossible source."),""!==t&&(this.transactionType=t,this.sentence=this.$t("firefly.you_create_"+t.toLowerCase()),this.$emit("act:limitSourceType",this.source),this.$emit("act:limitDestinationType",this.destination))}else this.sentence="",this.transactionType="";this.$emit("set:transactionType",this.transactionType)}},data:function(){return{transactionType:this.type,sentence:""}},watch:{source:function(){this.changeValue()},destination:function(){this.changeValue()}},name:"TransactionType"},r=n(0),i=Object(r.a)(a,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form-group"},[e("div",{staticClass:"col-sm-12"},[""!==this.sentence?e("label",{staticClass:"control-label text-info"},[this._v("\n "+this._s(this.sentence)+"\n ")]):this._e()])])}),[],!1,null,"0539dc1a",null);e.a=i.exports},function(t,e,n){"use strict";var a={props:{inputName:String,title:String,index:Number,transactionType:String,error:Array,accountName:{type:String,default:""},accountTypeFilters:{type:Array,default:function(){return[]}},defaultAccountTypeFilters:{type:Array,default:function(){return[]}}},data:function(){return{accountAutoCompleteURI:null,name:null,trType:this.transactionType,target:null,inputDisabled:!1,allowedTypes:this.accountTypeFilters,defaultAllowedTypes:this.defaultAccountTypeFilters}},ready:function(){this.name=this.accountName},mounted:function(){this.target=this.$refs.input;var t=this.allowedTypes.join(",");this.name=this.accountName,this.accountAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/accounts?types="+t+"&search=",this.triggerTransactionType()},watch:{transactionType:function(){this.triggerTransactionType()},accountTypeFilters:function(){var t=this.accountTypeFilters.join(",");0===this.accountTypeFilters.length&&(t=this.defaultAccountTypeFilters.join(",")),this.accountAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/accounts?types="+t+"&search="},name:function(){}},methods:{hasError:function(){return this.error.length>0},triggerTransactionType:function(){if(this.name,null!==this.transactionType&&""!==this.transactionType&&(this.inputDisabled=!1,""!==this.transactionType.toString()&&this.index>0)){if("transfer"===this.transactionType.toString().toLowerCase())return void(this.inputDisabled=!0);if("withdrawal"===this.transactionType.toString().toLowerCase()&&"source"===this.inputName.substr(0,6).toLowerCase())return void(this.inputDisabled=!0);"deposit"===this.transactionType.toString().toLowerCase()&&"destination"===this.inputName.substr(0,11).toLowerCase()&&(this.inputDisabled=!0)}},selectedItem:function(t){void 0!==this.name&&("string"==typeof this.name&&this.$emit("clear:value"),this.$emit("select:account",this.name))},clearSource:function(t){this.name="",this.$emit("clear:value")},handleEnter:function(t){13===t.keyCode&&t.preventDefault()}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{type:"text",placeholder:t.title,"data-index":t.index,autocomplete:"off","data-role":"input",disabled:t.inputDisabled,name:t.inputName,title:t.title},on:{keypress:t.handleEnter,submit:function(t){t.preventDefault()}}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:t.clearSource}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":t.accountAutoCompleteURI,target:t.target,"item-key":"name_with_balance"},on:{input:t.selectedItem},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"67fe0472",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"Budget",props:{transactionType:String,value:{type:[String,Number],default:0},error:Array,no_budget:String},mounted:function(){this.loadBudgets()},data:function(){return{selected:this.value,budgets:[]}},methods:{signalChange:function(t){this.$emit("input",this.$refs.budget.value)},handleInput:function(t){this.$emit("input",this.$refs.budget.value)},hasError:function(){return this.error.length>0},loadBudgets:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"json/budgets";axios.get(e,{}).then((function(e){for(var n in t.budgets=[{name:t.no_budget,id:0}],e.data)e.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&t.budgets.push(e.data[n])}))}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return void 0===this.transactionType||"withdrawal"===this.transactionType||"Withdrawal"===this.transactionType||""===this.transactionType||null===this.transactionType?n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.budget"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[this.budgets.length>0?n("select",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],ref:"budget",staticClass:"form-control",attrs:{name:"budget[]",title:t.$t("firefly.budget")},on:{input:t.handleInput,change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selected=e.target.multiple?n:n[0]},t.signalChange]}},t._l(this.budgets,(function(e){return n("option",{attrs:{label:e.name},domProps:{value:e.id}},[t._v(t._s(e.name)+"\n ")])})),0):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)]):t._e()}),[],!1,null,"05ce99a6",null);e.a=i.exports},,,,,function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Chyba!","flash_success":"Úspěšně dokončeno!","close":"Zavřít","split_transaction_title":"Popis rozúčtování","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Rozdělit","transaction_journal_information":"Informace o transakci","source_account":"Zdrojový účet","destination_account":"Cílový účet","add_another_split":"Přidat další rozúčtování","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Odeslat","amount":"Částka","date":"Datum","tags":"Štítky","no_budget":"(žádný rozpočet)","category":"Kategorie","attachments":"Přílohy","notes":"Poznámky","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"Pokud vytvoříte rozúčtování, je třeba, aby zde byl celkový popis pro všechna rozúčtování dané transakce.","none_in_select_list":"(žádné)","no_piggy_bank":"(no piggy bank)","description":"Popis","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Rozpočet","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Úrokové datum","book_date":"Book date","process_date":"Datum zpracování","due_date":"Datum splatnosti","foreign_amount":"Částka v cizí měně","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení","internal_reference":"Interní reference"},"config":{"html_language":"cs"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Überblick","flash_error":"Fehler!","flash_success":"Geschafft!","close":"Schließen","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Problem bei der Übermittlung. Bitte überprüfen Sie die nachfolgenden Fehler.","split":"Teilen","transaction_journal_information":"Transaktionsinformationen","source_account":"Quellkonto","destination_account":"Zielkonto","add_another_split":"Eine weitere Aufteilung hinzufügen","submission":"Übermittlung","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","reset_after":"Formular nach der Übermittlung zurücksetzen","submit":"Absenden","amount":"Betrag","date":"Datum","tags":"Schlagwörter","no_budget":"(kein Budget)","category":"Kategorie","attachments":"Anhänge","notes":"Notizen","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","store_as_new":"Als neue Buchung speichern statt zu aktualisieren.","split_title_help":"Wenn Sie eine Splittbuchung anlegen, muss es eine eindeutige Beschreibung für alle Aufteilungen der Buchhaltung geben.","none_in_select_list":"(Keine)","no_piggy_bank":"(kein Sparschwein)","description":"Beschreibung","split_transaction_title_help":"Wenn Sie eine Splittbuchung anlegen, muss es eine eindeutige Beschreibung für alle Aufteilungen der Buchung geben.","destination_account_reconciliation":"Sie können das Zielkonto einer Kontenausgleichsbuchung nicht bearbeiten.","source_account_reconciliation":"Sie können das Quellkonto einer Kontenausgleichsbuchung nicht bearbeiten.","budget":"Budget","you_create_withdrawal":"Sie haben eine Auszahlung erstellt.","you_create_transfer":"Sie haben eine Buchung erstellt.","you_create_deposit":"Sie haben eine Einzahlung erstellt."},"form":{"interest_date":"Zinstermin","book_date":"Buchungsdatum","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","foreign_amount":"Ausländischer Betrag","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum","internal_reference":"Interner Verweis"},"config":{"html_language":"de"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Error!","flash_success":"Success!","close":"Close","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Split","transaction_journal_information":"Transaction information","source_account":"Source account","destination_account":"Destination account","add_another_split":"Add another split","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Submit","amount":"Amount","date":"Date","tags":"Tags","no_budget":"(no budget)","category":"Category","attachments":"Attachments","notes":"Notes","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","none_in_select_list":"(none)","no_piggy_bank":"(no piggy bank)","description":"Description","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Budget","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","foreign_amount":"Foreign amount","payment_date":"Payment date","invoice_date":"Invoice date","internal_reference":"Internal reference"},"config":{"html_language":"en"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"¿Qué está pasando?","flash_error":"¡Error!","flash_success":"¡Operación correcta!","close":"Cerrar","split_transaction_title":"Descripción de la transacción dividida","errors_submission":"Hubo algo malo con su envío. Por favor, revise los errores de abajo.","split":"Separar","transaction_journal_information":"Información de transacción","source_account":"Cuenta origen","destination_account":"Cuenta destino","add_another_split":"Añadir otra división","submission":"Envío","create_another":"Después de guardar, vuelve aquí para crear otro.","reset_after":"Restablecer formulario después del envío","submit":"Enviar","amount":"Cantidad","date":"Fecha","tags":"Etiquetas","no_budget":"(sin presupuesto)","category":"Categoria","attachments":"Archivos adjuntos","notes":"Notas","update_transaction":"Actualizar transacción","after_update_create_another":"Después de actualizar, vuelve aquí para continuar editando.","store_as_new":"Almacenar como una nueva transacción en lugar de actualizar.","split_title_help":"Si crea una transacción dividida, debe haber una descripción global para todos los fragmentos de la transacción.","none_in_select_list":"(ninguno)","no_piggy_bank":"(sin alcancía)","description":"Descripción","split_transaction_title_help":"Si crea una transacción dividida, debe existir una descripción global para todas las divisiones de la transacción.","destination_account_reconciliation":"No puede editar la cuenta de destino de una transacción de reconciliación.","source_account_reconciliation":"No puede editar la cuenta de origen de una transacción de reconciliación.","budget":"Presupuesto","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Fecha de interés","book_date":"Fecha de registro","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","foreign_amount":"Cantidad extranjera","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura","internal_reference":"Referencia interna"},"config":{"html_language":"es"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Que se passe-t-il ?","flash_error":"Erreur !","flash_success":"Terminé avec succès !","close":"Fermer","split_transaction_title":"Description de l\'opération ventilée","errors_submission":"Certaines informations ne sont pas correctes dans votre formulaire. Veuillez vérifier les erreurs ci-dessous.","split":"Ventiler","transaction_journal_information":"Informations sur les transactions","source_account":"Compte d\'origine","destination_account":"Compte de destination","add_another_split":"Ajouter une autre fraction","submission":"Soumission","create_another":"Après enregistrement, revenir ici pour en créer un nouveau.","reset_after":"Réinitialiser le formulaire après soumission","submit":"Soumettre","amount":"Montant","date":"Date","tags":"Tags","no_budget":"(pas de budget)","category":"Catégorie","attachments":"Pièces jointes","notes":"Notes","update_transaction":"Mettre à jour la transaction","after_update_create_another":"Après la mise à jour, revenir ici pour continuer l\'édition.","store_as_new":"Enregistrer comme une nouvelle transaction au lieu de mettre à jour.","split_title_help":"Si vous créez une opération ventilée, il doit y avoir une description globale pour chaque fractions de l\'opération.","none_in_select_list":"(aucun)","no_piggy_bank":"(aucune tirelire)","description":"Description","split_transaction_title_help":"Si vous créez une opération ventilée, il doit y avoir une description globale pour chaque fraction de l\'opération.","destination_account_reconciliation":"Vous ne pouvez pas modifier le compte de destination d\'une opération de rapprochement.","source_account_reconciliation":"Vous ne pouvez pas modifier le compte source d\'une opération de rapprochement.","budget":"Budget","you_create_withdrawal":"Vous saisissez une dépense.","you_create_transfer":"Vous saisissez un transfert.","you_create_deposit":"Vous saisissez un dépôt."},"form":{"interest_date":"Date de l’intérêt","book_date":"Date de réservation","process_date":"Date de traitement","due_date":"Échéance","foreign_amount":"Montant en devise étrangère","payment_date":"Date de paiement","invoice_date":"Date de facturation","internal_reference":"Référence interne"},"config":{"html_language":"fr"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Hiba!","flash_success":"Siker!","close":"Bezárás","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Felosztás","transaction_journal_information":"Tranzakciós információk","source_account":"Forrás számla","destination_account":"Célszámla","add_another_split":"Másik felosztás hozzáadása","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Beküldés","amount":"Összeg","date":"Dátum","tags":"Címkék","no_budget":"(nincs költségkeret)","category":"Kategória","attachments":"Mellékletek","notes":"Megjegyzések","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"Felosztott tranzakció létrehozásakor meg kell adni egy globális leírást a tranzakció összes felosztása részére.","none_in_select_list":"(nincs)","no_piggy_bank":"(no piggy bank)","description":"Leírás","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Költségkeret","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Kamatfizetési időpont","book_date":"Könyvelés dátuma","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","foreign_amount":"Foreign amount","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma","internal_reference":"Belső hivatkozás"},"config":{"html_language":"hu"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Kesalahan!","flash_success":"Keberhasilan!","close":"Dekat","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Pisah","transaction_journal_information":"Informasi transaksi","source_account":"Source account","destination_account":"Destination account","add_another_split":"Tambahkan perpecahan lagi","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Menyerahkan","amount":"Jumlah","date":"Tanggal","tags":"Tag","no_budget":"(no budget)","category":"Kategori","attachments":"Lampiran","notes":"Notes","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","none_in_select_list":"(none)","no_piggy_bank":"(no piggy bank)","description":"Deskripsi","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Anggaran","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Tanggal bunga","book_date":"Tanggal buku","process_date":"Tanggal pemrosesan","due_date":"Batas tanggal terakhir","foreign_amount":"Foreign amount","payment_date":"Tanggal pembayaran","invoice_date":"Tanggal faktur","internal_reference":"Referensi internal"},"config":{"html_language":"id"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"La tua situazione finanziaria","flash_error":"Errore!","flash_success":"Successo!","close":"Chiudi","split_transaction_title":"Descrizione della transazione suddivisa","errors_submission":"Errore durante l\'invio. Controlla gli errori segnalati qui sotto.","split":"Dividi","transaction_journal_information":"Informazioni transazione","source_account":"Conto di origine","destination_account":"Conto destinazione","add_another_split":"Aggiungi un\'altra divisione","submission":"Invio","create_another":"Dopo il salvataggio, torna qui per crearne un\'altra.","reset_after":"Resetta il modulo dopo l\'invio","submit":"Invia","amount":"Conto","date":"Data","tags":"Etichette","no_budget":"(nessun budget)","category":"Categoria","attachments":"Allegati","notes":"Note","update_transaction":"Aggiorna transazione","after_update_create_another":"Dopo l\'aggiornamento, torna qui per continuare la modifica.","store_as_new":"Salva come nuova transazione invece di aggiornarla.","split_title_help":"Se crei una transazione suddivisa è necessario che ci sia una descrizione globale per tutte le suddivisioni della transazione.","none_in_select_list":"(nessuna)","no_piggy_bank":"(nessun salvadanaio)","description":"Descrizione","split_transaction_title_help":"Se crei una transazione suddivisa, è necessario che ci sia una descrizione globale per tutte le suddivisioni della transazione.","destination_account_reconciliation":"Non è possibile modificare il conto di destinazione di una transazione di riconciliazione.","source_account_reconciliation":"Non puoi modificare il conto di origine di una transazione di riconciliazione.","budget":"Budget","you_create_withdrawal":"Stai creando un prelievo.","you_create_transfer":"Stai creando un trasferimento.","you_create_deposit":"Stai creando un deposito."},"form":{"interest_date":"Data interesse","book_date":"Data contabile","process_date":"Data elaborazione","due_date":"Data scadenza","foreign_amount":"Importo estero","payment_date":"Data pagamento","invoice_date":"Data fatturazione","internal_reference":"Riferimento interno"},"config":{"html_language":"it"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Hoe staat het er voor?","flash_error":"Fout!","flash_success":"Gelukt!","close":"Sluiten","split_transaction_title":"Beschrijving van de gesplitste transactie","errors_submission":"Er ging iets mis. Check de errors.","split":"Splitsen","transaction_journal_information":"Transactieinformatie","source_account":"Bronrekening","destination_account":"Doelrekening","add_another_split":"Voeg een split toe","submission":"Indienen","create_another":"Terug naar deze pagina voor een nieuwe transactie.","reset_after":"Reset formulier na opslaan","submit":"Invoeren","amount":"Bedrag","date":"Datum","tags":"Tags","no_budget":"(geen budget)","category":"Categorie","attachments":"Bijlagen","notes":"Notities","update_transaction":"Update transactie","after_update_create_another":"Na het opslaan terug om door te gaan met wijzigen.","store_as_new":"Opslaan als nieuwe transactie ipv de huidige bij te werken.","split_title_help":"Als je een gesplitste transactie maakt, moet er een algemene beschrijving zijn voor alle splitsingen van de transactie.","none_in_select_list":"(geen)","no_piggy_bank":"(geen spaarpotje)","description":"Omschrijving","split_transaction_title_help":"Als je een gesplitste transactie maakt, moet er een algemene beschrijving zijn voor alle splitsingen van de transactie.","destination_account_reconciliation":"Je kan de doelrekening van een afstemming niet wijzigen.","source_account_reconciliation":"Je kan de bronrekening van een afstemming niet wijzigen.","budget":"Budget","you_create_withdrawal":"Je maakt een uitgave.","you_create_transfer":"Je maakt een overschrijving.","you_create_deposit":"Je maakt inkomsten."},"form":{"interest_date":"Rentedatum","book_date":"Boekdatum","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","foreign_amount":"Bedrag in vreemde valuta","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum","internal_reference":"Interne verwijzing"},"config":{"html_language":"nl"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Hvordan går det?","flash_error":"Feil!","flash_success":"Suksess!","close":"Lukk","split_transaction_title":"Description of the split transaction","split":"Del opp","transaction_journal_information":"Transaksjonsinformasjon","source_account":"Source account","destination_account":"Destination account","add_another_split":"Legg til en oppdeling til","submit":"Send inn","amount":"Beløp","no_budget":"(ingen budsjett)","category":"Kategori","attachments":"Vedlegg","notes":"Notater"},"form":{"interest_date":"Rentedato","book_date":"Bokføringsdato","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato","internal_reference":"Intern referanse"},"config":{"html_language":"no"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Co jest grane?","flash_error":"Błąd!","flash_success":"Sukces!","close":"Zamknij","split_transaction_title":"Opis podzielonej transakcji","errors_submission":"Coś poszło nie tak w czasie zapisu. Proszę sprawdź błędy poniżej.","split":"Podziel","transaction_journal_information":"Informacje o transakcji","source_account":"Konto źródłowe","destination_account":"Konto docelowe","add_another_split":"Dodaj kolejny podział","submission":"Zapisz","create_another":"Po zapisaniu wróć tutaj, aby utworzyć kolejny.","reset_after":"Wyczyść formularz po zapisaniu","submit":"Prześlij","amount":"Kwota","date":"Data","tags":"Tagi","no_budget":"(brak budżetu)","category":"Kategoria","attachments":"Załączniki","notes":"Notatki","update_transaction":"Zaktualizuj transakcję","after_update_create_another":"Po aktualizacji wróć tutaj, aby kontynuować edycję.","store_as_new":"Zapisz jako nową zamiast aktualizować.","split_title_help":"Podzielone transakcje muszą posiadać globalny opis.","none_in_select_list":"(żadne)","no_piggy_bank":"(brak skarbonki)","description":"Opis","split_transaction_title_help":"Jeśli tworzysz podzieloną transakcję, musi ona posiadać globalny opis dla wszystkich podziałów w transakcji.","destination_account_reconciliation":"Nie możesz edytować konta docelowego transakcji uzgadniania.","source_account_reconciliation":"Nie możesz edytować konta źródłowego transakcji uzgadniania.","budget":"Budżet","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Data odsetek","book_date":"Data księgowania","process_date":"Data przetworzenia","due_date":"Termin realizacji","foreign_amount":"Kwota zagraniczna","payment_date":"Data płatności","invoice_date":"Data faktury","internal_reference":"Wewnętrzny numer"},"config":{"html_language":"pl"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Mitä kuuluu?","flash_error":"Virhe!","flash_success":"Valmista tuli!","close":"Sulje","split_transaction_title":"Jaetun tapahtuman kuvaus","errors_submission":"Lomakkeen tiedoissa oli puutteita - alta löydät listan puutteista.","split":"Jaa","transaction_journal_information":"Tapahtumatiedot","source_account":"Lähdetili","destination_account":"Kohdetili","add_another_split":"Lisää uusi jako","submission":"Vahvistus","create_another":"Tallennuksen jälkeen, palaa takaisin luomaan uusi tapahtuma.","reset_after":"Tyhjennä lomake lähetyksen jälkeen","submit":"Vahvista","amount":"Summa","date":"Päivämäärä","tags":"Tägit","no_budget":"(ei budjettia)","category":"Kategoria","attachments":"Liitteet","notes":"Muistiinpanot","update_transaction":"Päivitä tapahtuma","after_update_create_another":"Päivityksen jälkeen, palaa takaisin jatkamaan muokkausta.","store_as_new":"Tallenna uutena tapahtumana päivityksen sijaan.","split_title_help":"Jos luot jaetun tapahtuman, kokonaisuudelle tarvitaan nimi.","none_in_select_list":"(ei mitään)","no_piggy_bank":"(ei säästöpossu)","description":"Kuvaus","split_transaction_title_help":"Jos luot jaetun tapahtuman, kokonaisuudelle tarvitaan nimi.","destination_account_reconciliation":"Et voi muokata täsmäytystapahtuman kohdetiliä.","source_account_reconciliation":"Et voi muokata täsmäytystapahtuman lähdetiliä.","budget":"Budjetti","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Korkopäivä","book_date":"Kirjauspäivä","process_date":"Käsittelypäivä","due_date":"Eräpäivä","foreign_amount":"Ulkomaan summa","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä","internal_reference":"Sisäinen viite"},"config":{"html_language":"fi"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Erro!","flash_success":"Sucesso!","close":"Fechar","split_transaction_title":"Descrição da transação dividida","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Dividir","transaction_journal_information":"Informação da transação","source_account":"Conta origem","destination_account":"Conta destino","add_another_split":"Adicionar outra divisão","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Enviar","amount":"Valor","date":"Data","tags":"Tags","no_budget":"(sem orçamento)","category":"Categoria","attachments":"Anexos","notes":"Notas","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"Se você criar uma transação dividida, é necessário haver uma descrição global para todas as partes da transação.","none_in_select_list":"(nenhum)","no_piggy_bank":"(nenhum cofrinho)","description":"Descrição","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Orçamento","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Data de interesse","book_date":"Data reserva","process_date":"Data de processamento","due_date":"Data de vencimento","foreign_amount":"Montante em moeda estrangeira","payment_date":"Data de pagamento","invoice_date":"Data da Fatura","internal_reference":"Referência interna"},"config":{"html_language":"pt-br"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Ce se redă?","flash_error":"Eroare!","flash_success":"Succes!","close":"Închide","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"A fost ceva în neregulă cu transmiterea dvs. Vă rugăm să consultați erorile de mai jos.","split":"Împarte","transaction_journal_information":"Informații despre tranzacții","source_account":"Contul sursă","destination_account":"Contul de destinație","add_another_split":"Adăugați o divizare","submission":"Transmitere","create_another":"După stocare, reveniți aici pentru a crea alta.","reset_after":"Resetați formularul după trimitere","submit":"Trimite","amount":"Sumă","date":"Dată","tags":"Etichete","no_budget":"(nici un buget)","category":"Categorie","attachments":"Atașamente","notes":"Notițe","update_transaction":"Actualizați tranzacția","after_update_create_another":"După actualizare, reveniți aici pentru a continua editarea.","store_as_new":"Stocați ca o tranzacție nouă în loc să actualizați.","split_title_help":"Dacă creați o tranzacție divizată, trebuie să existe o descriere globală pentru toate diviziunile tranzacției.","none_in_select_list":"(nici unul)","no_piggy_bank":"(nicio pușculiță)","description":"Descriere","split_transaction_title_help":"Dacă creați o tranzacție divizată, trebuie să existe o descriere globală pentru toate diviziunile tranzacției.","destination_account_reconciliation":"Nu puteți edita contul de destinație al unei tranzacții de reconciliere.","source_account_reconciliation":"Nu puteți edita contul sursă al unei tranzacții de reconciliere.","budget":"Buget","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Data de interes","book_date":"Rezervă dată","process_date":"Data procesării","due_date":"Data scadentă","foreign_amount":"Sumă străină","payment_date":"Data de plată","invoice_date":"Data facturii","internal_reference":"Referință internă"},"config":{"html_language":"ro"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Что происходит с моими финансами?","flash_error":"Ошибка!","flash_success":"Успешно!","close":"Закрыть","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке произошла ошибка. Пожалуйста, проверьте ошибки ниже.","split":"Разделить","transaction_journal_information":"Информация о транзакции","source_account":"Счёт-источник","destination_account":"Счёт назначения","add_another_split":"Добавить новую часть","submission":"Отправить","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","reset_after":"Сбросить форму после отправки","submit":"Подтвердить","amount":"Сумма","date":"Дата","tags":"Метки","no_budget":"(вне бюджета)","category":"Категория","attachments":"Вложения","notes":"Заметки","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","store_as_new":"Сохранить как новую транзакцию вместо обновления.","split_title_help":"Если вы создаёте разделённую транзакцию, то должны указать общее описание дле всех её составляющих.","none_in_select_list":"(нет)","no_piggy_bank":"(нет копилки)","description":"Описание","split_transaction_title_help":"Если вы создаёте разделённую транзакцию, то должны указать общее описание для всех её составляющих.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"Вы не можете редактировать исходный аккаунт сверки.","budget":"Бюджет","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Дата выплаты","book_date":"Дата бронирования","process_date":"Дата обработки","due_date":"Срок","foreign_amount":"Сумма в иностранной валюте","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта","internal_reference":"Внутренняя ссылка"},"config":{"html_language":"ru"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"吃饱没?","flash_error":"错误!","flash_success":"成功!","close":"关闭","split_transaction_title":"拆分交易的描述","split":"分割","transaction_journal_information":"交易资讯","source_account":"来源帐户","destination_account":"目标帐户","add_another_split":"增加拆分","submit":"送出","amount":"金额","no_budget":"(无预算)","category":"分类","attachments":"附加档案","notes":"注释"},"form":{"interest_date":"利率日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期","internal_reference":"内部参考"},"config":{"html_language":"zh"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"錯誤!","flash_success":"成功!","close":"關閉","split_transaction_title":"拆分交易的描述","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"分割","transaction_journal_information":"交易資訊","source_account":"Source account","destination_account":"Destination account","add_another_split":"增加拆分","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"送出","amount":"金額","date":"日期","tags":"標籤","no_budget":"(無預算)","category":"分類","attachments":"附加檔案","notes":"備註","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"若您建立一筆拆分交易,須有一個有關交易所有拆分的整體描述。","none_in_select_list":"(空)","no_piggy_bank":"(no piggy bank)","description":"描述","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"預算","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"利率日期","book_date":"登記日期","process_date":"處理日期","due_date":"到期日","foreign_amount":"外幣金額","payment_date":"付款日期","invoice_date":"發票日期","internal_reference":"內部參考"},"config":{"html_language":"zh-tw"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"今天理财了吗?","flash_error":"错误!","flash_success":"成功!","close":"关闭","split_transaction_title":"拆分交易的描述","errors_submission":"您的提交有误,请查看下面输出的错误信息。","split":"分割","transaction_journal_information":"交易资讯","source_account":"来源帐户","destination_account":"目标帐户","add_another_split":"增加拆分","submission":"提交","create_another":"保存后,返回此页面创建另一笔记录。","reset_after":"提交后重置表单","submit":"提交","amount":"金额","date":"日期","tags":"标签","no_budget":"(无预算)","category":"分类","attachments":"附加档案","notes":"注释","update_transaction":"更新交易","after_update_create_another":"更新后,返回此页面继续编辑。","store_as_new":"保存为新交易而不是更新此交易。","split_title_help":"如果您创建一个拆分交易,必须有一个全局的交易描述。","none_in_select_list":"(空)","no_piggy_bank":"(无存钱罐)","description":"描述","split_transaction_title_help":"如果您创建了一个分割交易,交易的所有分割项都必须有全局描述。","destination_account_reconciliation":"您不能编辑对账交易的目标账户","source_account_reconciliation":"您不能编辑对账交易的源账户","budget":"预算","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"利率日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","foreign_amount":"外币金额","payment_date":"付款日期","invoice_date":"发票日期","internal_reference":"内部参考"},"config":{"html_language":"zh-cn"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Vad spelas?","flash_error":"Fel!","flash_success":"Slutförd!","close":"Stäng","split_transaction_title":"Description of the split transaction","errors_submission":"Något fel uppstod med inskickningen. Vänligen kontrollera felen nedan.","split":"Dela","transaction_journal_information":"Transaktionsinformation","source_account":"Från konto","destination_account":"Till konto","add_another_split":"Lägga till en annan delning","submission":"Inskickning","create_another":"Efter sparat, återkom hit för att skapa ytterligare en.","reset_after":"Återställ formulär efter inskickat","submit":"Skicka","amount":"Belopp","date":"Datum","tags":"Etiketter","no_budget":"(ingen budget)","category":"Kategori","attachments":"Bilagor","notes":"Noteringar","update_transaction":"Uppdatera transaktion","after_update_create_another":"Efter uppdaterat, återkom hit för att fortsätta redigera.","store_as_new":"Spara en ny transaktion istället för att uppdatera.","split_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","none_in_select_list":"(Ingen)","no_piggy_bank":"(ingen spargris)","description":"Beskrivning","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"Du kan inte redigera destinationskontot för en avstämningstransaktion.","source_account_reconciliation":"Du kan inte redigera källkontot för en avstämningstransaktion.","budget":"Budget","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Räntedatum","book_date":"Bokföringsdatum","process_date":"Behandlingsdatum","due_date":"Förfallodatum","foreign_amount":"Utländskt belopp","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum","internal_reference":"Intern referens"},"config":{"html_language":"sv"}}')},,,,,,,,,,,function(t,e,n){t.exports=n(90)},,,,,,,,,,,function(t,e,n){"use strict";n.r(e);var a=n(30),r={name:"CreateTransaction",components:{},mounted:function(){this.addTransactionToArray()},ready:function(){},methods:{convertData:function(){var t,e,n,a={transactions:[]};for(var r in this.transactions.length>1&&(a.group_title=this.group_title),t=this.transactionType?this.transactionType.toLowerCase():"invalid",e=this.transactions[0].source_account.type,n=this.transactions[0].destination_account.type,"invalid"===t&&["Asset account","Loan","Debt","Mortgage"].includes(e)&&(t="withdrawal"),"invalid"===t&&["Asset account","Loan","Debt","Mortgage"].includes(n)&&(t="deposit"),this.transactions)this.transactions.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294&&a.transactions.push(this.convertDataRow(this.transactions[r],r,t));return a},convertDataRow:function(t,e,n){var a,r,i,o,s,c,u=[],l=null,A=null;for(var d in r=t.source_account.id,i=t.source_account.name,o=t.destination_account.id,s=t.destination_account.name,c=t.date,e>0&&(c=this.transactions[0].date),"withdrawal"===n&&""===s&&(o=window.cashAccountId),"deposit"===n&&""===i&&(r=window.cashAccountId),e>0&&("withdrawal"===n.toLowerCase()||"transfer"===n.toLowerCase())&&(r=this.transactions[0].source_account.id,i=this.transactions[0].source_account.name),e>0&&("deposit"===n.toLowerCase()||"transfer"===n.toLowerCase())&&(o=this.transactions[0].destination_account.id,s=this.transactions[0].destination_account.name),u=[],l=null,A=null,t.tags)t.tags.hasOwnProperty(d)&&/^0$|^[1-9]\d*$/.test(d)&&d<=4294967294&&u.push(t.tags[d].text);return""!==t.foreign_amount.amount&&0!==parseFloat(t.foreign_amount.amount)&&(l=t.foreign_amount.amount,A=t.foreign_amount.currency_id),A===t.currency_id&&(l=null,A=null),0===o&&(o=null),0===r&&(r=null),a={type:n,date:c,amount:t.amount,currency_id:t.currency_id,description:t.description,source_id:r,source_name:i,destination_id:o,destination_name:s,category_name:t.category,interest_date:t.custom_fields.interest_date,book_date:t.custom_fields.book_date,process_date:t.custom_fields.process_date,due_date:t.custom_fields.due_date,payment_date:t.custom_fields.payment_date,invoice_date:t.custom_fields.invoice_date,internal_reference:t.custom_fields.internal_reference,notes:t.custom_fields.notes},u.length>0&&(a.tags=u),null!==l&&(a.foreign_amount=l,a.foreign_currency_id=A),parseInt(t.budget)>0&&(a.budget_id=parseInt(t.budget)),parseInt(t.piggy_bank)>0&&(a.piggy_bank_id=parseInt(t.piggy_bank)),a},submit:function(t){var e=this,n="./api/v1/transactions?_token="+document.head.querySelector('meta[name="csrf-token"]').content,a=this.convertData(),r=$("#submitButton");r.prop("disabled",!0),axios.post(n,a).then((function(t){0===e.collectAttachmentData(t)&&e.redirectUser(t.data.data.id,t.data.data)})).catch((function(t){console.error("Error in transaction submission."),console.error(t),e.parseErrors(t.response.data),console.log("enable button again."),r.removeAttr("disabled")})),t&&t.preventDefault()},escapeHTML:function(t){var e=document.createElement("div");return e.innerText=t,e.innerHTML},redirectUser:function(t,e){var n=this,a=null===e.attributes.group_title?e.attributes.transactions[0].description:e.attributes.group_title;this.createAnother?(this.success_message='Transaction #'+t+' ("'+this.escapeHTML(a)+'") has been stored.',this.error_message="",this.resetFormAfter&&(this.resetTransactions(),setTimeout((function(){return n.addTransactionToArray()}),50)),this.setDefaultErrors(),console.log("enable button again."),$("#submitButton").removeAttr("disabled")):window.location.href=window.previousUri+"?transaction_group_id="+t+"&message=created"},collectAttachmentData:function(t){var e=this,n=t.data.data.id,a=[],r=[],i=$('input[name="attachments[]"]');for(var o in i)if(i.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294)for(var s in i[o].files)i[o].files.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294&&a.push({journal:t.data.data.attributes.transactions[o].transaction_journal_id,file:i[o].files[s]});var c=a.length,u=function(i){var o,s,u;a.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294&&(o=a[i],s=e,(u=new FileReader).onloadend=function(e){e.target.readyState===FileReader.DONE&&(r.push({name:a[i].file.name,journal:a[i].journal,content:new Blob([e.target.result])}),r.length===c&&s.uploadFiles(r,n,t.data.data))},u.readAsArrayBuffer(o.file))};for(var l in a)u(l);return c},uploadFiles:function(t,e,n){var a=this,r=t.length,i=0,o=function(o){if(t.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294){var s={filename:t[o].name,attachable_type:"TransactionJournal",attachable_id:t[o].journal};axios.post("./api/v1/attachments",s).then((function(s){var c="./api/v1/attachments/"+s.data.data.id+"/upload";axios.post(c,t[o].content).then((function(t){return++i===r&&a.redirectUser(e,n),!0})).catch((function(t){return console.error("Could not upload"),console.error(t),++i===r&&a.redirectUser(e,n),!1}))}))}};for(var s in t)o(s)},setDefaultErrors:function(){for(var t in this.transactions)this.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&(this.transactions[t].errors={source_account:[],destination_account:[],description:[],amount:[],date:[],budget_id:[],foreign_amount:[],category:[],piggy_bank:[],tags:[],custom_errors:{interest_date:[],book_date:[],process_date:[],due_date:[],payment_date:[],invoice_date:[],internal_reference:[],notes:[],attachments:[]}})},parseErrors:function(t){var e,n;for(var a in this.setDefaultErrors(),this.error_message="",t.message.length>0?this.error_message=this.$t("firefly.errors_submission"):this.error_message="",t.errors)if(t.errors.hasOwnProperty(a)){if("group_title"===a&&(this.group_title_errors=t.errors[a]),"group_title"!==a)switch(e=parseInt(a.split(".")[1]),n=a.split(".")[2]){case"amount":case"date":case"budget_id":case"description":case"tags":this.transactions[e].errors[n]=t.errors[a];break;case"source_name":case"source_id":this.transactions[e].errors.source_account=this.transactions[e].errors.source_account.concat(t.errors[a]);break;case"destination_name":case"destination_id":this.transactions[e].errors.destination_account=this.transactions[e].errors.destination_account.concat(t.errors[a]);break;case"foreign_amount":case"foreign_currency_id":this.transactions[e].errors.foreign_amount=this.transactions[e].errors.foreign_amount.concat(t.errors[a])}void 0!==this.transactions[e]&&(this.transactions[e].errors.source_account=Array.from(new Set(this.transactions[e].errors.source_account)),this.transactions[e].errors.destination_account=Array.from(new Set(this.transactions[e].errors.destination_account)))}},resetTransactions:function(){this.transactions=[]},addTransactionToArray:function(t){if(this.transactions.push({description:"",date:"",amount:"",category:"",piggy_bank:0,errors:{source_account:[],destination_account:[],description:[],amount:[],date:[],budget_id:[],foreign_amount:[],category:[],piggy_bank:[],tags:[],custom_errors:{interest_date:[],book_date:[],process_date:[],due_date:[],payment_date:[],invoice_date:[],internal_reference:[],notes:[],attachments:[]}},budget:0,tags:[],custom_fields:{interest_date:"",book_date:"",process_date:"",due_date:"",payment_date:"",invoice_date:"",internal_reference:"",notes:"",attachments:[]},foreign_amount:{amount:"",currency_id:0},source_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:["Asset account","Revenue account","Loan","Debt","Mortgage"],default_allowed_types:["Asset account","Revenue account","Loan","Debt","Mortgage"]},destination_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:["Asset account","Expense account","Loan","Debt","Mortgage"],default_allowed_types:["Asset account","Expense account","Loan","Debt","Mortgage"]}}),1===this.transactions.length){var e=new Date;this.transactions[0].date=e.getFullYear()+"-"+("0"+(e.getMonth()+1)).slice(-2)+"-"+("0"+e.getDate()).slice(-2)}t&&t.preventDefault()},setTransactionType:function(t){this.transactionType=t},deleteTransaction:function(t,e){for(var n in e.preventDefault(),this.transactions)this.transactions.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n);for(var a in this.transactions.splice(t,1),this.transactions)this.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)},limitSourceType:function(t){var e;for(e=0;e1?n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-6"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title"))+"\n ")])]),t._v(" "),n("div",{staticClass:"box-body"},[n("group-description",{attrs:{error:t.group_title_errors},model:{value:t.group_title,callback:function(e){t.group_title=e},expression:"group_title"}})],1)])])]):t._e(),t._v(" "),n("div",t._l(t.transactions,(function(e,a){return n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-12"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title splitTitle"},[t.transactions.length>1?n("span",[t._v(t._s(t.$t("firefly.split"))+" "+t._s(a+1)+" / "+t._s(t.transactions.length))]):t._e(),t._v(" "),1===t.transactions.length?n("span",[t._v(t._s(t.$t("firefly.transaction_journal_information")))]):t._e()]),t._v(" "),t.transactions.length>1?n("div",{staticClass:"box-tools pull-right",attrs:{x:""}},[n("button",{staticClass:"btn btn-xs btn-danger",attrs:{type:"button"},on:{click:function(e){return t.deleteTransaction(a,e)}}},[n("i",{staticClass:"fa fa-trash"})])]):t._e()]),t._v(" "),n("div",{staticClass:"box-body"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-4"},[n("transaction-description",{attrs:{index:a,error:e.errors.description},model:{value:e.description,callback:function(n){t.$set(e,"description",n)},expression:"transaction.description"}}),t._v(" "),n("account-select",{attrs:{inputName:"source[]",title:t.$t("firefly.source_account"),accountName:e.source_account.name,accountTypeFilters:e.source_account.allowed_types,defaultAccountTypeFilters:e.source_account.default_allowed_types,transactionType:t.transactionType,index:a,error:e.errors.source_account},on:{"clear:value":function(e){return t.clearSource(a)},"select:account":function(e){return t.selectedSourceAccount(a,e)}}}),t._v(" "),n("account-select",{attrs:{inputName:"destination[]",title:t.$t("firefly.destination_account"),accountName:e.destination_account.name,accountTypeFilters:e.destination_account.allowed_types,defaultAccountTypeFilters:e.destination_account.default_allowed_types,transactionType:t.transactionType,index:a,error:e.errors.destination_account},on:{"clear:value":function(e){return t.clearDestination(a)},"select:account":function(e){return t.selectedDestinationAccount(a,e)}}}),t._v(" "),n("standard-date",{attrs:{index:a,error:e.errors.date},model:{value:e.date,callback:function(n){t.$set(e,"date",n)},expression:"transaction.date"}}),t._v(" "),0===a?n("div",[n("transaction-type",{attrs:{source:e.source_account.type,destination:e.destination_account.type},on:{"set:transactionType":function(e){return t.setTransactionType(e)},"act:limitSourceType":function(e){return t.limitSourceType(e)},"act:limitDestinationType":function(e){return t.limitDestinationType(e)}}})],1):t._e()],1),t._v(" "),n("div",{staticClass:"col-lg-4"},[n("amount",{attrs:{source:e.source_account,destination:e.destination_account,error:e.errors.amount,transactionType:t.transactionType},model:{value:e.amount,callback:function(n){t.$set(e,"amount",n)},expression:"transaction.amount"}}),t._v(" "),n("foreign-amount",{attrs:{source:e.source_account,destination:e.destination_account,transactionType:t.transactionType,error:e.errors.foreign_amount,title:t.$t("form.foreign_amount")},model:{value:e.foreign_amount,callback:function(n){t.$set(e,"foreign_amount",n)},expression:"transaction.foreign_amount"}})],1),t._v(" "),n("div",{staticClass:"col-lg-4"},[n("budget",{attrs:{transactionType:t.transactionType,error:e.errors.budget_id,no_budget:t.$t("firefly.none_in_select_list")},model:{value:e.budget,callback:function(n){t.$set(e,"budget",n)},expression:"transaction.budget"}}),t._v(" "),n("category",{attrs:{transactionType:t.transactionType,error:e.errors.category},model:{value:e.category,callback:function(n){t.$set(e,"category",n)},expression:"transaction.category"}}),t._v(" "),n("piggy-bank",{attrs:{transactionType:t.transactionType,error:e.errors.piggy_bank,no_piggy_bank:t.$t("firefly.no_piggy_bank")},model:{value:e.piggy_bank,callback:function(n){t.$set(e,"piggy_bank",n)},expression:"transaction.piggy_bank"}}),t._v(" "),n("tags",{attrs:{error:e.errors.tags},model:{value:e.tags,callback:function(n){t.$set(e,"tags",n)},expression:"transaction.tags"}}),t._v(" "),n("custom-transaction-fields",{attrs:{error:e.errors.custom_errors},model:{value:e.custom_fields,callback:function(n){t.$set(e,"custom_fields",n)},expression:"transaction.custom_fields"}})],1)])]),t._v(" "),t.transactions.length-1===a?n("div",{staticClass:"box-footer"},[n("button",{staticClass:"split_add_btn btn btn-default",attrs:{type:"button"},on:{click:t.addTransactionToArray}},[t._v(t._s(t.$t("firefly.add_another_split")))])]):t._e()])])])})),0),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-3 col-md-4 col-sm-6 col-xs-12"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title"},[t._v("\n "+t._s(t.$t("firefly.submission"))+"\n ")])]),t._v(" "),n("div",{staticClass:"box-body"},[n("div",{staticClass:"checkbox"},[n("label",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createAnother,expression:"createAnother"}],attrs:{name:"create_another",type:"checkbox"},domProps:{checked:Array.isArray(t.createAnother)?t._i(t.createAnother,null)>-1:t.createAnother},on:{change:function(e){var n=t.createAnother,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&(t.createAnother=n.concat([null])):i>-1&&(t.createAnother=n.slice(0,i).concat(n.slice(i+1)))}else t.createAnother=r}}}),t._v("\n "+t._s(t.$t("firefly.create_another"))+"\n ")]),t._v(" "),n("label",{class:{"text-muted":!1===this.createAnother}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.resetFormAfter,expression:"resetFormAfter"}],attrs:{disabled:!1===this.createAnother,name:"reset_form",type:"checkbox"},domProps:{checked:Array.isArray(t.resetFormAfter)?t._i(t.resetFormAfter,null)>-1:t.resetFormAfter},on:{change:function(e){var n=t.resetFormAfter,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&(t.resetFormAfter=n.concat([null])):i>-1&&(t.resetFormAfter=n.slice(0,i).concat(n.slice(i+1)))}else t.resetFormAfter=r}}}),t._v("\n "+t._s(t.$t("firefly.reset_after"))+"\n\n ")])])]),t._v(" "),n("div",{staticClass:"box-footer"},[n("div",{staticClass:"btn-group"},[n("button",{staticClass:"btn btn-success",attrs:{id:"submitButton"},on:{click:t.submit}},[t._v(t._s(t.$t("firefly.submit")))])])])])])])])}),[],!1,null,"462146d1",null).exports,s=n(31),c=n(32),u=n(33),l=n(34),A=n(35),d=n(36),p=n(37),f=n(38),g=n(39),m=n(40),_=n(41),h=n(42),v=n(43),y=n(44),b=n(45);n(28),Vue.component("budget",b.a),Vue.component("custom-date",s.a),Vue.component("custom-string",c.a),Vue.component("custom-attachments",a.a),Vue.component("custom-textarea",u.a),Vue.component("standard-date",l.a),Vue.component("group-description",A.a),Vue.component("transaction-description",d.a),Vue.component("custom-transaction-fields",p.a),Vue.component("piggy-bank",f.a),Vue.component("tags",g.a),Vue.component("category",m.a),Vue.component("amount",_.a),Vue.component("foreign-amount",h.a),Vue.component("transaction-type",v.a),Vue.component("account-select",y.a),Vue.component("create-transaction",o);var C=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{cs:n(50),de:n(51),en:n(52),es:n(53),fr:n(54),hu:n(55),id:n(56),it:n(57),nl:n(58),no:n(59),pl:n(60),fi:n(61),"pt-br":n(62),ro:n(63),ru:n(64),zh:n(65),"zh-tw":n(66),"zh-cn":n(67),sv:n(68)}}),w={};new Vue({i18n:C,el:"#create_transaction",render:function(t){return t(o,{props:w})}})}]); \ No newline at end of file +!function(t){var e={};function n(a){if(e[a])return e[a].exports;var r=e[a]={i:a,l:!1,exports:{}};return t[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(a,r,function(e){return t[e]}.bind(null,r));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=79)}([function(t,e,n){"use strict";function a(t,e,n,a,r,i,o,s){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),a&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),o?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=c):r&&(c=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var A=u.beforeCreate;u.beforeCreate=A?[].concat(A,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return a}))},function(t,e,n){"use strict";var a=n(5),r=n(12),i=Object.prototype.toString;function o(t){return"[object Array]"===i.call(t)}function s(t){return null!==t&&"object"==typeof t}function c(t){return"[object Function]"===i.call(t)}function u(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var n=0,a=t.length;n=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},a.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),a.forEach(["post","put","patch"],(function(t){c.headers[t]=a.merge(i)})),t.exports=c}).call(this,n(10))},function(t,e,n){t.exports=n(11)},,function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),a=0;a1)for(var n=1;n=0)return;o[e]="set-cookie"===e?(o[e]?o[e]:[]).concat([n]):o[e]?o[e]+", "+n:n}})),o):o}},function(t,e,n){"use strict";var a=n(1);t.exports=a.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(t){var a=t;return e&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=r(window.location.href),function(e){var n=a.isString(e)?r(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var a=n(1);t.exports=a.isStandardBrowserEnv()?{write:function(t,e,n,r,i,o){var s=[];s.push(t+"="+encodeURIComponent(e)),a.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),a.isString(r)&&s.push("path="+r),a.isString(i)&&s.push("domain="+i),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var a=n(1);function r(){this.handlers=[]}r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){a.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=r},function(t,e,n){"use strict";var a=n(1),r=n(23),i=n(8),o=n(2),s=n(24),c=n(25);function u(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return u(t),t.baseURL&&!s(t.url)&&(t.url=c(t.baseURL,t.url)),t.headers=t.headers||{},t.data=r(t.data,t.headers,t.transformRequest),t.headers=a.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),a.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||o.adapter)(t).then((function(e){return u(t),e.data=r(e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(u(t),e&&e.response&&(e.response.data=r(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var a=n(1);t.exports=function(t,e,n){return a.forEach(n,(function(n){t=n(t,e)})),t}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var a=n(9);function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new a(t),e(n.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r((function(e){t=e})),cancel:t}},t.exports=r},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){window.axios=n(3),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var a=document.head.querySelector('meta[name="csrf-token"]');a?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=a.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token")},function(t,e,n){window,t.exports=function(t){var e={};function n(a){if(e[a])return e[a].exports;var r=e[a]={i:a,l:!1,exports:{}};return t[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(a,r,function(e){return t[e]}.bind(null,r));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=6)}([function(t,e,n){var a=n(8);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals),(0,n(4).default)("7ec05f6c",a,!1,{})},function(t,e,n){var a=n(10);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals),(0,n(4).default)("3453d19d",a,!1,{})},function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n,a=t[1]||"",r=t[3];if(!r)return a;if(e&&"function"==typeof btoa){var i=(n=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),o=r.sources.map((function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"}));return[a].concat(o).concat([i]).join("\n")}return[a].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var a={},r=0;rn.parts.length&&(a.parts.length=n.parts.length)}else{var o=[];for(r=0;r div[data-v-61d92e31] {\n cursor: pointer;\n padding: 3px 6px;\n width: 100%;\n}\n.ti-selected-item[data-v-61d92e31] {\n background-color: #5C6BC0;\n color: #fff;\n}\n',"",{version:3,sources:["C:/Users/johan/dev/vue-tags-input/vue-tags-input/C:/Users/johan/dev/vue-tags-input/vue-tags-input/vue-tags-input.scss"],names:[],mappings:"AAAA;EACE,uBAAuB;EACvB,mCAA8C;EAC9C,+JAAuM;EACvM,oBAAoB;EACpB,mBAAmB;CAAE;AAEvB;EACE,kCAAkC;EAClC,YAAY;EACZ,mBAAmB;EACnB,oBAAoB;EACpB,qBAAqB;EACrB,qBAAqB;EACrB,eAAe;EACf,oCAAoC;EACpC,mCAAmC;CAAE;AAEvC;EACE,iBAAiB;CAAE;AAErB;EACE,iBAAiB;CAAE;AAErB;EACE,iBAAiB;CAAE;AAErB;EACE,YAAY;EACZ,aAAa;EACb,sBAAsB;CAAE;AAE1B;EACE,uBAAuB;CAAE;AAE3B;EACE,cAAc;CAAE;AAElB;EACE,8BAA8B;CAAE;AAElC;EACE,iBAAiB;EACjB,mBAAmB;EACnB,uBAAuB;CAAE;AAE3B;EACE,aAAa;CAAE;AACf;IACE,gBAAgB;CAAE;AAEtB;EACE,uBAAuB;EACvB,cAAc;EACd,aAAa;EACb,gBAAgB;CAAE;AAEpB;EACE,cAAc;EACd,gBAAgB;EAChB,YAAY;EACZ,iBAAiB;CAAE;AAErB;EACE,0BAA0B;EAC1B,YAAY;EACZ,mBAAmB;EACnB,cAAc;EACd,iBAAiB;EACjB,YAAY;EACZ,iBAAiB;CAAE;AACnB;IACE,cAAc;CAAE;AAClB;IACE,cAAc;IACd,oBAAoB;CAAE;AACxB;IACE,mBAAmB;CAAE;AACvB;IACE,mBAAmB;CAAE;AACvB;IACE,mBAAmB;IACnB,mBAAmB;IACnB,YAAY;IACZ,iBAAiB;CAAE;AACrB;IACE,iBAAiB;IACjB,cAAc;IACd,oBAAoB;IACpB,kBAAkB;CAAE;AACpB;MACE,gBAAgB;CAAE;AACtB;IACE,kBAAkB;CAAE;AACtB;IACE,0BAA0B;CAAE;AAEhC;EACE,cAAc;EACd,eAAe;EACf,iBAAiB;EACjB,YAAY;EACZ,iBAAiB;CAAE;AACnB;IACE,eAAe;IACf,iBAAiB;IACjB,aAAa;IACb,aAAa;IACb,YAAY;CAAE;AAElB;EACE,qBAAqB;CAAE;AAEzB;EACE,uBAAuB;EACvB,iBAAiB;EACjB,mBAAmB;EACnB,YAAY;EACZ,uBAAuB;EACvB,YAAY;CAAE;AAEhB;EACE,gBAAgB;EAChB,iBAAiB;EACjB,YAAY;CAAE;AAEhB;EACE,0BAA0B;EAC1B,YAAY;CAAE",file:"vue-tags-input.scss?vue&type=style&index=0&id=61d92e31&lang=scss&scoped=true&",sourcesContent:['@font-face {\n font-family: \'icomoon\';\n src: url("./assets/fonts/icomoon.eot?7grlse");\n src: url("./assets/fonts/icomoon.eot?7grlse#iefix") format("embedded-opentype"), url("./assets/fonts/icomoon.ttf?7grlse") format("truetype"), url("./assets/fonts/icomoon.woff?7grlse") format("woff");\n font-weight: normal;\n font-style: normal; }\n\n[class^="ti-icon-"], [class*=" ti-icon-"] {\n font-family: \'icomoon\' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale; }\n\n.ti-icon-check:before {\n content: "\\e902"; }\n\n.ti-icon-close:before {\n content: "\\e901"; }\n\n.ti-icon-undo:before {\n content: "\\e900"; }\n\nul {\n margin: 0px;\n padding: 0px;\n list-style-type: none; }\n\n*, *:before, *:after {\n box-sizing: border-box; }\n\ninput:focus {\n outline: none; }\n\ninput[disabled] {\n background-color: transparent; }\n\n.vue-tags-input {\n max-width: 450px;\n position: relative;\n background-color: #fff; }\n\ndiv.vue-tags-input.disabled {\n opacity: 0.5; }\n div.vue-tags-input.disabled * {\n cursor: default; }\n\n.ti-input {\n border: 1px solid #ccc;\n display: flex;\n padding: 4px;\n flex-wrap: wrap; }\n\n.ti-tags {\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n line-height: 1em; }\n\n.ti-tag {\n background-color: #5C6BC0;\n color: #fff;\n border-radius: 2px;\n display: flex;\n padding: 3px 5px;\n margin: 2px;\n font-size: .85em; }\n .ti-tag:focus {\n outline: none; }\n .ti-tag .ti-content {\n display: flex;\n align-items: center; }\n .ti-tag .ti-tag-center {\n position: relative; }\n .ti-tag span {\n line-height: .85em; }\n .ti-tag span.ti-hidden {\n padding-left: 14px;\n visibility: hidden;\n height: 0px;\n white-space: pre; }\n .ti-tag .ti-actions {\n margin-left: 2px;\n display: flex;\n align-items: center;\n font-size: 1.15em; }\n .ti-tag .ti-actions i {\n cursor: pointer; }\n .ti-tag:last-child {\n margin-right: 4px; }\n .ti-tag.ti-invalid, .ti-tag.ti-tag.ti-deletion-mark {\n background-color: #e54d42; }\n\n.ti-new-tag-input-wrapper {\n display: flex;\n flex: 1 0 auto;\n padding: 3px 5px;\n margin: 2px;\n font-size: .85em; }\n .ti-new-tag-input-wrapper input {\n flex: 1 0 auto;\n min-width: 100px;\n border: none;\n padding: 0px;\n margin: 0px; }\n\n.ti-new-tag-input {\n line-height: initial; }\n\n.ti-autocomplete {\n border: 1px solid #ccc;\n border-top: none;\n position: absolute;\n width: 100%;\n background-color: #fff;\n z-index: 20; }\n\n.ti-item > div {\n cursor: pointer;\n padding: 3px 6px;\n width: 100%; }\n\n.ti-selected-item {\n background-color: #5C6BC0;\n color: #fff; }\n'],sourceRoot:""}])},function(t,e,n){"use strict";t.exports=function(t){return"string"!=typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),/["'() \t\n]/.test(t)?'"'+t.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':t)}},function(t,e){t.exports="data:font/ttf;base64,AAEAAAALAIAAAwAwT1MvMg8SBawAAAC8AAAAYGNtYXAXVtKJAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZqWfozAAAAF4AAAA/GhlYWQPxZgIAAACdAAAADZoaGVhB4ADyAAAAqwAAAAkaG10eBIAAb4AAALQAAAAHGxvY2EAkgDiAAAC7AAAABBtYXhwAAkAHwAAAvwAAAAgbmFtZZlKCfsAAAMcAAABhnBvc3QAAwAAAAAEpAAAACAAAwOAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpAgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6QL//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAFYBAQO+AoEAHAAAATIXHgEXFhcHJicuAScmIyIGBxchERc2Nz4BNzYCFkpDQ28pKRdkECAfVTM0OT9wLZz+gJgdIiJLKSgCVRcYUjg5QiAzKys+ERIrJZoBgJoZFRQcCAgAAQDWAIEDKgLVAAsAAAEHFwcnByc3JzcXNwMq7u487u487u487u4Cme7uPO7uPO7uPO7uAAEAkgCBA4ACvQAFAAAlARcBJzcBgAHEPP4A7jz5AcQ8/gDuPAAAAAABAAAAAAAAH8nTUV8PPPUACwQAAAAAANZ1KhsAAAAA1nUqGwAAAAADvgLVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAO+AAEAAAAAAAAAAAAAAAAAAAAHBAAAAAAAAAAAAAAAAgAAAAQAAFYEAADWBAAAkgAAAAAACgAUAB4AUABqAH4AAQAAAAcAHQABAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGljb21vb24AaQBjAG8AbQBvAG8AblZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGljb21vb24AaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AblJlZ3VsYXIAUgBlAGcAdQBsAGEAcmljb21vb24AaQBjAG8AbQBvAG8AbkZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="},function(t,e){t.exports="data:font/woff;base64,d09GRgABAAAAAAUQAAsAAAAABMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIFrGNtYXAAAAFoAAAAVAAAAFQXVtKJZ2FzcAAAAbwAAAAIAAAACAAAABBnbHlmAAABxAAAAPwAAAD8pZ+jMGhlYWQAAALAAAAANgAAADYPxZgIaGhlYQAAAvgAAAAkAAAAJAeAA8hobXR4AAADHAAAABwAAAAcEgABvmxvY2EAAAM4AAAAEAAAABAAkgDibWF4cAAAA0gAAAAgAAAAIAAJAB9uYW1lAAADaAAAAYYAAAGGmUoJ+3Bvc3QAAATwAAAAIAAAACAAAwAAAAMDgAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA6QIDwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADgAAAAKAAgAAgACAAEAIOkC//3//wAAAAAAIOkA//3//wAB/+MXBAADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQBWAQEDvgKBABwAAAEyFx4BFxYXByYnLgEnJiMiBgcXIREXNjc+ATc2AhZKQ0NvKSkXZBAgH1UzNDk/cC2c/oCYHSIiSykoAlUXGFI4OUIgMysrPhESKyWaAYCaGRUUHAgIAAEA1gCBAyoC1QALAAABBxcHJwcnNyc3FzcDKu7uPO7uPO7uPO7uApnu7jzu7jzu7jzu7gABAJIAgQOAAr0ABQAAJQEXASc3AYABxDz+AO48+QHEPP4A7jwAAAAAAQAAAAAAAB/J01FfDzz1AAsEAAAAAADWdSobAAAAANZ1KhsAAAAAA74C1QAAAAgAAgAAAAAAAAABAAADwP/AAAAEAAAAAAADvgABAAAAAAAAAAAAAAAAAAAABwQAAAAAAAAAAAAAAAIAAAAEAABWBAAA1gQAAJIAAAAAAAoAFAAeAFAAagB+AAEAAAAHAB0AAQAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAHAAAAAQAAAAAAAgAHAGAAAQAAAAAAAwAHADYAAQAAAAAABAAHAHUAAQAAAAAABQALABUAAQAAAAAABgAHAEsAAQAAAAAACgAaAIoAAwABBAkAAQAOAAcAAwABBAkAAgAOAGcAAwABBAkAAwAOAD0AAwABBAkABAAOAHwAAwABBAkABQAWACAAAwABBAkABgAOAFIAAwABBAkACgA0AKRpY29tb29uAGkAYwBvAG0AbwBvAG5WZXJzaW9uIDEuMABWAGUAcgBzAGkAbwBuACAAMQAuADBpY29tb29uAGkAYwBvAG0AbwBvAG5pY29tb29uAGkAYwBvAG0AbwBvAG5SZWd1bGFyAFIAZQBnAHUAbABhAHJpY29tb29uAGkAYwBvAG0AbwBvAG5Gb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-tags-input",class:[{"ti-disabled":t.disabled},{"ti-focus":t.focused}]},[n("div",{staticClass:"ti-input"},[t.tagsCopy?n("ul",{staticClass:"ti-tags"},[t._l(t.tagsCopy,(function(e,a){return n("li",{key:a,staticClass:"ti-tag",class:[{"ti-editing":t.tagsEditStatus[a]},e.tiClasses,e.classes,{"ti-deletion-mark":t.isMarked(a)}],style:e.style,attrs:{tabindex:"0"},on:{click:function(n){return t.$emit("tag-clicked",{tag:e,index:a})}}},[n("div",{staticClass:"ti-content"},[t.$scopedSlots["tag-left"]?n("div",{staticClass:"ti-tag-left"},[t._t("tag-left",null,{tag:e,index:a,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)})],2):t._e(),t._v(" "),n("div",{ref:"tagCenter",refInFor:!0,staticClass:"ti-tag-center"},[t.$scopedSlots["tag-center"]?t._e():n("span",{class:{"ti-hidden":t.tagsEditStatus[a]},on:{click:function(e){return t.performEditTag(a)}}},[t._v(t._s(e.text))]),t._v(" "),t.$scopedSlots["tag-center"]?t._e():n("tag-input",{attrs:{scope:{edit:t.tagsEditStatus[a],maxlength:t.maxlength,tag:e,index:a,validateTag:t.createChangedTag,performCancelEdit:t.cancelEdit,performSaveEdit:t.performSaveTag}}}),t._v(" "),t._t("tag-center",null,{tag:e,index:a,maxlength:t.maxlength,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,validateTag:t.createChangedTag,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)})],2),t._v(" "),t.$scopedSlots["tag-right"]?n("div",{staticClass:"ti-tag-right"},[t._t("tag-right",null,{tag:e,index:a,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)})],2):t._e()]),t._v(" "),n("div",{staticClass:"ti-actions"},[t.$scopedSlots["tag-actions"]?t._e():n("i",{directives:[{name:"show",rawName:"v-show",value:t.tagsEditStatus[a],expression:"tagsEditStatus[index]"}],staticClass:"ti-icon-undo",on:{click:function(e){return t.cancelEdit(a)}}}),t._v(" "),t.$scopedSlots["tag-actions"]?t._e():n("i",{directives:[{name:"show",rawName:"v-show",value:!t.tagsEditStatus[a],expression:"!tagsEditStatus[index]"}],staticClass:"ti-icon-close",on:{click:function(e){return t.performDeleteTag(a)}}}),t._v(" "),t.$scopedSlots["tag-actions"]?t._t("tag-actions",null,{tag:e,index:a,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)}):t._e()],2)])})),t._v(" "),n("li",{staticClass:"ti-new-tag-input-wrapper"},[n("input",t._b({ref:"newTagInput",staticClass:"ti-new-tag-input",class:[t.createClasses(t.newTag,t.tags,t.validation,t.isDuplicate)],attrs:{placeholder:t.placeholder,maxlength:t.maxlength,disabled:t.disabled,type:"text",size:"1"},domProps:{value:t.newTag},on:{keydown:[function(e){return t.performAddTags(t.filteredAutocompleteItems[t.selectedItem]||t.newTag,e)},function(e){return e.type.indexOf("key")||8===e.keyCode?t.invokeDelete(e):null},function(e){return e.type.indexOf("key")||9===e.keyCode?t.performBlur(e):null},function(e){return e.type.indexOf("key")||38===e.keyCode?t.selectItem(e,"before"):null},function(e){return e.type.indexOf("key")||40===e.keyCode?t.selectItem(e,"after"):null}],paste:t.addTagsFromPaste,input:t.updateNewTag,blur:function(e){return t.$emit("blur",e)},focus:function(e){t.focused=!0,t.$emit("focus",e)},click:function(e){!t.addOnlyFromAutocomplete&&(t.selectedItem=null)}}},"input",t.$attrs,!1))])],2):t._e()]),t._v(" "),t._t("between-elements"),t._v(" "),t.autocompleteOpen?n("div",{staticClass:"ti-autocomplete",on:{mouseout:function(e){t.selectedItem=null}}},[t._t("autocomplete-header"),t._v(" "),n("ul",t._l(t.filteredAutocompleteItems,(function(e,a){return n("li",{key:a,staticClass:"ti-item",class:[e.tiClasses,e.classes,{"ti-selected-item":t.isSelected(a)}],style:e.style,on:{mouseover:function(e){!t.disabled&&(t.selectedItem=a)}}},[t.$scopedSlots["autocomplete-item"]?t._t("autocomplete-item",null,{item:e,index:a,performAdd:function(e){return t.performAddTags(e,void 0,"autocomplete")},selected:t.isSelected(a)}):n("div",{on:{click:function(n){return t.performAddTags(e,void 0,"autocomplete")}}},[t._v("\n "+t._s(e.text)+"\n ")])],2)})),0),t._v(" "),t._t("autocomplete-footer")],2):t._e()],2)};a._withStripped=!0;var r=n(5),i=n.n(r),o=function(t){return JSON.parse(JSON.stringify(t))},s=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3?arguments[3]:void 0;void 0===t.text&&(t={text:t});var r=function(t,e){return e.filter((function(e){var n=t.text;return"string"==typeof e.rule?!new RegExp(e.rule).test(n):e.rule instanceof RegExp?!e.rule.test(n):"[object Function]"==={}.toString.call(e.rule)?e.rule(t):void 0})).map((function(t){return t.classes}))}(t,n),i=function(t,e){for(var n=0;n1?n-1:0),r=1;r1?e-1:0),a=1;a=this.autocompleteMinLength&&this.filteredAutocompleteItems.length>0&&this.focused},filteredAutocompleteItems:function(){var t=this,e=this.autocompleteItems.map((function(e){return c(e,t.tags,t.validation,t.isDuplicate)}));return this.autocompleteFilterDuplicates?e.filter(this.duplicateFilter):e}},methods:{createClasses:s,getSelectedIndex:function(t){var e=this.filteredAutocompleteItems,n=this.selectedItem,a=e.length-1;if(0!==e.length)return null===n?0:"before"===t&&0===n?a:"after"===t&&n===a?0:"after"===t?n+1:n-1},selectDefaultItem:function(){this.addOnlyFromAutocomplete&&this.filteredAutocompleteItems.length>0?this.selectedItem=0:this.selectedItem=null},selectItem:function(t,e){t.preventDefault(),this.selectedItem=this.getSelectedIndex(e)},isSelected:function(t){return this.selectedItem===t},isMarked:function(t){return this.deletionMark===t},invokeDelete:function(){var t=this;if(this.deleteOnBackspace&&!(this.newTag.length>0)){var e=this.tagsCopy.length-1;null===this.deletionMark?(this.deletionMarkTime=setTimeout((function(){return t.deletionMark=null}),1e3),this.deletionMark=e):this.performDeleteTag(e)}},addTagsFromPaste:function(){var t=this;this.addFromPaste&&setTimeout((function(){return t.performAddTags(t.newTag)}),10)},performEditTag:function(t){var e=this;this.allowEditTags&&(this._events["before-editing-tag"]||this.editTag(t),this.$emit("before-editing-tag",{index:t,tag:this.tagsCopy[t],editTag:function(){return e.editTag(t)}}))},editTag:function(t){this.allowEditTags&&(this.toggleEditMode(t),this.focus(t))},toggleEditMode:function(t){this.allowEditTags&&!this.disabled&&this.$set(this.tagsEditStatus,t,!this.tagsEditStatus[t])},createChangedTag:function(t,e){var n=this.tagsCopy[t];n.text=e?e.target.value:this.tagsCopy[t].text,this.$set(this.tagsCopy,t,c(n,this.tagsCopy,this.validation,this.isDuplicate))},focus:function(t){var e=this;this.$nextTick((function(){var n=e.$refs.tagCenter[t].querySelector("input.ti-tag-input");n&&n.focus()}))},quote:function(t){return t.replace(/([()[{*+.$^\\|?])/g,"\\$1")},cancelEdit:function(t){this.tags[t]&&(this.tagsCopy[t]=o(c(this.tags[t],this.tags,this.validation,this.isDuplicate)),this.$set(this.tagsEditStatus,t,!1))},hasForbiddingAddRule:function(t){var e=this;return t.some((function(t){var n=e.validation.find((function(e){return t===e.classes}));return!!n&&n.disableAdd}))},createTagTexts:function(t){var e=this,n=new RegExp(this.separators.map((function(t){return e.quote(t)})).join("|"));return t.split(n).map((function(t){return{text:t}}))},performDeleteTag:function(t){var e=this;this._events["before-deleting-tag"]||this.deleteTag(t),this.$emit("before-deleting-tag",{index:t,tag:this.tagsCopy[t],deleteTag:function(){return e.deleteTag(t)}})},deleteTag:function(t){this.disabled||(this.deletionMark=null,clearTimeout(this.deletionMarkTime),this.tagsCopy.splice(t,1),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},noTriggerKey:function(t,e){var n=-1!==this[e].indexOf(t.keyCode)||-1!==this[e].indexOf(t.key);return n&&t.preventDefault(),!n},performAddTags:function(t,e,n){var a=this;if(!(this.disabled||e&&this.noTriggerKey(e,"addOnKey"))){var r=[];"object"===h(t)&&(r=[t]),"string"==typeof t&&(r=this.createTagTexts(t)),(r=r.filter((function(t){return t.text.trim().length>0}))).forEach((function(t){t=c(t,a.tags,a.validation,a.isDuplicate),a._events["before-adding-tag"]||a.addTag(t,n),a.$emit("before-adding-tag",{tag:t,addTag:function(){return a.addTag(t,n)}})}))}},duplicateFilter:function(t){return this.isDuplicate?!this.isDuplicate(this.tagsCopy,t):!this.tagsCopy.find((function(e){return e.text===t.text}))},addTag:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"new-tag-input",a=this.filteredAutocompleteItems.map((function(t){return t.text}));this.addOnlyFromAutocomplete&&-1===a.indexOf(t.text)||this.$nextTick((function(){return e.maxTags&&e.maxTags<=e.tagsCopy.length?e.$emit("max-tags-reached",t):e.avoidAddingDuplicates&&!e.duplicateFilter(t)?e.$emit("adding-duplicate",t):void(e.hasForbiddingAddRule(t.tiClasses)||(e.$emit("input",""),e.tagsCopy.push(t),e._events["update:tags"]&&e.$emit("update:tags",e.tagsCopy),"autocomplete"===n&&e.$refs.newTagInput.focus(),e.$emit("tags-changed",e.tagsCopy)))}))},performSaveTag:function(t,e){var n=this,a=this.tagsCopy[t];this.disabled||e&&this.noTriggerKey(e,"addOnKey")||0!==a.text.trim().length&&(this._events["before-saving-tag"]||this.saveTag(t,a),this.$emit("before-saving-tag",{index:t,tag:a,saveTag:function(){return n.saveTag(t,a)}}))},saveTag:function(t,e){if(this.avoidAddingDuplicates){var n=o(this.tagsCopy),a=n.splice(t,1)[0];if(this.isDuplicate?this.isDuplicate(n,a):-1!==n.map((function(t){return t.text})).indexOf(a.text))return this.$emit("saving-duplicate",e)}this.hasForbiddingAddRule(e.tiClasses)||(this.$set(this.tagsCopy,t,e),this.toggleEditMode(t),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},tagsEqual:function(){var t=this;return!this.tagsCopy.some((function(e,n){return!i()(e,t.tags[n])}))},updateNewTag:function(t){var e=t.target.value;this.newTag=e,this.$emit("input",e)},initTags:function(){this.tagsCopy=u(this.tags,this.validation,this.isDuplicate),this.tagsEditStatus=o(this.tags).map((function(){return!1})),this._events["update:tags"]&&!this.tagsEqual()&&this.$emit("update:tags",this.tagsCopy)},blurredOnClick:function(t){this.$el.contains(t.target)||this.$el.contains(document.activeElement)||this.performBlur(t)},performBlur:function(){this.addOnBlur&&this.focused&&this.performAddTags(this.newTag),this.focused=!1}},watch:{value:function(t){this.addOnlyFromAutocomplete||(this.selectedItem=null),this.newTag=t},tags:{handler:function(){this.initTags()},deep:!0},autocompleteOpen:"selectDefaultItem"},created:function(){this.newTag=this.value,this.initTags()},mounted:function(){this.selectDefaultItem(),document.addEventListener("click",this.blurredOnClick)},destroyed:function(){document.removeEventListener("click",this.blurredOnClick)}},y=(n(9),d(v,a,[],!1,null,"61d92e31",null));y.options.__file="vue-tags-input/vue-tags-input.vue";var b=y.exports;n.d(e,"VueTagsInput",(function(){return b})),n.d(e,"createClasses",(function(){return s})),n.d(e,"createTag",(function(){return c})),n.d(e,"createTags",(function(){return u})),n.d(e,"TagInput",(function(){return f})),b.install=function(t){return t.component(b.name,b)},"undefined"!=typeof window&&window.Vue&&window.Vue.use(b),e.default=b}])},function(t,e,n){"use strict";var a={name:"CustomAttachments",props:{title:String,name:String,error:Array},methods:{hasError:function(){return this.error.length>0}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{staticClass:"form-control",attrs:{multiple:"multiple",autocomplete:"off",placeholder:t.title,title:t.title,name:t.name,type:"file"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"73840c18",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"CustomDate",props:{value:String,title:String,name:String,error:Array},methods:{handleInput:function(t){this.$emit("input",this.$refs.date.value)},hasError:function(){return this.error.length>0}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{ref:"date",staticClass:"form-control",attrs:{type:"date",name:t.name,title:t.title,autocomplete:"off",placeholder:t.title},domProps:{value:t.value?t.value.substr(0,10):""},on:{input:t.handleInput}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"30d0f0fe",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"CustomString",props:{title:String,name:String,value:String,error:Array},methods:{handleInput:function(t){this.$emit("input",this.$refs.str.value)},hasError:function(){return this.error.length>0}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{ref:"str",staticClass:"form-control",attrs:{type:"text",name:t.name,title:t.title,autocomplete:"off",placeholder:t.title},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"69529226",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"CustomTextarea",props:{title:String,name:String,value:String,error:Array},data:function(){return{textValue:this.value}},methods:{handleInput:function(t){this.$emit("input",this.$refs.str.value)},hasError:function(){return this.error.length>0}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.textValue,expression:"textValue"}],ref:"str",staticClass:"form-control",attrs:{name:t.name,title:t.title,autocomplete:"off",rows:"8",placeholder:t.title},domProps:{value:t.textValue},on:{input:[function(e){e.target.composing||(t.textValue=e.target.value)},t.handleInput]}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"40389097",null);e.a=i.exports},function(t,e,n){"use strict";var a={props:["error","value","index"],name:"StandardDate",methods:{hasError:function(){return this.error.length>0},handleInput:function(t){this.$emit("input",this.$refs.date.value)}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.date"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{ref:"date",staticClass:"form-control",attrs:{type:"date",name:"date[]",title:t.$t("firefly.date"),autocomplete:"off",disabled:t.index>0,placeholder:t.$t("firefly.date")},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"deecacf4",null);e.a=i.exports},function(t,e,n){"use strict";var a={props:["error","value","index"],name:"GroupDescription",methods:{hasError:function(){return this.error.length>0},handleInput:function(t){this.$emit("input",this.$refs.descr.value)}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{ref:"descr",staticClass:"form-control",attrs:{type:"text",name:"group_title",title:t.$t("firefly.split_transaction_title"),autocomplete:"off",placeholder:t.$t("firefly.split_transaction_title")},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),0===t.error.length?n("p",{staticClass:"help-block"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title_help"))+"\n ")]):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"4d557a91",null);e.a=i.exports},function(t,e,n){"use strict";var a={props:["error","value","index"],name:"TransactionDescription",mounted:function(){this.target=this.$refs.descr,this.descriptionAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/transaction-journals/all?search="},data:function(){return{descriptionAutoCompleteURI:null,name:null,description:null,target:null}},methods:{hasError:function(){return this.error.length>0},handleInput:function(t){this.$emit("input",this.$refs.descr.value)},handleEnter:function(t){13===t.keyCode&&t.preventDefault()},selectedItem:function(t){void 0!==this.name&&"string"!=typeof this.name&&(this.$refs.descr.value=this.name.description,this.$emit("input",this.$refs.descr.value))}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.description"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{ref:"descr",staticClass:"form-control",attrs:{type:"text",name:"description[]",title:t.$t("firefly.description"),autocomplete:"off",placeholder:t.$t("firefly.description")},domProps:{value:t.value},on:{keypress:t.handleEnter,submit:function(t){t.preventDefault()},input:t.handleInput}}),t._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":t.descriptionAutoCompleteURI,target:t.target,"item-key":"description"},on:{input:t.selectedItem},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"e835e06e",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"CustomTransactionFields",props:["value","error"],mounted:function(){this.getPreference()},data:function(){return{customInterestDate:null,fields:[{interest_date:!1,book_date:!1,process_date:!1,due_date:!1,payment_date:!1,invoice_date:!1,internal_reference:!1,notes:!1,attachments:!1}]}},computed:{dateComponent:function(){return"custom-date"},stringComponent:function(){return"custom-string"},attachmentComponent:function(){return"custom-attachments"},textareaComponent:function(){return"custom-textarea"}},methods:{handleInput:function(t){this.$emit("input",this.value)},getPreference:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"api/v1/preferences/transaction_journal_optional_fields";axios.get(e).then((function(e){t.fields=e.data.data.attributes.data})).catch((function(){return console.warn("Oh. Something went wrong loading custom transaction fields.")}))}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[this.fields.interest_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.interest_date,name:"interest_date[]",title:t.$t("form.interest_date")},model:{value:t.value.interest_date,callback:function(e){t.$set(t.value,"interest_date",e)},expression:"value.interest_date"}}):t._e(),t._v(" "),this.fields.book_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.book_date,name:"book_date[]",title:t.$t("form.book_date")},model:{value:t.value.book_date,callback:function(e){t.$set(t.value,"book_date",e)},expression:"value.book_date"}}):t._e(),t._v(" "),this.fields.process_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.process_date,name:"process_date[]",title:t.$t("form.process_date")},model:{value:t.value.process_date,callback:function(e){t.$set(t.value,"process_date",e)},expression:"value.process_date"}}):t._e(),t._v(" "),this.fields.due_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.due_date,name:"due_date[]",title:t.$t("form.due_date")},model:{value:t.value.due_date,callback:function(e){t.$set(t.value,"due_date",e)},expression:"value.due_date"}}):t._e(),t._v(" "),this.fields.payment_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.payment_date,name:"payment_date[]",title:t.$t("form.payment_date")},model:{value:t.value.payment_date,callback:function(e){t.$set(t.value,"payment_date",e)},expression:"value.payment_date"}}):t._e(),t._v(" "),this.fields.invoice_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.invoice_date,name:"invoice_date[]",title:t.$t("form.invoice_date")},model:{value:t.value.invoice_date,callback:function(e){t.$set(t.value,"invoice_date",e)},expression:"value.invoice_date"}}):t._e(),t._v(" "),this.fields.internal_reference?n(t.stringComponent,{tag:"component",attrs:{error:t.error.internal_reference,name:"internal_reference[]",title:t.$t("form.internal_reference")},model:{value:t.value.internal_reference,callback:function(e){t.$set(t.value,"internal_reference",e)},expression:"value.internal_reference"}}):t._e(),t._v(" "),this.fields.attachments?n(t.attachmentComponent,{tag:"component",attrs:{error:t.error.attachments,name:"attachments[]",title:t.$t("firefly.attachments")},model:{value:t.value.attachments,callback:function(e){t.$set(t.value,"attachments",e)},expression:"value.attachments"}}):t._e(),t._v(" "),this.fields.notes?n(t.textareaComponent,{tag:"component",attrs:{error:t.error.notes,name:"notes[]",title:t.$t("firefly.notes")},model:{value:t.value.notes,callback:function(e){t.$set(t.value,"notes",e)},expression:"value.notes"}}):t._e()],1)}),[],!1,null,"1608b7b0",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"PiggyBank",props:["value","transactionType","error","no_piggy_bank"],mounted:function(){this.loadPiggies()},data:function(){return{piggies:[]}},methods:{handleInput:function(t){this.$emit("input",this.$refs.piggy.value)},hasError:function(){return this.error.length>0},loadPiggies:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"json/piggy-banks";axios.get(e,{}).then((function(e){for(var n in t.piggies=[{name_with_amount:t.no_piggy_bank,id:0}],e.data)e.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&t.piggies.push(e.data[n])}))}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return void 0!==this.transactionType&&"Transfer"===this.transactionType?n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12"},[this.piggies.length>0?n("select",{ref:"piggy",staticClass:"form-control",attrs:{name:"piggy_bank[]"},on:{input:t.handleInput}},t._l(this.piggies,(function(e){return n("option",{attrs:{label:e.name_with_amount},domProps:{value:e.id}},[t._v(t._s(e.name_with_amount))])})),0):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)]):t._e()}),[],!1,null,"1797c09a",null);e.a=i.exports},function(t,e,n){"use strict";var a=n(3),r=n.n(a),i=n(29),o={name:"Tags",components:{VueTagsInput:n.n(i).a},props:["value","error"],data:function(){return{tag:"",autocompleteItems:[],debounce:null,tags:this.value}},watch:{tag:"initItems"},methods:{update:function(t){this.autocompleteItems=[],this.tags=t,this.$emit("input",this.tags)},hasError:function(){return this.error.length>0},initItems:function(){var t=this;if(!(this.tag.length<2)){var e=document.getElementsByTagName("base")[0].href+"json/tags?search=".concat(this.tag);clearTimeout(this.debounce),this.debounce=setTimeout((function(){r.a.get(e).then((function(e){t.autocompleteItems=e.data.map((function(t){return{text:t.tag}}))})).catch((function(){return console.warn("Oh. Something went wrong loading tags.")}))}),600)}}}},s=n(0),c=Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.tags"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("vue-tags-input",{attrs:{tags:t.tags,title:t.$t("firefly.tags"),classes:"form-input","autocomplete-items":t.autocompleteItems,"add-only-from-autocomplete":!1,placeholder:t.$t("firefly.tags")},on:{"tags-changed":t.update},model:{value:t.tag,callback:function(e){t.tag=e},expression:"tag"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"733b2aa4",null);e.a=c.exports},function(t,e,n){"use strict";var a={name:"Category",props:{value:String,inputName:String,error:Array,accountName:{type:String,default:""}},data:function(){return{categoryAutoCompleteURI:null,name:null,target:null}},ready:function(){this.name=this.accountName},mounted:function(){this.target=this.$refs.input,this.categoryAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/categories?search="},methods:{hasError:function(){return this.error.length>0},handleInput:function(t){"string"!=typeof this.$refs.input.value?this.$emit("input",this.$refs.input.value.name):this.$emit("input",this.$refs.input.value)},clearCategory:function(){this.name="",this.$refs.input.value="",this.$emit("input",this.$refs.input.value),this.$emit("clear:category")},selectedItem:function(t){void 0!==this.name&&(this.$emit("select:category",this.name),"string"!=typeof this.name?this.$emit("input",this.name.name):this.$emit("input",this.name))},handleEnter:function(t){13===t.keyCode&&t.preventDefault()}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.category"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{type:"text",placeholder:t.$t("firefly.category"),autocomplete:"off","data-role":"input",name:"category[]",title:t.$t("firefly.category")},domProps:{value:t.value},on:{input:t.handleInput,keypress:t.handleEnter,submit:function(t){t.preventDefault()}}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:t.clearCategory}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":t.categoryAutoCompleteURI,target:t.target,"item-key":"name"},on:{input:t.selectedItem},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"4799245c",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"Amount",props:["source","destination","transactionType","value","error"],data:function(){return{sourceAccount:this.source,destinationAccount:this.destination,type:this.transactionType}},methods:{handleInput:function(t){this.$emit("input",this.$refs.amount.value)},hasError:function(){return this.error.length>0},changeData:function(){var t=this.transactionType;t||this.source.name||this.destination.name?(null===t&&(t=""),""!==t||""===this.source.currency_name?""!==t||""===this.destination.currency_name?"withdrawal"!==t.toLowerCase()&&"reconciliation"!==t.toLowerCase()&&"transfer"!==t.toLowerCase()?"Deposit"===t&&$(this.$refs.cur).text(this.destination.currency_name):$(this.$refs.cur).text(this.source.currency_name):$(this.$refs.cur).text(this.destination.currency_name):$(this.$refs.cur).text(this.source.currency_name)):$(this.$refs.cur).text("")}},watch:{source:function(){this.changeData()},destination:function(){this.changeData()},transactionType:function(){this.changeData()}},mounted:function(){this.changeData()}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-8 col-sm-offset-4 text-sm"},[t._v("\n "+t._s(t.$t("firefly.amount"))+"\n ")]),t._v(" "),n("label",{ref:"cur",staticClass:"col-sm-4 control-label"}),t._v(" "),n("div",{staticClass:"col-sm-8"},[n("input",{ref:"amount",staticClass:"form-control",attrs:{type:"number",step:"any",name:"amount[]",title:t.$t("firefly.amount"),autocomplete:"off",placeholder:t.$t("firefly.amount")},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"0666cec0",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"ForeignAmountSelect",props:["source","destination","transactionType","value","error","no_currency","title"],mounted:function(){this.liability=!1,this.loadCurrencies()},data:function(){return{currencies:[],enabledCurrencies:[],exclude:null,liability:!1}},watch:{source:function(){this.changeData()},destination:function(){this.changeData()},transactionType:function(){this.changeData()}},methods:{hasError:function(){return this.error.length>0},handleInput:function(t){var e={amount:this.$refs.amount.value,currency_id:this.$refs.currency_select.value};this.$emit("input",e)},changeData:function(){this.enabledCurrencies=[];var t=this.destination.type?this.destination.type.toLowerCase():"invalid",e=this.source.type?this.source.type.toLowerCase():"invalid",n=this.transactionType?this.transactionType.toLowerCase():"invalid",a=["loan","debt","mortgage"],r=-1!==a.indexOf(e),i=-1!==a.indexOf(t);if("transfer"===n||i||r)for(var o in this.liability=!0,this.currencies)this.currencies.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294&&this.currencies[o].id===this.destination.currency_id&&this.enabledCurrencies.push(this.currencies[o]);else if("withdrawal"===n&&this.source&&!1===r)for(var s in this.currencies)this.currencies.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294&&this.source.currency_id!==this.currencies[s].id&&this.enabledCurrencies.push(this.currencies[s]);else if("deposit"===n&&this.destination)for(var c in this.currencies)this.currencies.hasOwnProperty(c)&&/^0$|^[1-9]\d*$/.test(c)&&c<=4294967294&&this.destination.currency_id!==this.currencies[c].id&&this.enabledCurrencies.push(this.currencies[c]);else for(var u in this.currencies)this.currencies.hasOwnProperty(u)&&/^0$|^[1-9]\d*$/.test(u)&&u<=4294967294&&this.enabledCurrencies.push(this.currencies[u])},loadCurrencies:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"json/currencies";axios.get(e,{}).then((function(e){for(var n in t.currencies=[{name:t.no_currency,id:0,enabled:!0}],e.data)e.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&e.data[n].enabled&&(t.currencies.push(e.data[n]),t.enabledCurrencies.push(e.data[n]))}))}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return this.enabledCurrencies.length>1?n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-8 col-sm-offset-4 text-sm"},[t._v("\n "+t._s(t.$t("form.foreign_amount"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-4"},[n("select",{ref:"currency_select",staticClass:"form-control",attrs:{name:"foreign_currency[]"},on:{input:t.handleInput}},t._l(this.enabledCurrencies,(function(e){return e.enabled?n("option",{attrs:{label:e.name},domProps:{value:e.id,selected:t.value.currency_id===e.id}},[t._v("\n "+t._s(e.name)+"\n ")]):t._e()})),0)]),t._v(" "),n("div",{staticClass:"col-sm-8"},[this.enabledCurrencies.length>0?n("input",{ref:"amount",staticClass:"form-control",attrs:{type:"number",step:"any",name:"foreign_amount[]",title:this.title,autocomplete:"off",placeholder:this.title},domProps:{value:t.value.amount},on:{input:t.handleInput}}):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)]):t._e()}),[],!1,null,"4317a62a",null);e.a=i.exports},function(t,e,n){"use strict";var a={props:{source:String,destination:String,type:String},methods:{changeValue:function(){if(this.source&&this.destination){var t="";window.accountToTypes[this.source]?window.accountToTypes[this.source][this.destination]?t=window.accountToTypes[this.source][this.destination]:console.warn("User selected an impossible destination."):console.warn("User selected an impossible source."),""!==t&&(this.transactionType=t,this.sentence=this.$t("firefly.you_create_"+t.toLowerCase()),this.$emit("act:limitSourceType",this.source),this.$emit("act:limitDestinationType",this.destination))}else this.sentence="",this.transactionType="";this.$emit("set:transactionType",this.transactionType)}},data:function(){return{transactionType:this.type,sentence:""}},watch:{source:function(){this.changeValue()},destination:function(){this.changeValue()}},name:"TransactionType"},r=n(0),i=Object(r.a)(a,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form-group"},[e("div",{staticClass:"col-sm-12"},[""!==this.sentence?e("label",{staticClass:"control-label text-info"},[this._v("\n "+this._s(this.sentence)+"\n ")]):this._e()])])}),[],!1,null,"0539dc1a",null);e.a=i.exports},function(t,e,n){"use strict";var a={props:{inputName:String,title:String,index:Number,transactionType:String,error:Array,accountName:{type:String,default:""},accountTypeFilters:{type:Array,default:function(){return[]}},defaultAccountTypeFilters:{type:Array,default:function(){return[]}}},data:function(){return{accountAutoCompleteURI:null,name:null,trType:this.transactionType,target:null,inputDisabled:!1,allowedTypes:this.accountTypeFilters,defaultAllowedTypes:this.defaultAccountTypeFilters}},ready:function(){this.name=this.accountName},mounted:function(){this.target=this.$refs.input;var t=this.allowedTypes.join(",");this.name=this.accountName,this.accountAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/accounts?types="+t+"&search=",this.triggerTransactionType()},watch:{transactionType:function(){this.triggerTransactionType()},accountTypeFilters:function(){var t=this.accountTypeFilters.join(",");0===this.accountTypeFilters.length&&(t=this.defaultAccountTypeFilters.join(",")),this.accountAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/accounts?types="+t+"&search="},name:function(){}},methods:{hasError:function(){return this.error.length>0},triggerTransactionType:function(){if(this.name,null!==this.transactionType&&""!==this.transactionType&&(this.inputDisabled=!1,""!==this.transactionType.toString()&&this.index>0)){if("transfer"===this.transactionType.toString().toLowerCase())return void(this.inputDisabled=!0);if("withdrawal"===this.transactionType.toString().toLowerCase()&&"source"===this.inputName.substr(0,6).toLowerCase())return void(this.inputDisabled=!0);"deposit"===this.transactionType.toString().toLowerCase()&&"destination"===this.inputName.substr(0,11).toLowerCase()&&(this.inputDisabled=!0)}},selectedItem:function(t){void 0!==this.name&&("string"==typeof this.name&&this.$emit("clear:value"),this.$emit("select:account",this.name))},clearSource:function(t){this.name="",this.$emit("clear:value")},handleEnter:function(t){13===t.keyCode&&t.preventDefault()}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{type:"text",placeholder:t.title,"data-index":t.index,autocomplete:"off","data-role":"input",disabled:t.inputDisabled,name:t.inputName,title:t.title},on:{keypress:t.handleEnter,submit:function(t){t.preventDefault()}}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:t.clearSource}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":t.accountAutoCompleteURI,target:t.target,"item-key":"name_with_balance"},on:{input:t.selectedItem},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"67fe0472",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"Budget",props:{transactionType:String,value:{type:[String,Number],default:0},error:Array,no_budget:String},mounted:function(){this.loadBudgets()},data:function(){return{selected:this.value,budgets:[]}},methods:{signalChange:function(t){this.$emit("input",this.$refs.budget.value)},handleInput:function(t){this.$emit("input",this.$refs.budget.value)},hasError:function(){return this.error.length>0},loadBudgets:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"json/budgets";axios.get(e,{}).then((function(e){for(var n in t.budgets=[{name:t.no_budget,id:0}],e.data)e.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&t.budgets.push(e.data[n])}))}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return void 0===this.transactionType||"withdrawal"===this.transactionType||"Withdrawal"===this.transactionType||""===this.transactionType||null===this.transactionType?n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.budget"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[this.budgets.length>0?n("select",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],ref:"budget",staticClass:"form-control",attrs:{name:"budget[]",title:t.$t("firefly.budget")},on:{input:t.handleInput,change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selected=e.target.multiple?n:n[0]},t.signalChange]}},t._l(this.budgets,(function(e){return n("option",{attrs:{label:e.name},domProps:{value:e.id}},[t._v(t._s(e.name)+"\n ")])})),0):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)]):t._e()}),[],!1,null,"05ce99a6",null);e.a=i.exports},,,,,function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Chyba!","flash_success":"Úspěšně dokončeno!","close":"Zavřít","split_transaction_title":"Popis rozúčtování","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Rozdělit","transaction_journal_information":"Informace o transakci","source_account":"Zdrojový účet","destination_account":"Cílový účet","add_another_split":"Přidat další rozúčtování","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Odeslat","amount":"Částka","date":"Datum","tags":"Štítky","no_budget":"(žádný rozpočet)","category":"Kategorie","attachments":"Přílohy","notes":"Poznámky","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"Pokud vytvoříte rozúčtování, je třeba, aby zde byl celkový popis pro všechna rozúčtování dané transakce.","none_in_select_list":"(žádné)","no_piggy_bank":"(no piggy bank)","description":"Popis","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Rozpočet","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Úrokové datum","book_date":"Book date","process_date":"Datum zpracování","due_date":"Datum splatnosti","foreign_amount":"Částka v cizí měně","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení","internal_reference":"Interní reference"},"config":{"html_language":"cs"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Überblick","flash_error":"Fehler!","flash_success":"Geschafft!","close":"Schließen","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Problem bei der Übermittlung. Bitte überprüfen Sie die nachfolgenden Fehler.","split":"Teilen","transaction_journal_information":"Transaktionsinformationen","source_account":"Quellkonto","destination_account":"Zielkonto","add_another_split":"Eine weitere Aufteilung hinzufügen","submission":"Übermittlung","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","reset_after":"Formular nach der Übermittlung zurücksetzen","submit":"Absenden","amount":"Betrag","date":"Datum","tags":"Schlagwörter","no_budget":"(kein Budget)","category":"Kategorie","attachments":"Anhänge","notes":"Notizen","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","store_as_new":"Als neue Buchung speichern statt zu aktualisieren.","split_title_help":"Wenn Sie eine Splittbuchung anlegen, muss es eine eindeutige Beschreibung für alle Aufteilungen der Buchhaltung geben.","none_in_select_list":"(Keine)","no_piggy_bank":"(kein Sparschwein)","description":"Beschreibung","split_transaction_title_help":"Wenn Sie eine Splittbuchung anlegen, muss es eine eindeutige Beschreibung für alle Aufteilungen der Buchung geben.","destination_account_reconciliation":"Sie können das Zielkonto einer Kontenausgleichsbuchung nicht bearbeiten.","source_account_reconciliation":"Sie können das Quellkonto einer Kontenausgleichsbuchung nicht bearbeiten.","budget":"Budget","you_create_withdrawal":"Sie haben eine Auszahlung erstellt.","you_create_transfer":"Sie haben eine Buchung erstellt.","you_create_deposit":"Sie haben eine Einzahlung erstellt."},"form":{"interest_date":"Zinstermin","book_date":"Buchungsdatum","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","foreign_amount":"Ausländischer Betrag","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum","internal_reference":"Interner Verweis"},"config":{"html_language":"de"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Error!","flash_success":"Success!","close":"Close","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Split","transaction_journal_information":"Transaction information","source_account":"Source account","destination_account":"Destination account","add_another_split":"Add another split","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Submit","amount":"Amount","date":"Date","tags":"Tags","no_budget":"(no budget)","category":"Category","attachments":"Attachments","notes":"Notes","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","none_in_select_list":"(none)","no_piggy_bank":"(no piggy bank)","description":"Description","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Budget","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","foreign_amount":"Foreign amount","payment_date":"Payment date","invoice_date":"Invoice date","internal_reference":"Internal reference"},"config":{"html_language":"en"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"¿Qué está pasando?","flash_error":"¡Error!","flash_success":"¡Operación correcta!","close":"Cerrar","split_transaction_title":"Descripción de la transacción dividida","errors_submission":"Hubo algo malo con su envío. Por favor, revise los errores de abajo.","split":"Separar","transaction_journal_information":"Información de transacción","source_account":"Cuenta origen","destination_account":"Cuenta destino","add_another_split":"Añadir otra división","submission":"Envío","create_another":"Después de guardar, vuelve aquí para crear otro.","reset_after":"Restablecer formulario después del envío","submit":"Enviar","amount":"Cantidad","date":"Fecha","tags":"Etiquetas","no_budget":"(sin presupuesto)","category":"Categoria","attachments":"Archivos adjuntos","notes":"Notas","update_transaction":"Actualizar transacción","after_update_create_another":"Después de actualizar, vuelve aquí para continuar editando.","store_as_new":"Almacenar como una nueva transacción en lugar de actualizar.","split_title_help":"Si crea una transacción dividida, debe haber una descripción global para todos los fragmentos de la transacción.","none_in_select_list":"(ninguno)","no_piggy_bank":"(sin alcancía)","description":"Descripción","split_transaction_title_help":"Si crea una transacción dividida, debe existir una descripción global para todas las divisiones de la transacción.","destination_account_reconciliation":"No puede editar la cuenta de destino de una transacción de reconciliación.","source_account_reconciliation":"No puede editar la cuenta de origen de una transacción de reconciliación.","budget":"Presupuesto","you_create_withdrawal":"Está creando un retiro.","you_create_transfer":"Está creando una transferencia.","you_create_deposit":"Está creando un depósito."},"form":{"interest_date":"Fecha de interés","book_date":"Fecha de registro","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","foreign_amount":"Cantidad extranjera","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura","internal_reference":"Referencia interna"},"config":{"html_language":"es"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Que se passe-t-il ?","flash_error":"Erreur !","flash_success":"Terminé avec succès !","close":"Fermer","split_transaction_title":"Description de l\'opération ventilée","errors_submission":"Certaines informations ne sont pas correctes dans votre formulaire. Veuillez vérifier les erreurs ci-dessous.","split":"Ventiler","transaction_journal_information":"Informations sur les opérations","source_account":"Compte source","destination_account":"Compte de destination","add_another_split":"Ajouter une autre fraction","submission":"Soumission","create_another":"Après enregistrement, revenir ici pour en créer un nouveau.","reset_after":"Réinitialiser le formulaire après soumission","submit":"Soumettre","amount":"Montant","date":"Date","tags":"Tags","no_budget":"(pas de budget)","category":"Catégorie","attachments":"Pièces jointes","notes":"Notes","update_transaction":"Mettre à jour l\'opération","after_update_create_another":"Après la mise à jour, revenir ici pour continuer l\'édition.","store_as_new":"Enregistrer comme une nouvelle opération au lieu de mettre à jour.","split_title_help":"Si vous créez une opération ventilée, il doit y avoir une description globale pour chaque fractions de l\'opération.","none_in_select_list":"(aucun)","no_piggy_bank":"(aucune tirelire)","description":"Description","split_transaction_title_help":"Si vous créez une opération ventilée, il doit y avoir une description globale pour chaque fraction de l\'opération.","destination_account_reconciliation":"Vous ne pouvez pas modifier le compte de destination d\'une opération de rapprochement.","source_account_reconciliation":"Vous ne pouvez pas modifier le compte source d\'une opération de rapprochement.","budget":"Budget","you_create_withdrawal":"Vous saisissez une dépense.","you_create_transfer":"Vous saisissez un transfert.","you_create_deposit":"Vous saisissez un dépôt."},"form":{"interest_date":"Date de valeur (intérêts)","book_date":"Date de réservation","process_date":"Date de traitement","due_date":"Échéance","foreign_amount":"Montant en devise étrangère","payment_date":"Date de paiement","invoice_date":"Date de facturation","internal_reference":"Référence interne"},"config":{"html_language":"fr"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Hiba!","flash_success":"Siker!","close":"Bezárás","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Felosztás","transaction_journal_information":"Tranzakciós információk","source_account":"Forrás számla","destination_account":"Célszámla","add_another_split":"Másik felosztás hozzáadása","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Beküldés","amount":"Összeg","date":"Dátum","tags":"Címkék","no_budget":"(nincs költségkeret)","category":"Kategória","attachments":"Mellékletek","notes":"Megjegyzések","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"Felosztott tranzakció létrehozásakor meg kell adni egy globális leírást a tranzakció összes felosztása részére.","none_in_select_list":"(nincs)","no_piggy_bank":"(no piggy bank)","description":"Leírás","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Költségkeret","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Kamatfizetési időpont","book_date":"Könyvelés dátuma","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","foreign_amount":"Foreign amount","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma","internal_reference":"Belső hivatkozás"},"config":{"html_language":"hu"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Kesalahan!","flash_success":"Keberhasilan!","close":"Dekat","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Pisah","transaction_journal_information":"Informasi transaksi","source_account":"Source account","destination_account":"Destination account","add_another_split":"Tambahkan perpecahan lagi","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Menyerahkan","amount":"Jumlah","date":"Tanggal","tags":"Tag","no_budget":"(no budget)","category":"Kategori","attachments":"Lampiran","notes":"Notes","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","none_in_select_list":"(none)","no_piggy_bank":"(no piggy bank)","description":"Deskripsi","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Anggaran","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Tanggal bunga","book_date":"Tanggal buku","process_date":"Tanggal pemrosesan","due_date":"Batas tanggal terakhir","foreign_amount":"Foreign amount","payment_date":"Tanggal pembayaran","invoice_date":"Tanggal faktur","internal_reference":"Referensi internal"},"config":{"html_language":"id"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"La tua situazione finanziaria","flash_error":"Errore!","flash_success":"Successo!","close":"Chiudi","split_transaction_title":"Descrizione della transazione suddivisa","errors_submission":"Errore durante l\'invio. Controlla gli errori segnalati qui sotto.","split":"Dividi","transaction_journal_information":"Informazioni transazione","source_account":"Conto di origine","destination_account":"Conto destinazione","add_another_split":"Aggiungi un\'altra divisione","submission":"Invio","create_another":"Dopo il salvataggio, torna qui per crearne un\'altra.","reset_after":"Resetta il modulo dopo l\'invio","submit":"Invia","amount":"Conto","date":"Data","tags":"Etichette","no_budget":"(nessun budget)","category":"Categoria","attachments":"Allegati","notes":"Note","update_transaction":"Aggiorna transazione","after_update_create_another":"Dopo l\'aggiornamento, torna qui per continuare la modifica.","store_as_new":"Salva come nuova transazione invece di aggiornarla.","split_title_help":"Se crei una transazione suddivisa è necessario che ci sia una descrizione globale per tutte le suddivisioni della transazione.","none_in_select_list":"(nessuna)","no_piggy_bank":"(nessun salvadanaio)","description":"Descrizione","split_transaction_title_help":"Se crei una transazione suddivisa, è necessario che ci sia una descrizione globale per tutte le suddivisioni della transazione.","destination_account_reconciliation":"Non è possibile modificare il conto di destinazione di una transazione di riconciliazione.","source_account_reconciliation":"Non puoi modificare il conto di origine di una transazione di riconciliazione.","budget":"Budget","you_create_withdrawal":"Stai creando un prelievo.","you_create_transfer":"Stai creando un trasferimento.","you_create_deposit":"Stai creando un deposito."},"form":{"interest_date":"Data interesse","book_date":"Data contabile","process_date":"Data elaborazione","due_date":"Data scadenza","foreign_amount":"Importo estero","payment_date":"Data pagamento","invoice_date":"Data fatturazione","internal_reference":"Riferimento interno"},"config":{"html_language":"it"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Hoe staat het er voor?","flash_error":"Fout!","flash_success":"Gelukt!","close":"Sluiten","split_transaction_title":"Beschrijving van de gesplitste transactie","errors_submission":"Er ging iets mis. Check de errors.","split":"Splitsen","transaction_journal_information":"Transactieinformatie","source_account":"Bronrekening","destination_account":"Doelrekening","add_another_split":"Voeg een split toe","submission":"Indienen","create_another":"Terug naar deze pagina voor een nieuwe transactie.","reset_after":"Reset formulier na opslaan","submit":"Invoeren","amount":"Bedrag","date":"Datum","tags":"Tags","no_budget":"(geen budget)","category":"Categorie","attachments":"Bijlagen","notes":"Notities","update_transaction":"Update transactie","after_update_create_another":"Na het opslaan terug om door te gaan met wijzigen.","store_as_new":"Opslaan als nieuwe transactie ipv de huidige bij te werken.","split_title_help":"Als je een gesplitste transactie maakt, moet er een algemene beschrijving zijn voor alle splitsingen van de transactie.","none_in_select_list":"(geen)","no_piggy_bank":"(geen spaarpotje)","description":"Omschrijving","split_transaction_title_help":"Als je een gesplitste transactie maakt, moet er een algemene beschrijving zijn voor alle splitsingen van de transactie.","destination_account_reconciliation":"Je kan de doelrekening van een afstemming niet wijzigen.","source_account_reconciliation":"Je kan de bronrekening van een afstemming niet wijzigen.","budget":"Budget","you_create_withdrawal":"Je maakt een uitgave.","you_create_transfer":"Je maakt een overschrijving.","you_create_deposit":"Je maakt inkomsten."},"form":{"interest_date":"Rentedatum","book_date":"Boekdatum","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","foreign_amount":"Bedrag in vreemde valuta","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum","internal_reference":"Interne verwijzing"},"config":{"html_language":"nl"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Hvordan går det?","flash_error":"Feil!","flash_success":"Suksess!","close":"Lukk","split_transaction_title":"Description of the split transaction","split":"Del opp","transaction_journal_information":"Transaksjonsinformasjon","source_account":"Source account","destination_account":"Destination account","add_another_split":"Legg til en oppdeling til","submit":"Send inn","amount":"Beløp","no_budget":"(ingen budsjett)","category":"Kategori","attachments":"Vedlegg","notes":"Notater"},"form":{"interest_date":"Rentedato","book_date":"Bokføringsdato","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato","internal_reference":"Intern referanse"},"config":{"html_language":"no"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Co jest grane?","flash_error":"Błąd!","flash_success":"Sukces!","close":"Zamknij","split_transaction_title":"Opis podzielonej transakcji","errors_submission":"Coś poszło nie tak w czasie zapisu. Proszę sprawdź błędy poniżej.","split":"Podziel","transaction_journal_information":"Informacje o transakcji","source_account":"Konto źródłowe","destination_account":"Konto docelowe","add_another_split":"Dodaj kolejny podział","submission":"Zapisz","create_another":"Po zapisaniu wróć tutaj, aby utworzyć kolejny.","reset_after":"Wyczyść formularz po zapisaniu","submit":"Prześlij","amount":"Kwota","date":"Data","tags":"Tagi","no_budget":"(brak budżetu)","category":"Kategoria","attachments":"Załączniki","notes":"Notatki","update_transaction":"Zaktualizuj transakcję","after_update_create_another":"Po aktualizacji wróć tutaj, aby kontynuować edycję.","store_as_new":"Zapisz jako nową zamiast aktualizować.","split_title_help":"Podzielone transakcje muszą posiadać globalny opis.","none_in_select_list":"(żadne)","no_piggy_bank":"(brak skarbonki)","description":"Opis","split_transaction_title_help":"Jeśli tworzysz podzieloną transakcję, musi ona posiadać globalny opis dla wszystkich podziałów w transakcji.","destination_account_reconciliation":"Nie możesz edytować konta docelowego transakcji uzgadniania.","source_account_reconciliation":"Nie możesz edytować konta źródłowego transakcji uzgadniania.","budget":"Budżet","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Data odsetek","book_date":"Data księgowania","process_date":"Data przetworzenia","due_date":"Termin realizacji","foreign_amount":"Kwota zagraniczna","payment_date":"Data płatności","invoice_date":"Data faktury","internal_reference":"Wewnętrzny numer"},"config":{"html_language":"pl"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Mitä kuuluu?","flash_error":"Virhe!","flash_success":"Valmista tuli!","close":"Sulje","split_transaction_title":"Jaetun tapahtuman kuvaus","errors_submission":"Lomakkeen tiedoissa oli puutteita - alta löydät listan puutteista.","split":"Jaa","transaction_journal_information":"Tapahtumatiedot","source_account":"Lähdetili","destination_account":"Kohdetili","add_another_split":"Lisää tapahtumaan uusi osa","submission":"Vahvistus","create_another":"Tallennuksen jälkeen, palaa takaisin luomaan uusi tapahtuma.","reset_after":"Tyhjennä lomake lähetyksen jälkeen","submit":"Vahvista","amount":"Summa","date":"Päivämäärä","tags":"Tägit","no_budget":"(ei budjettia)","category":"Kategoria","attachments":"Liitteet","notes":"Muistiinpanot","update_transaction":"Päivitä tapahtuma","after_update_create_another":"Päivityksen jälkeen, palaa takaisin jatkamaan muokkausta.","store_as_new":"Tallenna uutena tapahtumana päivityksen sijaan.","split_title_help":"Jos luot jaetun tapahtuman, kokonaisuudelle tarvitaan nimi.","none_in_select_list":"(ei mitään)","no_piggy_bank":"(ei säästöpossu)","description":"Kuvaus","split_transaction_title_help":"Jos luot jaetun tapahtuman, kokonaisuudelle tarvitaan nimi.","destination_account_reconciliation":"Et voi muokata täsmäytystapahtuman kohdetiliä.","source_account_reconciliation":"Et voi muokata täsmäytystapahtuman lähdetiliä.","budget":"Budjetti","you_create_withdrawal":"Olet luomassa nostoa.","you_create_transfer":"Olet luomassa siirtoa.","you_create_deposit":"Olet luomassa talletusta."},"form":{"interest_date":"Korkopäivä","book_date":"Kirjauspäivä","process_date":"Käsittelypäivä","due_date":"Eräpäivä","foreign_amount":"Ulkomaan summa","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä","internal_reference":"Sisäinen viite"},"config":{"html_language":"fi"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Erro!","flash_success":"Sucesso!","close":"Fechar","split_transaction_title":"Descrição da transação dividida","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Dividir","transaction_journal_information":"Informação da transação","source_account":"Conta origem","destination_account":"Conta destino","add_another_split":"Adicionar outra divisão","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Enviar","amount":"Valor","date":"Data","tags":"Tags","no_budget":"(sem orçamento)","category":"Categoria","attachments":"Anexos","notes":"Notas","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"Se você criar uma transação dividida, é necessário haver uma descrição global para todas as partes da transação.","none_in_select_list":"(nenhum)","no_piggy_bank":"(nenhum cofrinho)","description":"Descrição","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Orçamento","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Data de interesse","book_date":"Data reserva","process_date":"Data de processamento","due_date":"Data de vencimento","foreign_amount":"Montante em moeda estrangeira","payment_date":"Data de pagamento","invoice_date":"Data da Fatura","internal_reference":"Referência interna"},"config":{"html_language":"pt-br"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Ce se redă?","flash_error":"Eroare!","flash_success":"Succes!","close":"Închide","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"A fost ceva în neregulă cu transmiterea dvs. Vă rugăm să consultați erorile de mai jos.","split":"Împarte","transaction_journal_information":"Informații despre tranzacții","source_account":"Contul sursă","destination_account":"Contul de destinație","add_another_split":"Adăugați o divizare","submission":"Transmitere","create_another":"După stocare, reveniți aici pentru a crea alta.","reset_after":"Resetați formularul după trimitere","submit":"Trimite","amount":"Sumă","date":"Dată","tags":"Etichete","no_budget":"(nici un buget)","category":"Categorie","attachments":"Atașamente","notes":"Notițe","update_transaction":"Actualizați tranzacția","after_update_create_another":"După actualizare, reveniți aici pentru a continua editarea.","store_as_new":"Stocați ca o tranzacție nouă în loc să actualizați.","split_title_help":"Dacă creați o tranzacție divizată, trebuie să existe o descriere globală pentru toate diviziunile tranzacției.","none_in_select_list":"(nici unul)","no_piggy_bank":"(nicio pușculiță)","description":"Descriere","split_transaction_title_help":"Dacă creați o tranzacție divizată, trebuie să existe o descriere globală pentru toate diviziunile tranzacției.","destination_account_reconciliation":"Nu puteți edita contul de destinație al unei tranzacții de reconciliere.","source_account_reconciliation":"Nu puteți edita contul sursă al unei tranzacții de reconciliere.","budget":"Buget","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Data de interes","book_date":"Rezervă dată","process_date":"Data procesării","due_date":"Data scadentă","foreign_amount":"Sumă străină","payment_date":"Data de plată","invoice_date":"Data facturii","internal_reference":"Referință internă"},"config":{"html_language":"ro"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Что происходит с моими финансами?","flash_error":"Ошибка!","flash_success":"Успешно!","close":"Закрыть","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке произошла ошибка. Пожалуйста, проверьте ошибки ниже.","split":"Разделить","transaction_journal_information":"Информация о транзакции","source_account":"Счёт-источник","destination_account":"Счёт назначения","add_another_split":"Добавить новую часть","submission":"Отправить","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","reset_after":"Сбросить форму после отправки","submit":"Подтвердить","amount":"Сумма","date":"Дата","tags":"Метки","no_budget":"(вне бюджета)","category":"Категория","attachments":"Вложения","notes":"Заметки","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","store_as_new":"Сохранить как новую транзакцию вместо обновления.","split_title_help":"Если вы создаёте разделённую транзакцию, то должны указать общее описание дле всех её составляющих.","none_in_select_list":"(нет)","no_piggy_bank":"(нет копилки)","description":"Описание","split_transaction_title_help":"Если вы создаёте разделённую транзакцию, то должны указать общее описание для всех её составляющих.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"Вы не можете редактировать исходный аккаунт сверки.","budget":"Бюджет","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Дата выплаты","book_date":"Дата бронирования","process_date":"Дата обработки","due_date":"Срок","foreign_amount":"Сумма в иностранной валюте","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта","internal_reference":"Внутренняя ссылка"},"config":{"html_language":"ru"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"吃饱没?","flash_error":"错误!","flash_success":"成功!","close":"关闭","split_transaction_title":"拆分交易的描述","split":"分割","transaction_journal_information":"交易资讯","source_account":"来源帐户","destination_account":"目标帐户","add_another_split":"增加拆分","submit":"送出","amount":"金额","no_budget":"(无预算)","category":"分类","attachments":"附加档案","notes":"注释"},"form":{"interest_date":"利率日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期","internal_reference":"内部参考"},"config":{"html_language":"zh"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"錯誤!","flash_success":"成功!","close":"關閉","split_transaction_title":"拆分交易的描述","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"分割","transaction_journal_information":"交易資訊","source_account":"Source account","destination_account":"Destination account","add_another_split":"增加拆分","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"送出","amount":"金額","date":"日期","tags":"標籤","no_budget":"(無預算)","category":"分類","attachments":"附加檔案","notes":"備註","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"若您建立一筆拆分交易,須有一個有關交易所有拆分的整體描述。","none_in_select_list":"(空)","no_piggy_bank":"(no piggy bank)","description":"描述","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"預算","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"利率日期","book_date":"登記日期","process_date":"處理日期","due_date":"到期日","foreign_amount":"外幣金額","payment_date":"付款日期","invoice_date":"發票日期","internal_reference":"內部參考"},"config":{"html_language":"zh-tw"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"今天理财了吗?","flash_error":"错误!","flash_success":"成功!","close":"关闭","split_transaction_title":"拆分交易的描述","errors_submission":"您的提交有误,请查看下面输出的错误信息。","split":"分割","transaction_journal_information":"交易资讯","source_account":"来源帐户","destination_account":"目标帐户","add_another_split":"增加拆分","submission":"提交","create_another":"保存后,返回此页面创建另一笔记录。","reset_after":"提交后重置表单","submit":"提交","amount":"金额","date":"日期","tags":"标签","no_budget":"(无预算)","category":"分类","attachments":"附加档案","notes":"注释","update_transaction":"更新交易","after_update_create_another":"更新后,返回此页面继续编辑。","store_as_new":"保存为新交易而不是更新此交易。","split_title_help":"如果您创建一个拆分交易,必须有一个全局的交易描述。","none_in_select_list":"(空)","no_piggy_bank":"(无存钱罐)","description":"描述","split_transaction_title_help":"如果您创建了一个分割交易,交易的所有分割项都必须有全局描述。","destination_account_reconciliation":"您不能编辑对账交易的目标账户","source_account_reconciliation":"您不能编辑对账交易的源账户","budget":"预算","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"利率日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","foreign_amount":"外币金额","payment_date":"付款日期","invoice_date":"发票日期","internal_reference":"内部参考"},"config":{"html_language":"zh-cn"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Vad spelas?","flash_error":"Fel!","flash_success":"Slutförd!","close":"Stäng","split_transaction_title":"Description of the split transaction","errors_submission":"Något fel uppstod med inskickningen. Vänligen kontrollera felen nedan.","split":"Dela","transaction_journal_information":"Transaktionsinformation","source_account":"Från konto","destination_account":"Till konto","add_another_split":"Lägga till en annan delning","submission":"Inskickning","create_another":"Efter sparat, återkom hit för att skapa ytterligare en.","reset_after":"Återställ formulär efter inskickat","submit":"Skicka","amount":"Belopp","date":"Datum","tags":"Etiketter","no_budget":"(ingen budget)","category":"Kategori","attachments":"Bilagor","notes":"Noteringar","update_transaction":"Uppdatera transaktion","after_update_create_another":"Efter uppdaterat, återkom hit för att fortsätta redigera.","store_as_new":"Spara en ny transaktion istället för att uppdatera.","split_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","none_in_select_list":"(Ingen)","no_piggy_bank":"(ingen spargris)","description":"Beskrivning","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"Du kan inte redigera destinationskontot för en avstämningstransaktion.","source_account_reconciliation":"Du kan inte redigera källkontot för en avstämningstransaktion.","budget":"Budget","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Räntedatum","book_date":"Bokföringsdatum","process_date":"Behandlingsdatum","due_date":"Förfallodatum","foreign_amount":"Utländskt belopp","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum","internal_reference":"Intern referens"},"config":{"html_language":"sv"}}')},,,,,,,,,,,function(t,e,n){t.exports=n(90)},,,,,,,,,,,function(t,e,n){"use strict";n.r(e);var a=n(30),r={name:"CreateTransaction",components:{},mounted:function(){this.addTransactionToArray()},ready:function(){},methods:{convertData:function(){var t,e,n,a={transactions:[]};for(var r in this.transactions.length>1&&(a.group_title=this.group_title),t=this.transactionType?this.transactionType.toLowerCase():"invalid",e=this.transactions[0].source_account.type,n=this.transactions[0].destination_account.type,"invalid"===t&&["Asset account","Loan","Debt","Mortgage"].includes(e)&&(t="withdrawal"),"invalid"===t&&["Asset account","Loan","Debt","Mortgage"].includes(n)&&(t="deposit"),this.transactions)this.transactions.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294&&a.transactions.push(this.convertDataRow(this.transactions[r],r,t));return a},convertDataRow:function(t,e,n){var a,r,i,o,s,c,u=[],l=null,A=null;for(var d in r=t.source_account.id,i=t.source_account.name,o=t.destination_account.id,s=t.destination_account.name,c=t.date,e>0&&(c=this.transactions[0].date),"withdrawal"===n&&""===s&&(o=window.cashAccountId),"deposit"===n&&""===i&&(r=window.cashAccountId),e>0&&("withdrawal"===n.toLowerCase()||"transfer"===n.toLowerCase())&&(r=this.transactions[0].source_account.id,i=this.transactions[0].source_account.name),e>0&&("deposit"===n.toLowerCase()||"transfer"===n.toLowerCase())&&(o=this.transactions[0].destination_account.id,s=this.transactions[0].destination_account.name),u=[],l=null,A=null,t.tags)t.tags.hasOwnProperty(d)&&/^0$|^[1-9]\d*$/.test(d)&&d<=4294967294&&u.push(t.tags[d].text);return""!==t.foreign_amount.amount&&0!==parseFloat(t.foreign_amount.amount)&&(l=t.foreign_amount.amount,A=t.foreign_amount.currency_id),A===t.currency_id&&(l=null,A=null),0===o&&(o=null),0===r&&(r=null),a={type:n,date:c,amount:t.amount,currency_id:t.currency_id,description:t.description,source_id:r,source_name:i,destination_id:o,destination_name:s,category_name:t.category,interest_date:t.custom_fields.interest_date,book_date:t.custom_fields.book_date,process_date:t.custom_fields.process_date,due_date:t.custom_fields.due_date,payment_date:t.custom_fields.payment_date,invoice_date:t.custom_fields.invoice_date,internal_reference:t.custom_fields.internal_reference,notes:t.custom_fields.notes},u.length>0&&(a.tags=u),null!==l&&(a.foreign_amount=l,a.foreign_currency_id=A),parseInt(t.budget)>0&&(a.budget_id=parseInt(t.budget)),parseInt(t.piggy_bank)>0&&(a.piggy_bank_id=parseInt(t.piggy_bank)),a},submit:function(t){var e=this,n="./api/v1/transactions?_token="+document.head.querySelector('meta[name="csrf-token"]').content,a=this.convertData(),r=$("#submitButton");r.prop("disabled",!0),axios.post(n,a).then((function(t){0===e.collectAttachmentData(t)&&e.redirectUser(t.data.data.id,t.data.data)})).catch((function(t){console.error("Error in transaction submission."),console.error(t),e.parseErrors(t.response.data),console.log("enable button again."),r.removeAttr("disabled")})),t&&t.preventDefault()},escapeHTML:function(t){var e=document.createElement("div");return e.innerText=t,e.innerHTML},redirectUser:function(t,e){var n=this,a=null===e.attributes.group_title?e.attributes.transactions[0].description:e.attributes.group_title;this.createAnother?(this.success_message='Transaction #'+t+' ("'+this.escapeHTML(a)+'") has been stored.',this.error_message="",this.resetFormAfter&&(this.resetTransactions(),setTimeout((function(){return n.addTransactionToArray()}),50)),this.setDefaultErrors(),console.log("enable button again."),$("#submitButton").removeAttr("disabled")):window.location.href=window.previousUri+"?transaction_group_id="+t+"&message=created"},collectAttachmentData:function(t){var e=this,n=t.data.data.id,a=[],r=[],i=$('input[name="attachments[]"]');for(var o in i)if(i.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294)for(var s in i[o].files)i[o].files.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294&&a.push({journal:t.data.data.attributes.transactions[o].transaction_journal_id,file:i[o].files[s]});var c=a.length,u=function(i){var o,s,u;a.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294&&(o=a[i],s=e,(u=new FileReader).onloadend=function(e){e.target.readyState===FileReader.DONE&&(r.push({name:a[i].file.name,journal:a[i].journal,content:new Blob([e.target.result])}),r.length===c&&s.uploadFiles(r,n,t.data.data))},u.readAsArrayBuffer(o.file))};for(var l in a)u(l);return c},uploadFiles:function(t,e,n){var a=this,r=t.length,i=0,o=function(o){if(t.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294){var s={filename:t[o].name,attachable_type:"TransactionJournal",attachable_id:t[o].journal};axios.post("./api/v1/attachments",s).then((function(s){var c="./api/v1/attachments/"+s.data.data.id+"/upload";axios.post(c,t[o].content).then((function(t){return++i===r&&a.redirectUser(e,n),!0})).catch((function(t){return console.error("Could not upload"),console.error(t),++i===r&&a.redirectUser(e,n),!1}))}))}};for(var s in t)o(s)},setDefaultErrors:function(){for(var t in this.transactions)this.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&(this.transactions[t].errors={source_account:[],destination_account:[],description:[],amount:[],date:[],budget_id:[],foreign_amount:[],category:[],piggy_bank:[],tags:[],custom_errors:{interest_date:[],book_date:[],process_date:[],due_date:[],payment_date:[],invoice_date:[],internal_reference:[],notes:[],attachments:[]}})},parseErrors:function(t){var e,n;for(var a in this.setDefaultErrors(),this.error_message="",t.message.length>0?this.error_message=this.$t("firefly.errors_submission"):this.error_message="",t.errors)if(t.errors.hasOwnProperty(a)){if("group_title"===a&&(this.group_title_errors=t.errors[a]),"group_title"!==a)switch(e=parseInt(a.split(".")[1]),n=a.split(".")[2]){case"amount":case"date":case"budget_id":case"description":case"tags":this.transactions[e].errors[n]=t.errors[a];break;case"source_name":case"source_id":this.transactions[e].errors.source_account=this.transactions[e].errors.source_account.concat(t.errors[a]);break;case"destination_name":case"destination_id":this.transactions[e].errors.destination_account=this.transactions[e].errors.destination_account.concat(t.errors[a]);break;case"foreign_amount":case"foreign_currency_id":this.transactions[e].errors.foreign_amount=this.transactions[e].errors.foreign_amount.concat(t.errors[a])}void 0!==this.transactions[e]&&(this.transactions[e].errors.source_account=Array.from(new Set(this.transactions[e].errors.source_account)),this.transactions[e].errors.destination_account=Array.from(new Set(this.transactions[e].errors.destination_account)))}},resetTransactions:function(){this.transactions=[]},addTransactionToArray:function(t){if(this.transactions.push({description:"",date:"",amount:"",category:"",piggy_bank:0,errors:{source_account:[],destination_account:[],description:[],amount:[],date:[],budget_id:[],foreign_amount:[],category:[],piggy_bank:[],tags:[],custom_errors:{interest_date:[],book_date:[],process_date:[],due_date:[],payment_date:[],invoice_date:[],internal_reference:[],notes:[],attachments:[]}},budget:0,tags:[],custom_fields:{interest_date:"",book_date:"",process_date:"",due_date:"",payment_date:"",invoice_date:"",internal_reference:"",notes:"",attachments:[]},foreign_amount:{amount:"",currency_id:0},source_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:["Asset account","Revenue account","Loan","Debt","Mortgage"],default_allowed_types:["Asset account","Revenue account","Loan","Debt","Mortgage"]},destination_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:["Asset account","Expense account","Loan","Debt","Mortgage"],default_allowed_types:["Asset account","Expense account","Loan","Debt","Mortgage"]}}),1===this.transactions.length){var e=new Date;this.transactions[0].date=e.getFullYear()+"-"+("0"+(e.getMonth()+1)).slice(-2)+"-"+("0"+e.getDate()).slice(-2)}t&&t.preventDefault()},setTransactionType:function(t){this.transactionType=t},deleteTransaction:function(t,e){for(var n in e.preventDefault(),this.transactions)this.transactions.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n);for(var a in this.transactions.splice(t,1),this.transactions)this.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)},limitSourceType:function(t){var e;for(e=0;e1?n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-6"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title"))+"\n ")])]),t._v(" "),n("div",{staticClass:"box-body"},[n("group-description",{attrs:{error:t.group_title_errors},model:{value:t.group_title,callback:function(e){t.group_title=e},expression:"group_title"}})],1)])])]):t._e(),t._v(" "),n("div",t._l(t.transactions,(function(e,a){return n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-12"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title splitTitle"},[t.transactions.length>1?n("span",[t._v(t._s(t.$t("firefly.split"))+" "+t._s(a+1)+" / "+t._s(t.transactions.length))]):t._e(),t._v(" "),1===t.transactions.length?n("span",[t._v(t._s(t.$t("firefly.transaction_journal_information")))]):t._e()]),t._v(" "),t.transactions.length>1?n("div",{staticClass:"box-tools pull-right",attrs:{x:""}},[n("button",{staticClass:"btn btn-xs btn-danger",attrs:{type:"button"},on:{click:function(e){return t.deleteTransaction(a,e)}}},[n("i",{staticClass:"fa fa-trash"})])]):t._e()]),t._v(" "),n("div",{staticClass:"box-body"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-4"},[n("transaction-description",{attrs:{index:a,error:e.errors.description},model:{value:e.description,callback:function(n){t.$set(e,"description",n)},expression:"transaction.description"}}),t._v(" "),n("account-select",{attrs:{inputName:"source[]",title:t.$t("firefly.source_account"),accountName:e.source_account.name,accountTypeFilters:e.source_account.allowed_types,defaultAccountTypeFilters:e.source_account.default_allowed_types,transactionType:t.transactionType,index:a,error:e.errors.source_account},on:{"clear:value":function(e){return t.clearSource(a)},"select:account":function(e){return t.selectedSourceAccount(a,e)}}}),t._v(" "),n("account-select",{attrs:{inputName:"destination[]",title:t.$t("firefly.destination_account"),accountName:e.destination_account.name,accountTypeFilters:e.destination_account.allowed_types,defaultAccountTypeFilters:e.destination_account.default_allowed_types,transactionType:t.transactionType,index:a,error:e.errors.destination_account},on:{"clear:value":function(e){return t.clearDestination(a)},"select:account":function(e){return t.selectedDestinationAccount(a,e)}}}),t._v(" "),n("standard-date",{attrs:{index:a,error:e.errors.date},model:{value:e.date,callback:function(n){t.$set(e,"date",n)},expression:"transaction.date"}}),t._v(" "),0===a?n("div",[n("transaction-type",{attrs:{source:e.source_account.type,destination:e.destination_account.type},on:{"set:transactionType":function(e){return t.setTransactionType(e)},"act:limitSourceType":function(e){return t.limitSourceType(e)},"act:limitDestinationType":function(e){return t.limitDestinationType(e)}}})],1):t._e()],1),t._v(" "),n("div",{staticClass:"col-lg-4"},[n("amount",{attrs:{source:e.source_account,destination:e.destination_account,error:e.errors.amount,transactionType:t.transactionType},model:{value:e.amount,callback:function(n){t.$set(e,"amount",n)},expression:"transaction.amount"}}),t._v(" "),n("foreign-amount",{attrs:{source:e.source_account,destination:e.destination_account,transactionType:t.transactionType,error:e.errors.foreign_amount,title:t.$t("form.foreign_amount")},model:{value:e.foreign_amount,callback:function(n){t.$set(e,"foreign_amount",n)},expression:"transaction.foreign_amount"}})],1),t._v(" "),n("div",{staticClass:"col-lg-4"},[n("budget",{attrs:{transactionType:t.transactionType,error:e.errors.budget_id,no_budget:t.$t("firefly.none_in_select_list")},model:{value:e.budget,callback:function(n){t.$set(e,"budget",n)},expression:"transaction.budget"}}),t._v(" "),n("category",{attrs:{transactionType:t.transactionType,error:e.errors.category},model:{value:e.category,callback:function(n){t.$set(e,"category",n)},expression:"transaction.category"}}),t._v(" "),n("piggy-bank",{attrs:{transactionType:t.transactionType,error:e.errors.piggy_bank,no_piggy_bank:t.$t("firefly.no_piggy_bank")},model:{value:e.piggy_bank,callback:function(n){t.$set(e,"piggy_bank",n)},expression:"transaction.piggy_bank"}}),t._v(" "),n("tags",{attrs:{error:e.errors.tags},model:{value:e.tags,callback:function(n){t.$set(e,"tags",n)},expression:"transaction.tags"}}),t._v(" "),n("custom-transaction-fields",{attrs:{error:e.errors.custom_errors},model:{value:e.custom_fields,callback:function(n){t.$set(e,"custom_fields",n)},expression:"transaction.custom_fields"}})],1)])]),t._v(" "),t.transactions.length-1===a?n("div",{staticClass:"box-footer"},[n("button",{staticClass:"split_add_btn btn btn-default",attrs:{type:"button"},on:{click:t.addTransactionToArray}},[t._v(t._s(t.$t("firefly.add_another_split")))])]):t._e()])])])})),0),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-3 col-md-4 col-sm-6 col-xs-12"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title"},[t._v("\n "+t._s(t.$t("firefly.submission"))+"\n ")])]),t._v(" "),n("div",{staticClass:"box-body"},[n("div",{staticClass:"checkbox"},[n("label",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createAnother,expression:"createAnother"}],attrs:{name:"create_another",type:"checkbox"},domProps:{checked:Array.isArray(t.createAnother)?t._i(t.createAnother,null)>-1:t.createAnother},on:{change:function(e){var n=t.createAnother,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&(t.createAnother=n.concat([null])):i>-1&&(t.createAnother=n.slice(0,i).concat(n.slice(i+1)))}else t.createAnother=r}}}),t._v("\n "+t._s(t.$t("firefly.create_another"))+"\n ")]),t._v(" "),n("label",{class:{"text-muted":!1===this.createAnother}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.resetFormAfter,expression:"resetFormAfter"}],attrs:{disabled:!1===this.createAnother,name:"reset_form",type:"checkbox"},domProps:{checked:Array.isArray(t.resetFormAfter)?t._i(t.resetFormAfter,null)>-1:t.resetFormAfter},on:{change:function(e){var n=t.resetFormAfter,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&(t.resetFormAfter=n.concat([null])):i>-1&&(t.resetFormAfter=n.slice(0,i).concat(n.slice(i+1)))}else t.resetFormAfter=r}}}),t._v("\n "+t._s(t.$t("firefly.reset_after"))+"\n\n ")])])]),t._v(" "),n("div",{staticClass:"box-footer"},[n("div",{staticClass:"btn-group"},[n("button",{staticClass:"btn btn-success",attrs:{id:"submitButton"},on:{click:t.submit}},[t._v(t._s(t.$t("firefly.submit")))])])])])])])])}),[],!1,null,"462146d1",null).exports,s=n(31),c=n(32),u=n(33),l=n(34),A=n(35),d=n(36),p=n(37),f=n(38),g=n(39),m=n(40),_=n(41),h=n(42),v=n(43),y=n(44),b=n(45);n(28),Vue.component("budget",b.a),Vue.component("custom-date",s.a),Vue.component("custom-string",c.a),Vue.component("custom-attachments",a.a),Vue.component("custom-textarea",u.a),Vue.component("standard-date",l.a),Vue.component("group-description",A.a),Vue.component("transaction-description",d.a),Vue.component("custom-transaction-fields",p.a),Vue.component("piggy-bank",f.a),Vue.component("tags",g.a),Vue.component("category",m.a),Vue.component("amount",_.a),Vue.component("foreign-amount",h.a),Vue.component("transaction-type",v.a),Vue.component("account-select",y.a),Vue.component("create-transaction",o);var C=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{cs:n(50),de:n(51),en:n(52),es:n(53),fr:n(54),hu:n(55),id:n(56),it:n(57),nl:n(58),no:n(59),pl:n(60),fi:n(61),"pt-br":n(62),ro:n(63),ru:n(64),zh:n(65),"zh-tw":n(66),"zh-cn":n(67),sv:n(68)}}),w={};new Vue({i18n:C,el:"#create_transaction",render:function(t){return t(o,{props:w})}})}]); \ No newline at end of file diff --git a/public/v1/js/edit_transaction.js b/public/v1/js/edit_transaction.js index 9d971b2b36..d02e3e2290 100644 --- a/public/v1/js/edit_transaction.js +++ b/public/v1/js/edit_transaction.js @@ -1 +1 @@ -!function(t){var e={};function n(a){if(e[a])return e[a].exports;var r=e[a]={i:a,l:!1,exports:{}};return t[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(a,r,function(e){return t[e]}.bind(null,r));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=80)}([function(t,e,n){"use strict";function a(t,e,n,a,r,i,o,s){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),a&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),o?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=c):r&&(c=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var A=u.beforeCreate;u.beforeCreate=A?[].concat(A,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return a}))},function(t,e,n){"use strict";var a=n(5),r=n(12),i=Object.prototype.toString;function o(t){return"[object Array]"===i.call(t)}function s(t){return null!==t&&"object"==typeof t}function c(t){return"[object Function]"===i.call(t)}function u(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var n=0,a=t.length;n=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},a.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),a.forEach(["post","put","patch"],(function(t){c.headers[t]=a.merge(i)})),t.exports=c}).call(this,n(10))},function(t,e,n){t.exports=n(11)},,function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),a=0;a1)for(var n=1;n=0)return;o[e]="set-cookie"===e?(o[e]?o[e]:[]).concat([n]):o[e]?o[e]+", "+n:n}})),o):o}},function(t,e,n){"use strict";var a=n(1);t.exports=a.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(t){var a=t;return e&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=r(window.location.href),function(e){var n=a.isString(e)?r(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var a=n(1);t.exports=a.isStandardBrowserEnv()?{write:function(t,e,n,r,i,o){var s=[];s.push(t+"="+encodeURIComponent(e)),a.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),a.isString(r)&&s.push("path="+r),a.isString(i)&&s.push("domain="+i),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var a=n(1);function r(){this.handlers=[]}r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){a.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=r},function(t,e,n){"use strict";var a=n(1),r=n(23),i=n(8),o=n(2),s=n(24),c=n(25);function u(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return u(t),t.baseURL&&!s(t.url)&&(t.url=c(t.baseURL,t.url)),t.headers=t.headers||{},t.data=r(t.data,t.headers,t.transformRequest),t.headers=a.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),a.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||o.adapter)(t).then((function(e){return u(t),e.data=r(e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(u(t),e&&e.response&&(e.response.data=r(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var a=n(1);t.exports=function(t,e,n){return a.forEach(n,(function(n){t=n(t,e)})),t}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var a=n(9);function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new a(t),e(n.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r((function(e){t=e})),cancel:t}},t.exports=r},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){window.axios=n(3),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var a=document.head.querySelector('meta[name="csrf-token"]');a?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=a.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token")},function(t,e,n){window,t.exports=function(t){var e={};function n(a){if(e[a])return e[a].exports;var r=e[a]={i:a,l:!1,exports:{}};return t[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(a,r,function(e){return t[e]}.bind(null,r));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=6)}([function(t,e,n){var a=n(8);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals),(0,n(4).default)("7ec05f6c",a,!1,{})},function(t,e,n){var a=n(10);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals),(0,n(4).default)("3453d19d",a,!1,{})},function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n,a=t[1]||"",r=t[3];if(!r)return a;if(e&&"function"==typeof btoa){var i=(n=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),o=r.sources.map((function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"}));return[a].concat(o).concat([i]).join("\n")}return[a].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var a={},r=0;rn.parts.length&&(a.parts.length=n.parts.length)}else{var o=[];for(r=0;r div[data-v-61d92e31] {\n cursor: pointer;\n padding: 3px 6px;\n width: 100%;\n}\n.ti-selected-item[data-v-61d92e31] {\n background-color: #5C6BC0;\n color: #fff;\n}\n',"",{version:3,sources:["C:/Users/johan/dev/vue-tags-input/vue-tags-input/C:/Users/johan/dev/vue-tags-input/vue-tags-input/vue-tags-input.scss"],names:[],mappings:"AAAA;EACE,uBAAuB;EACvB,mCAA8C;EAC9C,+JAAuM;EACvM,oBAAoB;EACpB,mBAAmB;CAAE;AAEvB;EACE,kCAAkC;EAClC,YAAY;EACZ,mBAAmB;EACnB,oBAAoB;EACpB,qBAAqB;EACrB,qBAAqB;EACrB,eAAe;EACf,oCAAoC;EACpC,mCAAmC;CAAE;AAEvC;EACE,iBAAiB;CAAE;AAErB;EACE,iBAAiB;CAAE;AAErB;EACE,iBAAiB;CAAE;AAErB;EACE,YAAY;EACZ,aAAa;EACb,sBAAsB;CAAE;AAE1B;EACE,uBAAuB;CAAE;AAE3B;EACE,cAAc;CAAE;AAElB;EACE,8BAA8B;CAAE;AAElC;EACE,iBAAiB;EACjB,mBAAmB;EACnB,uBAAuB;CAAE;AAE3B;EACE,aAAa;CAAE;AACf;IACE,gBAAgB;CAAE;AAEtB;EACE,uBAAuB;EACvB,cAAc;EACd,aAAa;EACb,gBAAgB;CAAE;AAEpB;EACE,cAAc;EACd,gBAAgB;EAChB,YAAY;EACZ,iBAAiB;CAAE;AAErB;EACE,0BAA0B;EAC1B,YAAY;EACZ,mBAAmB;EACnB,cAAc;EACd,iBAAiB;EACjB,YAAY;EACZ,iBAAiB;CAAE;AACnB;IACE,cAAc;CAAE;AAClB;IACE,cAAc;IACd,oBAAoB;CAAE;AACxB;IACE,mBAAmB;CAAE;AACvB;IACE,mBAAmB;CAAE;AACvB;IACE,mBAAmB;IACnB,mBAAmB;IACnB,YAAY;IACZ,iBAAiB;CAAE;AACrB;IACE,iBAAiB;IACjB,cAAc;IACd,oBAAoB;IACpB,kBAAkB;CAAE;AACpB;MACE,gBAAgB;CAAE;AACtB;IACE,kBAAkB;CAAE;AACtB;IACE,0BAA0B;CAAE;AAEhC;EACE,cAAc;EACd,eAAe;EACf,iBAAiB;EACjB,YAAY;EACZ,iBAAiB;CAAE;AACnB;IACE,eAAe;IACf,iBAAiB;IACjB,aAAa;IACb,aAAa;IACb,YAAY;CAAE;AAElB;EACE,qBAAqB;CAAE;AAEzB;EACE,uBAAuB;EACvB,iBAAiB;EACjB,mBAAmB;EACnB,YAAY;EACZ,uBAAuB;EACvB,YAAY;CAAE;AAEhB;EACE,gBAAgB;EAChB,iBAAiB;EACjB,YAAY;CAAE;AAEhB;EACE,0BAA0B;EAC1B,YAAY;CAAE",file:"vue-tags-input.scss?vue&type=style&index=0&id=61d92e31&lang=scss&scoped=true&",sourcesContent:['@font-face {\n font-family: \'icomoon\';\n src: url("./assets/fonts/icomoon.eot?7grlse");\n src: url("./assets/fonts/icomoon.eot?7grlse#iefix") format("embedded-opentype"), url("./assets/fonts/icomoon.ttf?7grlse") format("truetype"), url("./assets/fonts/icomoon.woff?7grlse") format("woff");\n font-weight: normal;\n font-style: normal; }\n\n[class^="ti-icon-"], [class*=" ti-icon-"] {\n font-family: \'icomoon\' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale; }\n\n.ti-icon-check:before {\n content: "\\e902"; }\n\n.ti-icon-close:before {\n content: "\\e901"; }\n\n.ti-icon-undo:before {\n content: "\\e900"; }\n\nul {\n margin: 0px;\n padding: 0px;\n list-style-type: none; }\n\n*, *:before, *:after {\n box-sizing: border-box; }\n\ninput:focus {\n outline: none; }\n\ninput[disabled] {\n background-color: transparent; }\n\n.vue-tags-input {\n max-width: 450px;\n position: relative;\n background-color: #fff; }\n\ndiv.vue-tags-input.disabled {\n opacity: 0.5; }\n div.vue-tags-input.disabled * {\n cursor: default; }\n\n.ti-input {\n border: 1px solid #ccc;\n display: flex;\n padding: 4px;\n flex-wrap: wrap; }\n\n.ti-tags {\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n line-height: 1em; }\n\n.ti-tag {\n background-color: #5C6BC0;\n color: #fff;\n border-radius: 2px;\n display: flex;\n padding: 3px 5px;\n margin: 2px;\n font-size: .85em; }\n .ti-tag:focus {\n outline: none; }\n .ti-tag .ti-content {\n display: flex;\n align-items: center; }\n .ti-tag .ti-tag-center {\n position: relative; }\n .ti-tag span {\n line-height: .85em; }\n .ti-tag span.ti-hidden {\n padding-left: 14px;\n visibility: hidden;\n height: 0px;\n white-space: pre; }\n .ti-tag .ti-actions {\n margin-left: 2px;\n display: flex;\n align-items: center;\n font-size: 1.15em; }\n .ti-tag .ti-actions i {\n cursor: pointer; }\n .ti-tag:last-child {\n margin-right: 4px; }\n .ti-tag.ti-invalid, .ti-tag.ti-tag.ti-deletion-mark {\n background-color: #e54d42; }\n\n.ti-new-tag-input-wrapper {\n display: flex;\n flex: 1 0 auto;\n padding: 3px 5px;\n margin: 2px;\n font-size: .85em; }\n .ti-new-tag-input-wrapper input {\n flex: 1 0 auto;\n min-width: 100px;\n border: none;\n padding: 0px;\n margin: 0px; }\n\n.ti-new-tag-input {\n line-height: initial; }\n\n.ti-autocomplete {\n border: 1px solid #ccc;\n border-top: none;\n position: absolute;\n width: 100%;\n background-color: #fff;\n z-index: 20; }\n\n.ti-item > div {\n cursor: pointer;\n padding: 3px 6px;\n width: 100%; }\n\n.ti-selected-item {\n background-color: #5C6BC0;\n color: #fff; }\n'],sourceRoot:""}])},function(t,e,n){"use strict";t.exports=function(t){return"string"!=typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),/["'() \t\n]/.test(t)?'"'+t.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':t)}},function(t,e){t.exports="data:font/ttf;base64,AAEAAAALAIAAAwAwT1MvMg8SBawAAAC8AAAAYGNtYXAXVtKJAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZqWfozAAAAF4AAAA/GhlYWQPxZgIAAACdAAAADZoaGVhB4ADyAAAAqwAAAAkaG10eBIAAb4AAALQAAAAHGxvY2EAkgDiAAAC7AAAABBtYXhwAAkAHwAAAvwAAAAgbmFtZZlKCfsAAAMcAAABhnBvc3QAAwAAAAAEpAAAACAAAwOAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpAgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6QL//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAFYBAQO+AoEAHAAAATIXHgEXFhcHJicuAScmIyIGBxchERc2Nz4BNzYCFkpDQ28pKRdkECAfVTM0OT9wLZz+gJgdIiJLKSgCVRcYUjg5QiAzKys+ERIrJZoBgJoZFRQcCAgAAQDWAIEDKgLVAAsAAAEHFwcnByc3JzcXNwMq7u487u487u487u4Cme7uPO7uPO7uPO7uAAEAkgCBA4ACvQAFAAAlARcBJzcBgAHEPP4A7jz5AcQ8/gDuPAAAAAABAAAAAAAAH8nTUV8PPPUACwQAAAAAANZ1KhsAAAAA1nUqGwAAAAADvgLVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAO+AAEAAAAAAAAAAAAAAAAAAAAHBAAAAAAAAAAAAAAAAgAAAAQAAFYEAADWBAAAkgAAAAAACgAUAB4AUABqAH4AAQAAAAcAHQABAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGljb21vb24AaQBjAG8AbQBvAG8AblZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGljb21vb24AaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AblJlZ3VsYXIAUgBlAGcAdQBsAGEAcmljb21vb24AaQBjAG8AbQBvAG8AbkZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="},function(t,e){t.exports="data:font/woff;base64,d09GRgABAAAAAAUQAAsAAAAABMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIFrGNtYXAAAAFoAAAAVAAAAFQXVtKJZ2FzcAAAAbwAAAAIAAAACAAAABBnbHlmAAABxAAAAPwAAAD8pZ+jMGhlYWQAAALAAAAANgAAADYPxZgIaGhlYQAAAvgAAAAkAAAAJAeAA8hobXR4AAADHAAAABwAAAAcEgABvmxvY2EAAAM4AAAAEAAAABAAkgDibWF4cAAAA0gAAAAgAAAAIAAJAB9uYW1lAAADaAAAAYYAAAGGmUoJ+3Bvc3QAAATwAAAAIAAAACAAAwAAAAMDgAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA6QIDwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADgAAAAKAAgAAgACAAEAIOkC//3//wAAAAAAIOkA//3//wAB/+MXBAADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQBWAQEDvgKBABwAAAEyFx4BFxYXByYnLgEnJiMiBgcXIREXNjc+ATc2AhZKQ0NvKSkXZBAgH1UzNDk/cC2c/oCYHSIiSykoAlUXGFI4OUIgMysrPhESKyWaAYCaGRUUHAgIAAEA1gCBAyoC1QALAAABBxcHJwcnNyc3FzcDKu7uPO7uPO7uPO7uApnu7jzu7jzu7jzu7gABAJIAgQOAAr0ABQAAJQEXASc3AYABxDz+AO48+QHEPP4A7jwAAAAAAQAAAAAAAB/J01FfDzz1AAsEAAAAAADWdSobAAAAANZ1KhsAAAAAA74C1QAAAAgAAgAAAAAAAAABAAADwP/AAAAEAAAAAAADvgABAAAAAAAAAAAAAAAAAAAABwQAAAAAAAAAAAAAAAIAAAAEAABWBAAA1gQAAJIAAAAAAAoAFAAeAFAAagB+AAEAAAAHAB0AAQAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAHAAAAAQAAAAAAAgAHAGAAAQAAAAAAAwAHADYAAQAAAAAABAAHAHUAAQAAAAAABQALABUAAQAAAAAABgAHAEsAAQAAAAAACgAaAIoAAwABBAkAAQAOAAcAAwABBAkAAgAOAGcAAwABBAkAAwAOAD0AAwABBAkABAAOAHwAAwABBAkABQAWACAAAwABBAkABgAOAFIAAwABBAkACgA0AKRpY29tb29uAGkAYwBvAG0AbwBvAG5WZXJzaW9uIDEuMABWAGUAcgBzAGkAbwBuACAAMQAuADBpY29tb29uAGkAYwBvAG0AbwBvAG5pY29tb29uAGkAYwBvAG0AbwBvAG5SZWd1bGFyAFIAZQBnAHUAbABhAHJpY29tb29uAGkAYwBvAG0AbwBvAG5Gb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-tags-input",class:[{"ti-disabled":t.disabled},{"ti-focus":t.focused}]},[n("div",{staticClass:"ti-input"},[t.tagsCopy?n("ul",{staticClass:"ti-tags"},[t._l(t.tagsCopy,(function(e,a){return n("li",{key:a,staticClass:"ti-tag",class:[{"ti-editing":t.tagsEditStatus[a]},e.tiClasses,e.classes,{"ti-deletion-mark":t.isMarked(a)}],style:e.style,attrs:{tabindex:"0"},on:{click:function(n){return t.$emit("tag-clicked",{tag:e,index:a})}}},[n("div",{staticClass:"ti-content"},[t.$scopedSlots["tag-left"]?n("div",{staticClass:"ti-tag-left"},[t._t("tag-left",null,{tag:e,index:a,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)})],2):t._e(),t._v(" "),n("div",{ref:"tagCenter",refInFor:!0,staticClass:"ti-tag-center"},[t.$scopedSlots["tag-center"]?t._e():n("span",{class:{"ti-hidden":t.tagsEditStatus[a]},on:{click:function(e){return t.performEditTag(a)}}},[t._v(t._s(e.text))]),t._v(" "),t.$scopedSlots["tag-center"]?t._e():n("tag-input",{attrs:{scope:{edit:t.tagsEditStatus[a],maxlength:t.maxlength,tag:e,index:a,validateTag:t.createChangedTag,performCancelEdit:t.cancelEdit,performSaveEdit:t.performSaveTag}}}),t._v(" "),t._t("tag-center",null,{tag:e,index:a,maxlength:t.maxlength,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,validateTag:t.createChangedTag,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)})],2),t._v(" "),t.$scopedSlots["tag-right"]?n("div",{staticClass:"ti-tag-right"},[t._t("tag-right",null,{tag:e,index:a,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)})],2):t._e()]),t._v(" "),n("div",{staticClass:"ti-actions"},[t.$scopedSlots["tag-actions"]?t._e():n("i",{directives:[{name:"show",rawName:"v-show",value:t.tagsEditStatus[a],expression:"tagsEditStatus[index]"}],staticClass:"ti-icon-undo",on:{click:function(e){return t.cancelEdit(a)}}}),t._v(" "),t.$scopedSlots["tag-actions"]?t._e():n("i",{directives:[{name:"show",rawName:"v-show",value:!t.tagsEditStatus[a],expression:"!tagsEditStatus[index]"}],staticClass:"ti-icon-close",on:{click:function(e){return t.performDeleteTag(a)}}}),t._v(" "),t.$scopedSlots["tag-actions"]?t._t("tag-actions",null,{tag:e,index:a,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)}):t._e()],2)])})),t._v(" "),n("li",{staticClass:"ti-new-tag-input-wrapper"},[n("input",t._b({ref:"newTagInput",staticClass:"ti-new-tag-input",class:[t.createClasses(t.newTag,t.tags,t.validation,t.isDuplicate)],attrs:{placeholder:t.placeholder,maxlength:t.maxlength,disabled:t.disabled,type:"text",size:"1"},domProps:{value:t.newTag},on:{keydown:[function(e){return t.performAddTags(t.filteredAutocompleteItems[t.selectedItem]||t.newTag,e)},function(e){return e.type.indexOf("key")||8===e.keyCode?t.invokeDelete(e):null},function(e){return e.type.indexOf("key")||9===e.keyCode?t.performBlur(e):null},function(e){return e.type.indexOf("key")||38===e.keyCode?t.selectItem(e,"before"):null},function(e){return e.type.indexOf("key")||40===e.keyCode?t.selectItem(e,"after"):null}],paste:t.addTagsFromPaste,input:t.updateNewTag,blur:function(e){return t.$emit("blur",e)},focus:function(e){t.focused=!0,t.$emit("focus",e)},click:function(e){!t.addOnlyFromAutocomplete&&(t.selectedItem=null)}}},"input",t.$attrs,!1))])],2):t._e()]),t._v(" "),t._t("between-elements"),t._v(" "),t.autocompleteOpen?n("div",{staticClass:"ti-autocomplete",on:{mouseout:function(e){t.selectedItem=null}}},[t._t("autocomplete-header"),t._v(" "),n("ul",t._l(t.filteredAutocompleteItems,(function(e,a){return n("li",{key:a,staticClass:"ti-item",class:[e.tiClasses,e.classes,{"ti-selected-item":t.isSelected(a)}],style:e.style,on:{mouseover:function(e){!t.disabled&&(t.selectedItem=a)}}},[t.$scopedSlots["autocomplete-item"]?t._t("autocomplete-item",null,{item:e,index:a,performAdd:function(e){return t.performAddTags(e,void 0,"autocomplete")},selected:t.isSelected(a)}):n("div",{on:{click:function(n){return t.performAddTags(e,void 0,"autocomplete")}}},[t._v("\n "+t._s(e.text)+"\n ")])],2)})),0),t._v(" "),t._t("autocomplete-footer")],2):t._e()],2)};a._withStripped=!0;var r=n(5),i=n.n(r),o=function(t){return JSON.parse(JSON.stringify(t))},s=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3?arguments[3]:void 0;void 0===t.text&&(t={text:t});var r=function(t,e){return e.filter((function(e){var n=t.text;return"string"==typeof e.rule?!new RegExp(e.rule).test(n):e.rule instanceof RegExp?!e.rule.test(n):"[object Function]"==={}.toString.call(e.rule)?e.rule(t):void 0})).map((function(t){return t.classes}))}(t,n),i=function(t,e){for(var n=0;n1?n-1:0),r=1;r1?e-1:0),a=1;a=this.autocompleteMinLength&&this.filteredAutocompleteItems.length>0&&this.focused},filteredAutocompleteItems:function(){var t=this,e=this.autocompleteItems.map((function(e){return c(e,t.tags,t.validation,t.isDuplicate)}));return this.autocompleteFilterDuplicates?e.filter(this.duplicateFilter):e}},methods:{createClasses:s,getSelectedIndex:function(t){var e=this.filteredAutocompleteItems,n=this.selectedItem,a=e.length-1;if(0!==e.length)return null===n?0:"before"===t&&0===n?a:"after"===t&&n===a?0:"after"===t?n+1:n-1},selectDefaultItem:function(){this.addOnlyFromAutocomplete&&this.filteredAutocompleteItems.length>0?this.selectedItem=0:this.selectedItem=null},selectItem:function(t,e){t.preventDefault(),this.selectedItem=this.getSelectedIndex(e)},isSelected:function(t){return this.selectedItem===t},isMarked:function(t){return this.deletionMark===t},invokeDelete:function(){var t=this;if(this.deleteOnBackspace&&!(this.newTag.length>0)){var e=this.tagsCopy.length-1;null===this.deletionMark?(this.deletionMarkTime=setTimeout((function(){return t.deletionMark=null}),1e3),this.deletionMark=e):this.performDeleteTag(e)}},addTagsFromPaste:function(){var t=this;this.addFromPaste&&setTimeout((function(){return t.performAddTags(t.newTag)}),10)},performEditTag:function(t){var e=this;this.allowEditTags&&(this._events["before-editing-tag"]||this.editTag(t),this.$emit("before-editing-tag",{index:t,tag:this.tagsCopy[t],editTag:function(){return e.editTag(t)}}))},editTag:function(t){this.allowEditTags&&(this.toggleEditMode(t),this.focus(t))},toggleEditMode:function(t){this.allowEditTags&&!this.disabled&&this.$set(this.tagsEditStatus,t,!this.tagsEditStatus[t])},createChangedTag:function(t,e){var n=this.tagsCopy[t];n.text=e?e.target.value:this.tagsCopy[t].text,this.$set(this.tagsCopy,t,c(n,this.tagsCopy,this.validation,this.isDuplicate))},focus:function(t){var e=this;this.$nextTick((function(){var n=e.$refs.tagCenter[t].querySelector("input.ti-tag-input");n&&n.focus()}))},quote:function(t){return t.replace(/([()[{*+.$^\\|?])/g,"\\$1")},cancelEdit:function(t){this.tags[t]&&(this.tagsCopy[t]=o(c(this.tags[t],this.tags,this.validation,this.isDuplicate)),this.$set(this.tagsEditStatus,t,!1))},hasForbiddingAddRule:function(t){var e=this;return t.some((function(t){var n=e.validation.find((function(e){return t===e.classes}));return!!n&&n.disableAdd}))},createTagTexts:function(t){var e=this,n=new RegExp(this.separators.map((function(t){return e.quote(t)})).join("|"));return t.split(n).map((function(t){return{text:t}}))},performDeleteTag:function(t){var e=this;this._events["before-deleting-tag"]||this.deleteTag(t),this.$emit("before-deleting-tag",{index:t,tag:this.tagsCopy[t],deleteTag:function(){return e.deleteTag(t)}})},deleteTag:function(t){this.disabled||(this.deletionMark=null,clearTimeout(this.deletionMarkTime),this.tagsCopy.splice(t,1),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},noTriggerKey:function(t,e){var n=-1!==this[e].indexOf(t.keyCode)||-1!==this[e].indexOf(t.key);return n&&t.preventDefault(),!n},performAddTags:function(t,e,n){var a=this;if(!(this.disabled||e&&this.noTriggerKey(e,"addOnKey"))){var r=[];"object"===h(t)&&(r=[t]),"string"==typeof t&&(r=this.createTagTexts(t)),(r=r.filter((function(t){return t.text.trim().length>0}))).forEach((function(t){t=c(t,a.tags,a.validation,a.isDuplicate),a._events["before-adding-tag"]||a.addTag(t,n),a.$emit("before-adding-tag",{tag:t,addTag:function(){return a.addTag(t,n)}})}))}},duplicateFilter:function(t){return this.isDuplicate?!this.isDuplicate(this.tagsCopy,t):!this.tagsCopy.find((function(e){return e.text===t.text}))},addTag:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"new-tag-input",a=this.filteredAutocompleteItems.map((function(t){return t.text}));this.addOnlyFromAutocomplete&&-1===a.indexOf(t.text)||this.$nextTick((function(){return e.maxTags&&e.maxTags<=e.tagsCopy.length?e.$emit("max-tags-reached",t):e.avoidAddingDuplicates&&!e.duplicateFilter(t)?e.$emit("adding-duplicate",t):void(e.hasForbiddingAddRule(t.tiClasses)||(e.$emit("input",""),e.tagsCopy.push(t),e._events["update:tags"]&&e.$emit("update:tags",e.tagsCopy),"autocomplete"===n&&e.$refs.newTagInput.focus(),e.$emit("tags-changed",e.tagsCopy)))}))},performSaveTag:function(t,e){var n=this,a=this.tagsCopy[t];this.disabled||e&&this.noTriggerKey(e,"addOnKey")||0!==a.text.trim().length&&(this._events["before-saving-tag"]||this.saveTag(t,a),this.$emit("before-saving-tag",{index:t,tag:a,saveTag:function(){return n.saveTag(t,a)}}))},saveTag:function(t,e){if(this.avoidAddingDuplicates){var n=o(this.tagsCopy),a=n.splice(t,1)[0];if(this.isDuplicate?this.isDuplicate(n,a):-1!==n.map((function(t){return t.text})).indexOf(a.text))return this.$emit("saving-duplicate",e)}this.hasForbiddingAddRule(e.tiClasses)||(this.$set(this.tagsCopy,t,e),this.toggleEditMode(t),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},tagsEqual:function(){var t=this;return!this.tagsCopy.some((function(e,n){return!i()(e,t.tags[n])}))},updateNewTag:function(t){var e=t.target.value;this.newTag=e,this.$emit("input",e)},initTags:function(){this.tagsCopy=u(this.tags,this.validation,this.isDuplicate),this.tagsEditStatus=o(this.tags).map((function(){return!1})),this._events["update:tags"]&&!this.tagsEqual()&&this.$emit("update:tags",this.tagsCopy)},blurredOnClick:function(t){this.$el.contains(t.target)||this.$el.contains(document.activeElement)||this.performBlur(t)},performBlur:function(){this.addOnBlur&&this.focused&&this.performAddTags(this.newTag),this.focused=!1}},watch:{value:function(t){this.addOnlyFromAutocomplete||(this.selectedItem=null),this.newTag=t},tags:{handler:function(){this.initTags()},deep:!0},autocompleteOpen:"selectDefaultItem"},created:function(){this.newTag=this.value,this.initTags()},mounted:function(){this.selectDefaultItem(),document.addEventListener("click",this.blurredOnClick)},destroyed:function(){document.removeEventListener("click",this.blurredOnClick)}},y=(n(9),d(v,a,[],!1,null,"61d92e31",null));y.options.__file="vue-tags-input/vue-tags-input.vue";var b=y.exports;n.d(e,"VueTagsInput",(function(){return b})),n.d(e,"createClasses",(function(){return s})),n.d(e,"createTag",(function(){return c})),n.d(e,"createTags",(function(){return u})),n.d(e,"TagInput",(function(){return f})),b.install=function(t){return t.component(b.name,b)},"undefined"!=typeof window&&window.Vue&&window.Vue.use(b),e.default=b}])},function(t,e,n){"use strict";var a={name:"CustomAttachments",props:{title:String,name:String,error:Array},methods:{hasError:function(){return this.error.length>0}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{staticClass:"form-control",attrs:{multiple:"multiple",autocomplete:"off",placeholder:t.title,title:t.title,name:t.name,type:"file"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"73840c18",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"CustomDate",props:{value:String,title:String,name:String,error:Array},methods:{handleInput:function(t){this.$emit("input",this.$refs.date.value)},hasError:function(){return this.error.length>0}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{ref:"date",staticClass:"form-control",attrs:{type:"date",name:t.name,title:t.title,autocomplete:"off",placeholder:t.title},domProps:{value:t.value?t.value.substr(0,10):""},on:{input:t.handleInput}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"30d0f0fe",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"CustomString",props:{title:String,name:String,value:String,error:Array},methods:{handleInput:function(t){this.$emit("input",this.$refs.str.value)},hasError:function(){return this.error.length>0}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{ref:"str",staticClass:"form-control",attrs:{type:"text",name:t.name,title:t.title,autocomplete:"off",placeholder:t.title},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"69529226",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"CustomTextarea",props:{title:String,name:String,value:String,error:Array},data:function(){return{textValue:this.value}},methods:{handleInput:function(t){this.$emit("input",this.$refs.str.value)},hasError:function(){return this.error.length>0}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.textValue,expression:"textValue"}],ref:"str",staticClass:"form-control",attrs:{name:t.name,title:t.title,autocomplete:"off",rows:"8",placeholder:t.title},domProps:{value:t.textValue},on:{input:[function(e){e.target.composing||(t.textValue=e.target.value)},t.handleInput]}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"40389097",null);e.a=i.exports},function(t,e,n){"use strict";var a={props:["error","value","index"],name:"StandardDate",methods:{hasError:function(){return this.error.length>0},handleInput:function(t){this.$emit("input",this.$refs.date.value)}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.date"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{ref:"date",staticClass:"form-control",attrs:{type:"date",name:"date[]",title:t.$t("firefly.date"),autocomplete:"off",disabled:t.index>0,placeholder:t.$t("firefly.date")},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"deecacf4",null);e.a=i.exports},function(t,e,n){"use strict";var a={props:["error","value","index"],name:"GroupDescription",methods:{hasError:function(){return this.error.length>0},handleInput:function(t){this.$emit("input",this.$refs.descr.value)}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{ref:"descr",staticClass:"form-control",attrs:{type:"text",name:"group_title",title:t.$t("firefly.split_transaction_title"),autocomplete:"off",placeholder:t.$t("firefly.split_transaction_title")},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),0===t.error.length?n("p",{staticClass:"help-block"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title_help"))+"\n ")]):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"4d557a91",null);e.a=i.exports},function(t,e,n){"use strict";var a={props:["error","value","index"],name:"TransactionDescription",mounted:function(){this.target=this.$refs.descr,this.descriptionAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/transaction-journals/all?search="},data:function(){return{descriptionAutoCompleteURI:null,name:null,description:null,target:null}},methods:{hasError:function(){return this.error.length>0},handleInput:function(t){this.$emit("input",this.$refs.descr.value)},handleEnter:function(t){13===t.keyCode&&t.preventDefault()},selectedItem:function(t){void 0!==this.name&&"string"!=typeof this.name&&(this.$refs.descr.value=this.name.description,this.$emit("input",this.$refs.descr.value))}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.description"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{ref:"descr",staticClass:"form-control",attrs:{type:"text",name:"description[]",title:t.$t("firefly.description"),autocomplete:"off",placeholder:t.$t("firefly.description")},domProps:{value:t.value},on:{keypress:t.handleEnter,submit:function(t){t.preventDefault()},input:t.handleInput}}),t._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":t.descriptionAutoCompleteURI,target:t.target,"item-key":"description"},on:{input:t.selectedItem},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"e835e06e",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"CustomTransactionFields",props:["value","error"],mounted:function(){this.getPreference()},data:function(){return{customInterestDate:null,fields:[{interest_date:!1,book_date:!1,process_date:!1,due_date:!1,payment_date:!1,invoice_date:!1,internal_reference:!1,notes:!1,attachments:!1}]}},computed:{dateComponent:function(){return"custom-date"},stringComponent:function(){return"custom-string"},attachmentComponent:function(){return"custom-attachments"},textareaComponent:function(){return"custom-textarea"}},methods:{handleInput:function(t){this.$emit("input",this.value)},getPreference:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"api/v1/preferences/transaction_journal_optional_fields";axios.get(e).then((function(e){t.fields=e.data.data.attributes.data})).catch((function(){return console.warn("Oh. Something went wrong loading custom transaction fields.")}))}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[this.fields.interest_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.interest_date,name:"interest_date[]",title:t.$t("form.interest_date")},model:{value:t.value.interest_date,callback:function(e){t.$set(t.value,"interest_date",e)},expression:"value.interest_date"}}):t._e(),t._v(" "),this.fields.book_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.book_date,name:"book_date[]",title:t.$t("form.book_date")},model:{value:t.value.book_date,callback:function(e){t.$set(t.value,"book_date",e)},expression:"value.book_date"}}):t._e(),t._v(" "),this.fields.process_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.process_date,name:"process_date[]",title:t.$t("form.process_date")},model:{value:t.value.process_date,callback:function(e){t.$set(t.value,"process_date",e)},expression:"value.process_date"}}):t._e(),t._v(" "),this.fields.due_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.due_date,name:"due_date[]",title:t.$t("form.due_date")},model:{value:t.value.due_date,callback:function(e){t.$set(t.value,"due_date",e)},expression:"value.due_date"}}):t._e(),t._v(" "),this.fields.payment_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.payment_date,name:"payment_date[]",title:t.$t("form.payment_date")},model:{value:t.value.payment_date,callback:function(e){t.$set(t.value,"payment_date",e)},expression:"value.payment_date"}}):t._e(),t._v(" "),this.fields.invoice_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.invoice_date,name:"invoice_date[]",title:t.$t("form.invoice_date")},model:{value:t.value.invoice_date,callback:function(e){t.$set(t.value,"invoice_date",e)},expression:"value.invoice_date"}}):t._e(),t._v(" "),this.fields.internal_reference?n(t.stringComponent,{tag:"component",attrs:{error:t.error.internal_reference,name:"internal_reference[]",title:t.$t("form.internal_reference")},model:{value:t.value.internal_reference,callback:function(e){t.$set(t.value,"internal_reference",e)},expression:"value.internal_reference"}}):t._e(),t._v(" "),this.fields.attachments?n(t.attachmentComponent,{tag:"component",attrs:{error:t.error.attachments,name:"attachments[]",title:t.$t("firefly.attachments")},model:{value:t.value.attachments,callback:function(e){t.$set(t.value,"attachments",e)},expression:"value.attachments"}}):t._e(),t._v(" "),this.fields.notes?n(t.textareaComponent,{tag:"component",attrs:{error:t.error.notes,name:"notes[]",title:t.$t("firefly.notes")},model:{value:t.value.notes,callback:function(e){t.$set(t.value,"notes",e)},expression:"value.notes"}}):t._e()],1)}),[],!1,null,"1608b7b0",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"PiggyBank",props:["value","transactionType","error","no_piggy_bank"],mounted:function(){this.loadPiggies()},data:function(){return{piggies:[]}},methods:{handleInput:function(t){this.$emit("input",this.$refs.piggy.value)},hasError:function(){return this.error.length>0},loadPiggies:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"json/piggy-banks";axios.get(e,{}).then((function(e){for(var n in t.piggies=[{name_with_amount:t.no_piggy_bank,id:0}],e.data)e.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&t.piggies.push(e.data[n])}))}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return void 0!==this.transactionType&&"Transfer"===this.transactionType?n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12"},[this.piggies.length>0?n("select",{ref:"piggy",staticClass:"form-control",attrs:{name:"piggy_bank[]"},on:{input:t.handleInput}},t._l(this.piggies,(function(e){return n("option",{attrs:{label:e.name_with_amount},domProps:{value:e.id}},[t._v(t._s(e.name_with_amount))])})),0):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)]):t._e()}),[],!1,null,"1797c09a",null);e.a=i.exports},function(t,e,n){"use strict";var a=n(3),r=n.n(a),i=n(29),o={name:"Tags",components:{VueTagsInput:n.n(i).a},props:["value","error"],data:function(){return{tag:"",autocompleteItems:[],debounce:null,tags:this.value}},watch:{tag:"initItems"},methods:{update:function(t){this.autocompleteItems=[],this.tags=t,this.$emit("input",this.tags)},hasError:function(){return this.error.length>0},initItems:function(){var t=this;if(!(this.tag.length<2)){var e=document.getElementsByTagName("base")[0].href+"json/tags?search=".concat(this.tag);clearTimeout(this.debounce),this.debounce=setTimeout((function(){r.a.get(e).then((function(e){t.autocompleteItems=e.data.map((function(t){return{text:t.tag}}))})).catch((function(){return console.warn("Oh. Something went wrong loading tags.")}))}),600)}}}},s=n(0),c=Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.tags"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("vue-tags-input",{attrs:{tags:t.tags,title:t.$t("firefly.tags"),classes:"form-input","autocomplete-items":t.autocompleteItems,"add-only-from-autocomplete":!1,placeholder:t.$t("firefly.tags")},on:{"tags-changed":t.update},model:{value:t.tag,callback:function(e){t.tag=e},expression:"tag"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"733b2aa4",null);e.a=c.exports},function(t,e,n){"use strict";var a={name:"Category",props:{value:String,inputName:String,error:Array,accountName:{type:String,default:""}},data:function(){return{categoryAutoCompleteURI:null,name:null,target:null}},ready:function(){this.name=this.accountName},mounted:function(){this.target=this.$refs.input,this.categoryAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/categories?search="},methods:{hasError:function(){return this.error.length>0},handleInput:function(t){"string"!=typeof this.$refs.input.value?this.$emit("input",this.$refs.input.value.name):this.$emit("input",this.$refs.input.value)},clearCategory:function(){this.name="",this.$refs.input.value="",this.$emit("input",this.$refs.input.value),this.$emit("clear:category")},selectedItem:function(t){void 0!==this.name&&(this.$emit("select:category",this.name),"string"!=typeof this.name?this.$emit("input",this.name.name):this.$emit("input",this.name))},handleEnter:function(t){13===t.keyCode&&t.preventDefault()}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.category"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{type:"text",placeholder:t.$t("firefly.category"),autocomplete:"off","data-role":"input",name:"category[]",title:t.$t("firefly.category")},domProps:{value:t.value},on:{input:t.handleInput,keypress:t.handleEnter,submit:function(t){t.preventDefault()}}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:t.clearCategory}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":t.categoryAutoCompleteURI,target:t.target,"item-key":"name"},on:{input:t.selectedItem},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"4799245c",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"Amount",props:["source","destination","transactionType","value","error"],data:function(){return{sourceAccount:this.source,destinationAccount:this.destination,type:this.transactionType}},methods:{handleInput:function(t){this.$emit("input",this.$refs.amount.value)},hasError:function(){return this.error.length>0},changeData:function(){var t=this.transactionType;t||this.source.name||this.destination.name?(null===t&&(t=""),""!==t||""===this.source.currency_name?""!==t||""===this.destination.currency_name?"withdrawal"!==t.toLowerCase()&&"reconciliation"!==t.toLowerCase()&&"transfer"!==t.toLowerCase()?"Deposit"===t&&$(this.$refs.cur).text(this.destination.currency_name):$(this.$refs.cur).text(this.source.currency_name):$(this.$refs.cur).text(this.destination.currency_name):$(this.$refs.cur).text(this.source.currency_name)):$(this.$refs.cur).text("")}},watch:{source:function(){this.changeData()},destination:function(){this.changeData()},transactionType:function(){this.changeData()}},mounted:function(){this.changeData()}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-8 col-sm-offset-4 text-sm"},[t._v("\n "+t._s(t.$t("firefly.amount"))+"\n ")]),t._v(" "),n("label",{ref:"cur",staticClass:"col-sm-4 control-label"}),t._v(" "),n("div",{staticClass:"col-sm-8"},[n("input",{ref:"amount",staticClass:"form-control",attrs:{type:"number",step:"any",name:"amount[]",title:t.$t("firefly.amount"),autocomplete:"off",placeholder:t.$t("firefly.amount")},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"0666cec0",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"ForeignAmountSelect",props:["source","destination","transactionType","value","error","no_currency","title"],mounted:function(){this.liability=!1,this.loadCurrencies()},data:function(){return{currencies:[],enabledCurrencies:[],exclude:null,liability:!1}},watch:{source:function(){this.changeData()},destination:function(){this.changeData()},transactionType:function(){this.changeData()}},methods:{hasError:function(){return this.error.length>0},handleInput:function(t){var e={amount:this.$refs.amount.value,currency_id:this.$refs.currency_select.value};this.$emit("input",e)},changeData:function(){this.enabledCurrencies=[];var t=this.destination.type?this.destination.type.toLowerCase():"invalid",e=this.source.type?this.source.type.toLowerCase():"invalid",n=this.transactionType?this.transactionType.toLowerCase():"invalid",a=["loan","debt","mortgage"],r=-1!==a.indexOf(e),i=-1!==a.indexOf(t);if("transfer"===n||i||r)for(var o in this.liability=!0,this.currencies)this.currencies.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294&&this.currencies[o].id===this.destination.currency_id&&this.enabledCurrencies.push(this.currencies[o]);else if("withdrawal"===n&&this.source&&!1===r)for(var s in this.currencies)this.currencies.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294&&this.source.currency_id!==this.currencies[s].id&&this.enabledCurrencies.push(this.currencies[s]);else if("deposit"===n&&this.destination)for(var c in this.currencies)this.currencies.hasOwnProperty(c)&&/^0$|^[1-9]\d*$/.test(c)&&c<=4294967294&&this.destination.currency_id!==this.currencies[c].id&&this.enabledCurrencies.push(this.currencies[c]);else for(var u in this.currencies)this.currencies.hasOwnProperty(u)&&/^0$|^[1-9]\d*$/.test(u)&&u<=4294967294&&this.enabledCurrencies.push(this.currencies[u])},loadCurrencies:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"json/currencies";axios.get(e,{}).then((function(e){for(var n in t.currencies=[{name:t.no_currency,id:0,enabled:!0}],e.data)e.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&e.data[n].enabled&&(t.currencies.push(e.data[n]),t.enabledCurrencies.push(e.data[n]))}))}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return this.enabledCurrencies.length>1?n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-8 col-sm-offset-4 text-sm"},[t._v("\n "+t._s(t.$t("form.foreign_amount"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-4"},[n("select",{ref:"currency_select",staticClass:"form-control",attrs:{name:"foreign_currency[]"},on:{input:t.handleInput}},t._l(this.enabledCurrencies,(function(e){return e.enabled?n("option",{attrs:{label:e.name},domProps:{value:e.id,selected:t.value.currency_id===e.id}},[t._v("\n "+t._s(e.name)+"\n ")]):t._e()})),0)]),t._v(" "),n("div",{staticClass:"col-sm-8"},[this.enabledCurrencies.length>0?n("input",{ref:"amount",staticClass:"form-control",attrs:{type:"number",step:"any",name:"foreign_amount[]",title:this.title,autocomplete:"off",placeholder:this.title},domProps:{value:t.value.amount},on:{input:t.handleInput}}):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)]):t._e()}),[],!1,null,"4317a62a",null);e.a=i.exports},function(t,e,n){"use strict";var a={props:{source:String,destination:String,type:String},methods:{changeValue:function(){if(this.source&&this.destination){var t="";window.accountToTypes[this.source]?window.accountToTypes[this.source][this.destination]?t=window.accountToTypes[this.source][this.destination]:console.warn("User selected an impossible destination."):console.warn("User selected an impossible source."),""!==t&&(this.transactionType=t,this.sentence=this.$t("firefly.you_create_"+t.toLowerCase()),this.$emit("act:limitSourceType",this.source),this.$emit("act:limitDestinationType",this.destination))}else this.sentence="",this.transactionType="";this.$emit("set:transactionType",this.transactionType)}},data:function(){return{transactionType:this.type,sentence:""}},watch:{source:function(){this.changeValue()},destination:function(){this.changeValue()}},name:"TransactionType"},r=n(0),i=Object(r.a)(a,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form-group"},[e("div",{staticClass:"col-sm-12"},[""!==this.sentence?e("label",{staticClass:"control-label text-info"},[this._v("\n "+this._s(this.sentence)+"\n ")]):this._e()])])}),[],!1,null,"0539dc1a",null);e.a=i.exports},function(t,e,n){"use strict";var a={props:{inputName:String,title:String,index:Number,transactionType:String,error:Array,accountName:{type:String,default:""},accountTypeFilters:{type:Array,default:function(){return[]}},defaultAccountTypeFilters:{type:Array,default:function(){return[]}}},data:function(){return{accountAutoCompleteURI:null,name:null,trType:this.transactionType,target:null,inputDisabled:!1,allowedTypes:this.accountTypeFilters,defaultAllowedTypes:this.defaultAccountTypeFilters}},ready:function(){this.name=this.accountName},mounted:function(){this.target=this.$refs.input;var t=this.allowedTypes.join(",");this.name=this.accountName,this.accountAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/accounts?types="+t+"&search=",this.triggerTransactionType()},watch:{transactionType:function(){this.triggerTransactionType()},accountTypeFilters:function(){var t=this.accountTypeFilters.join(",");0===this.accountTypeFilters.length&&(t=this.defaultAccountTypeFilters.join(",")),this.accountAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/accounts?types="+t+"&search="},name:function(){}},methods:{hasError:function(){return this.error.length>0},triggerTransactionType:function(){if(this.name,null!==this.transactionType&&""!==this.transactionType&&(this.inputDisabled=!1,""!==this.transactionType.toString()&&this.index>0)){if("transfer"===this.transactionType.toString().toLowerCase())return void(this.inputDisabled=!0);if("withdrawal"===this.transactionType.toString().toLowerCase()&&"source"===this.inputName.substr(0,6).toLowerCase())return void(this.inputDisabled=!0);"deposit"===this.transactionType.toString().toLowerCase()&&"destination"===this.inputName.substr(0,11).toLowerCase()&&(this.inputDisabled=!0)}},selectedItem:function(t){void 0!==this.name&&("string"==typeof this.name&&this.$emit("clear:value"),this.$emit("select:account",this.name))},clearSource:function(t){this.name="",this.$emit("clear:value")},handleEnter:function(t){13===t.keyCode&&t.preventDefault()}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{type:"text",placeholder:t.title,"data-index":t.index,autocomplete:"off","data-role":"input",disabled:t.inputDisabled,name:t.inputName,title:t.title},on:{keypress:t.handleEnter,submit:function(t){t.preventDefault()}}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:t.clearSource}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":t.accountAutoCompleteURI,target:t.target,"item-key":"name_with_balance"},on:{input:t.selectedItem},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"67fe0472",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"Budget",props:{transactionType:String,value:{type:[String,Number],default:0},error:Array,no_budget:String},mounted:function(){this.loadBudgets()},data:function(){return{selected:this.value,budgets:[]}},methods:{signalChange:function(t){this.$emit("input",this.$refs.budget.value)},handleInput:function(t){this.$emit("input",this.$refs.budget.value)},hasError:function(){return this.error.length>0},loadBudgets:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"json/budgets";axios.get(e,{}).then((function(e){for(var n in t.budgets=[{name:t.no_budget,id:0}],e.data)e.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&t.budgets.push(e.data[n])}))}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return void 0===this.transactionType||"withdrawal"===this.transactionType||"Withdrawal"===this.transactionType||""===this.transactionType||null===this.transactionType?n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.budget"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[this.budgets.length>0?n("select",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],ref:"budget",staticClass:"form-control",attrs:{name:"budget[]",title:t.$t("firefly.budget")},on:{input:t.handleInput,change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selected=e.target.multiple?n:n[0]},t.signalChange]}},t._l(this.budgets,(function(e){return n("option",{attrs:{label:e.name},domProps:{value:e.id}},[t._v(t._s(e.name)+"\n ")])})),0):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)]):t._e()}),[],!1,null,"05ce99a6",null);e.a=i.exports},,,,,function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Chyba!","flash_success":"Úspěšně dokončeno!","close":"Zavřít","split_transaction_title":"Popis rozúčtování","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Rozdělit","transaction_journal_information":"Informace o transakci","source_account":"Zdrojový účet","destination_account":"Cílový účet","add_another_split":"Přidat další rozúčtování","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Odeslat","amount":"Částka","date":"Datum","tags":"Štítky","no_budget":"(žádný rozpočet)","category":"Kategorie","attachments":"Přílohy","notes":"Poznámky","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"Pokud vytvoříte rozúčtování, je třeba, aby zde byl celkový popis pro všechna rozúčtování dané transakce.","none_in_select_list":"(žádné)","no_piggy_bank":"(no piggy bank)","description":"Popis","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Rozpočet","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Úrokové datum","book_date":"Book date","process_date":"Datum zpracování","due_date":"Datum splatnosti","foreign_amount":"Částka v cizí měně","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení","internal_reference":"Interní reference"},"config":{"html_language":"cs"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Überblick","flash_error":"Fehler!","flash_success":"Geschafft!","close":"Schließen","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Problem bei der Übermittlung. Bitte überprüfen Sie die nachfolgenden Fehler.","split":"Teilen","transaction_journal_information":"Transaktionsinformationen","source_account":"Quellkonto","destination_account":"Zielkonto","add_another_split":"Eine weitere Aufteilung hinzufügen","submission":"Übermittlung","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","reset_after":"Formular nach der Übermittlung zurücksetzen","submit":"Absenden","amount":"Betrag","date":"Datum","tags":"Schlagwörter","no_budget":"(kein Budget)","category":"Kategorie","attachments":"Anhänge","notes":"Notizen","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","store_as_new":"Als neue Buchung speichern statt zu aktualisieren.","split_title_help":"Wenn Sie eine Splittbuchung anlegen, muss es eine eindeutige Beschreibung für alle Aufteilungen der Buchhaltung geben.","none_in_select_list":"(Keine)","no_piggy_bank":"(kein Sparschwein)","description":"Beschreibung","split_transaction_title_help":"Wenn Sie eine Splittbuchung anlegen, muss es eine eindeutige Beschreibung für alle Aufteilungen der Buchung geben.","destination_account_reconciliation":"Sie können das Zielkonto einer Kontenausgleichsbuchung nicht bearbeiten.","source_account_reconciliation":"Sie können das Quellkonto einer Kontenausgleichsbuchung nicht bearbeiten.","budget":"Budget","you_create_withdrawal":"Sie haben eine Auszahlung erstellt.","you_create_transfer":"Sie haben eine Buchung erstellt.","you_create_deposit":"Sie haben eine Einzahlung erstellt."},"form":{"interest_date":"Zinstermin","book_date":"Buchungsdatum","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","foreign_amount":"Ausländischer Betrag","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum","internal_reference":"Interner Verweis"},"config":{"html_language":"de"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Error!","flash_success":"Success!","close":"Close","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Split","transaction_journal_information":"Transaction information","source_account":"Source account","destination_account":"Destination account","add_another_split":"Add another split","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Submit","amount":"Amount","date":"Date","tags":"Tags","no_budget":"(no budget)","category":"Category","attachments":"Attachments","notes":"Notes","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","none_in_select_list":"(none)","no_piggy_bank":"(no piggy bank)","description":"Description","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Budget","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","foreign_amount":"Foreign amount","payment_date":"Payment date","invoice_date":"Invoice date","internal_reference":"Internal reference"},"config":{"html_language":"en"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"¿Qué está pasando?","flash_error":"¡Error!","flash_success":"¡Operación correcta!","close":"Cerrar","split_transaction_title":"Descripción de la transacción dividida","errors_submission":"Hubo algo malo con su envío. Por favor, revise los errores de abajo.","split":"Separar","transaction_journal_information":"Información de transacción","source_account":"Cuenta origen","destination_account":"Cuenta destino","add_another_split":"Añadir otra división","submission":"Envío","create_another":"Después de guardar, vuelve aquí para crear otro.","reset_after":"Restablecer formulario después del envío","submit":"Enviar","amount":"Cantidad","date":"Fecha","tags":"Etiquetas","no_budget":"(sin presupuesto)","category":"Categoria","attachments":"Archivos adjuntos","notes":"Notas","update_transaction":"Actualizar transacción","after_update_create_another":"Después de actualizar, vuelve aquí para continuar editando.","store_as_new":"Almacenar como una nueva transacción en lugar de actualizar.","split_title_help":"Si crea una transacción dividida, debe haber una descripción global para todos los fragmentos de la transacción.","none_in_select_list":"(ninguno)","no_piggy_bank":"(sin alcancía)","description":"Descripción","split_transaction_title_help":"Si crea una transacción dividida, debe existir una descripción global para todas las divisiones de la transacción.","destination_account_reconciliation":"No puede editar la cuenta de destino de una transacción de reconciliación.","source_account_reconciliation":"No puede editar la cuenta de origen de una transacción de reconciliación.","budget":"Presupuesto","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Fecha de interés","book_date":"Fecha de registro","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","foreign_amount":"Cantidad extranjera","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura","internal_reference":"Referencia interna"},"config":{"html_language":"es"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Que se passe-t-il ?","flash_error":"Erreur !","flash_success":"Terminé avec succès !","close":"Fermer","split_transaction_title":"Description de l\'opération ventilée","errors_submission":"Certaines informations ne sont pas correctes dans votre formulaire. Veuillez vérifier les erreurs ci-dessous.","split":"Ventiler","transaction_journal_information":"Informations sur les transactions","source_account":"Compte d\'origine","destination_account":"Compte de destination","add_another_split":"Ajouter une autre fraction","submission":"Soumission","create_another":"Après enregistrement, revenir ici pour en créer un nouveau.","reset_after":"Réinitialiser le formulaire après soumission","submit":"Soumettre","amount":"Montant","date":"Date","tags":"Tags","no_budget":"(pas de budget)","category":"Catégorie","attachments":"Pièces jointes","notes":"Notes","update_transaction":"Mettre à jour la transaction","after_update_create_another":"Après la mise à jour, revenir ici pour continuer l\'édition.","store_as_new":"Enregistrer comme une nouvelle transaction au lieu de mettre à jour.","split_title_help":"Si vous créez une opération ventilée, il doit y avoir une description globale pour chaque fractions de l\'opération.","none_in_select_list":"(aucun)","no_piggy_bank":"(aucune tirelire)","description":"Description","split_transaction_title_help":"Si vous créez une opération ventilée, il doit y avoir une description globale pour chaque fraction de l\'opération.","destination_account_reconciliation":"Vous ne pouvez pas modifier le compte de destination d\'une opération de rapprochement.","source_account_reconciliation":"Vous ne pouvez pas modifier le compte source d\'une opération de rapprochement.","budget":"Budget","you_create_withdrawal":"Vous saisissez une dépense.","you_create_transfer":"Vous saisissez un transfert.","you_create_deposit":"Vous saisissez un dépôt."},"form":{"interest_date":"Date de l’intérêt","book_date":"Date de réservation","process_date":"Date de traitement","due_date":"Échéance","foreign_amount":"Montant en devise étrangère","payment_date":"Date de paiement","invoice_date":"Date de facturation","internal_reference":"Référence interne"},"config":{"html_language":"fr"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Hiba!","flash_success":"Siker!","close":"Bezárás","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Felosztás","transaction_journal_information":"Tranzakciós információk","source_account":"Forrás számla","destination_account":"Célszámla","add_another_split":"Másik felosztás hozzáadása","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Beküldés","amount":"Összeg","date":"Dátum","tags":"Címkék","no_budget":"(nincs költségkeret)","category":"Kategória","attachments":"Mellékletek","notes":"Megjegyzések","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"Felosztott tranzakció létrehozásakor meg kell adni egy globális leírást a tranzakció összes felosztása részére.","none_in_select_list":"(nincs)","no_piggy_bank":"(no piggy bank)","description":"Leírás","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Költségkeret","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Kamatfizetési időpont","book_date":"Könyvelés dátuma","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","foreign_amount":"Foreign amount","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma","internal_reference":"Belső hivatkozás"},"config":{"html_language":"hu"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Kesalahan!","flash_success":"Keberhasilan!","close":"Dekat","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Pisah","transaction_journal_information":"Informasi transaksi","source_account":"Source account","destination_account":"Destination account","add_another_split":"Tambahkan perpecahan lagi","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Menyerahkan","amount":"Jumlah","date":"Tanggal","tags":"Tag","no_budget":"(no budget)","category":"Kategori","attachments":"Lampiran","notes":"Notes","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","none_in_select_list":"(none)","no_piggy_bank":"(no piggy bank)","description":"Deskripsi","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Anggaran","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Tanggal bunga","book_date":"Tanggal buku","process_date":"Tanggal pemrosesan","due_date":"Batas tanggal terakhir","foreign_amount":"Foreign amount","payment_date":"Tanggal pembayaran","invoice_date":"Tanggal faktur","internal_reference":"Referensi internal"},"config":{"html_language":"id"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"La tua situazione finanziaria","flash_error":"Errore!","flash_success":"Successo!","close":"Chiudi","split_transaction_title":"Descrizione della transazione suddivisa","errors_submission":"Errore durante l\'invio. Controlla gli errori segnalati qui sotto.","split":"Dividi","transaction_journal_information":"Informazioni transazione","source_account":"Conto di origine","destination_account":"Conto destinazione","add_another_split":"Aggiungi un\'altra divisione","submission":"Invio","create_another":"Dopo il salvataggio, torna qui per crearne un\'altra.","reset_after":"Resetta il modulo dopo l\'invio","submit":"Invia","amount":"Conto","date":"Data","tags":"Etichette","no_budget":"(nessun budget)","category":"Categoria","attachments":"Allegati","notes":"Note","update_transaction":"Aggiorna transazione","after_update_create_another":"Dopo l\'aggiornamento, torna qui per continuare la modifica.","store_as_new":"Salva come nuova transazione invece di aggiornarla.","split_title_help":"Se crei una transazione suddivisa è necessario che ci sia una descrizione globale per tutte le suddivisioni della transazione.","none_in_select_list":"(nessuna)","no_piggy_bank":"(nessun salvadanaio)","description":"Descrizione","split_transaction_title_help":"Se crei una transazione suddivisa, è necessario che ci sia una descrizione globale per tutte le suddivisioni della transazione.","destination_account_reconciliation":"Non è possibile modificare il conto di destinazione di una transazione di riconciliazione.","source_account_reconciliation":"Non puoi modificare il conto di origine di una transazione di riconciliazione.","budget":"Budget","you_create_withdrawal":"Stai creando un prelievo.","you_create_transfer":"Stai creando un trasferimento.","you_create_deposit":"Stai creando un deposito."},"form":{"interest_date":"Data interesse","book_date":"Data contabile","process_date":"Data elaborazione","due_date":"Data scadenza","foreign_amount":"Importo estero","payment_date":"Data pagamento","invoice_date":"Data fatturazione","internal_reference":"Riferimento interno"},"config":{"html_language":"it"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Hoe staat het er voor?","flash_error":"Fout!","flash_success":"Gelukt!","close":"Sluiten","split_transaction_title":"Beschrijving van de gesplitste transactie","errors_submission":"Er ging iets mis. Check de errors.","split":"Splitsen","transaction_journal_information":"Transactieinformatie","source_account":"Bronrekening","destination_account":"Doelrekening","add_another_split":"Voeg een split toe","submission":"Indienen","create_another":"Terug naar deze pagina voor een nieuwe transactie.","reset_after":"Reset formulier na opslaan","submit":"Invoeren","amount":"Bedrag","date":"Datum","tags":"Tags","no_budget":"(geen budget)","category":"Categorie","attachments":"Bijlagen","notes":"Notities","update_transaction":"Update transactie","after_update_create_another":"Na het opslaan terug om door te gaan met wijzigen.","store_as_new":"Opslaan als nieuwe transactie ipv de huidige bij te werken.","split_title_help":"Als je een gesplitste transactie maakt, moet er een algemene beschrijving zijn voor alle splitsingen van de transactie.","none_in_select_list":"(geen)","no_piggy_bank":"(geen spaarpotje)","description":"Omschrijving","split_transaction_title_help":"Als je een gesplitste transactie maakt, moet er een algemene beschrijving zijn voor alle splitsingen van de transactie.","destination_account_reconciliation":"Je kan de doelrekening van een afstemming niet wijzigen.","source_account_reconciliation":"Je kan de bronrekening van een afstemming niet wijzigen.","budget":"Budget","you_create_withdrawal":"Je maakt een uitgave.","you_create_transfer":"Je maakt een overschrijving.","you_create_deposit":"Je maakt inkomsten."},"form":{"interest_date":"Rentedatum","book_date":"Boekdatum","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","foreign_amount":"Bedrag in vreemde valuta","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum","internal_reference":"Interne verwijzing"},"config":{"html_language":"nl"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Hvordan går det?","flash_error":"Feil!","flash_success":"Suksess!","close":"Lukk","split_transaction_title":"Description of the split transaction","split":"Del opp","transaction_journal_information":"Transaksjonsinformasjon","source_account":"Source account","destination_account":"Destination account","add_another_split":"Legg til en oppdeling til","submit":"Send inn","amount":"Beløp","no_budget":"(ingen budsjett)","category":"Kategori","attachments":"Vedlegg","notes":"Notater"},"form":{"interest_date":"Rentedato","book_date":"Bokføringsdato","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato","internal_reference":"Intern referanse"},"config":{"html_language":"no"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Co jest grane?","flash_error":"Błąd!","flash_success":"Sukces!","close":"Zamknij","split_transaction_title":"Opis podzielonej transakcji","errors_submission":"Coś poszło nie tak w czasie zapisu. Proszę sprawdź błędy poniżej.","split":"Podziel","transaction_journal_information":"Informacje o transakcji","source_account":"Konto źródłowe","destination_account":"Konto docelowe","add_another_split":"Dodaj kolejny podział","submission":"Zapisz","create_another":"Po zapisaniu wróć tutaj, aby utworzyć kolejny.","reset_after":"Wyczyść formularz po zapisaniu","submit":"Prześlij","amount":"Kwota","date":"Data","tags":"Tagi","no_budget":"(brak budżetu)","category":"Kategoria","attachments":"Załączniki","notes":"Notatki","update_transaction":"Zaktualizuj transakcję","after_update_create_another":"Po aktualizacji wróć tutaj, aby kontynuować edycję.","store_as_new":"Zapisz jako nową zamiast aktualizować.","split_title_help":"Podzielone transakcje muszą posiadać globalny opis.","none_in_select_list":"(żadne)","no_piggy_bank":"(brak skarbonki)","description":"Opis","split_transaction_title_help":"Jeśli tworzysz podzieloną transakcję, musi ona posiadać globalny opis dla wszystkich podziałów w transakcji.","destination_account_reconciliation":"Nie możesz edytować konta docelowego transakcji uzgadniania.","source_account_reconciliation":"Nie możesz edytować konta źródłowego transakcji uzgadniania.","budget":"Budżet","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Data odsetek","book_date":"Data księgowania","process_date":"Data przetworzenia","due_date":"Termin realizacji","foreign_amount":"Kwota zagraniczna","payment_date":"Data płatności","invoice_date":"Data faktury","internal_reference":"Wewnętrzny numer"},"config":{"html_language":"pl"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Mitä kuuluu?","flash_error":"Virhe!","flash_success":"Valmista tuli!","close":"Sulje","split_transaction_title":"Jaetun tapahtuman kuvaus","errors_submission":"Lomakkeen tiedoissa oli puutteita - alta löydät listan puutteista.","split":"Jaa","transaction_journal_information":"Tapahtumatiedot","source_account":"Lähdetili","destination_account":"Kohdetili","add_another_split":"Lisää uusi jako","submission":"Vahvistus","create_another":"Tallennuksen jälkeen, palaa takaisin luomaan uusi tapahtuma.","reset_after":"Tyhjennä lomake lähetyksen jälkeen","submit":"Vahvista","amount":"Summa","date":"Päivämäärä","tags":"Tägit","no_budget":"(ei budjettia)","category":"Kategoria","attachments":"Liitteet","notes":"Muistiinpanot","update_transaction":"Päivitä tapahtuma","after_update_create_another":"Päivityksen jälkeen, palaa takaisin jatkamaan muokkausta.","store_as_new":"Tallenna uutena tapahtumana päivityksen sijaan.","split_title_help":"Jos luot jaetun tapahtuman, kokonaisuudelle tarvitaan nimi.","none_in_select_list":"(ei mitään)","no_piggy_bank":"(ei säästöpossu)","description":"Kuvaus","split_transaction_title_help":"Jos luot jaetun tapahtuman, kokonaisuudelle tarvitaan nimi.","destination_account_reconciliation":"Et voi muokata täsmäytystapahtuman kohdetiliä.","source_account_reconciliation":"Et voi muokata täsmäytystapahtuman lähdetiliä.","budget":"Budjetti","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Korkopäivä","book_date":"Kirjauspäivä","process_date":"Käsittelypäivä","due_date":"Eräpäivä","foreign_amount":"Ulkomaan summa","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä","internal_reference":"Sisäinen viite"},"config":{"html_language":"fi"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Erro!","flash_success":"Sucesso!","close":"Fechar","split_transaction_title":"Descrição da transação dividida","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Dividir","transaction_journal_information":"Informação da transação","source_account":"Conta origem","destination_account":"Conta destino","add_another_split":"Adicionar outra divisão","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Enviar","amount":"Valor","date":"Data","tags":"Tags","no_budget":"(sem orçamento)","category":"Categoria","attachments":"Anexos","notes":"Notas","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"Se você criar uma transação dividida, é necessário haver uma descrição global para todas as partes da transação.","none_in_select_list":"(nenhum)","no_piggy_bank":"(nenhum cofrinho)","description":"Descrição","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Orçamento","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Data de interesse","book_date":"Data reserva","process_date":"Data de processamento","due_date":"Data de vencimento","foreign_amount":"Montante em moeda estrangeira","payment_date":"Data de pagamento","invoice_date":"Data da Fatura","internal_reference":"Referência interna"},"config":{"html_language":"pt-br"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Ce se redă?","flash_error":"Eroare!","flash_success":"Succes!","close":"Închide","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"A fost ceva în neregulă cu transmiterea dvs. Vă rugăm să consultați erorile de mai jos.","split":"Împarte","transaction_journal_information":"Informații despre tranzacții","source_account":"Contul sursă","destination_account":"Contul de destinație","add_another_split":"Adăugați o divizare","submission":"Transmitere","create_another":"După stocare, reveniți aici pentru a crea alta.","reset_after":"Resetați formularul după trimitere","submit":"Trimite","amount":"Sumă","date":"Dată","tags":"Etichete","no_budget":"(nici un buget)","category":"Categorie","attachments":"Atașamente","notes":"Notițe","update_transaction":"Actualizați tranzacția","after_update_create_another":"După actualizare, reveniți aici pentru a continua editarea.","store_as_new":"Stocați ca o tranzacție nouă în loc să actualizați.","split_title_help":"Dacă creați o tranzacție divizată, trebuie să existe o descriere globală pentru toate diviziunile tranzacției.","none_in_select_list":"(nici unul)","no_piggy_bank":"(nicio pușculiță)","description":"Descriere","split_transaction_title_help":"Dacă creați o tranzacție divizată, trebuie să existe o descriere globală pentru toate diviziunile tranzacției.","destination_account_reconciliation":"Nu puteți edita contul de destinație al unei tranzacții de reconciliere.","source_account_reconciliation":"Nu puteți edita contul sursă al unei tranzacții de reconciliere.","budget":"Buget","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Data de interes","book_date":"Rezervă dată","process_date":"Data procesării","due_date":"Data scadentă","foreign_amount":"Sumă străină","payment_date":"Data de plată","invoice_date":"Data facturii","internal_reference":"Referință internă"},"config":{"html_language":"ro"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Что происходит с моими финансами?","flash_error":"Ошибка!","flash_success":"Успешно!","close":"Закрыть","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке произошла ошибка. Пожалуйста, проверьте ошибки ниже.","split":"Разделить","transaction_journal_information":"Информация о транзакции","source_account":"Счёт-источник","destination_account":"Счёт назначения","add_another_split":"Добавить новую часть","submission":"Отправить","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","reset_after":"Сбросить форму после отправки","submit":"Подтвердить","amount":"Сумма","date":"Дата","tags":"Метки","no_budget":"(вне бюджета)","category":"Категория","attachments":"Вложения","notes":"Заметки","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","store_as_new":"Сохранить как новую транзакцию вместо обновления.","split_title_help":"Если вы создаёте разделённую транзакцию, то должны указать общее описание дле всех её составляющих.","none_in_select_list":"(нет)","no_piggy_bank":"(нет копилки)","description":"Описание","split_transaction_title_help":"Если вы создаёте разделённую транзакцию, то должны указать общее описание для всех её составляющих.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"Вы не можете редактировать исходный аккаунт сверки.","budget":"Бюджет","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Дата выплаты","book_date":"Дата бронирования","process_date":"Дата обработки","due_date":"Срок","foreign_amount":"Сумма в иностранной валюте","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта","internal_reference":"Внутренняя ссылка"},"config":{"html_language":"ru"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"吃饱没?","flash_error":"错误!","flash_success":"成功!","close":"关闭","split_transaction_title":"拆分交易的描述","split":"分割","transaction_journal_information":"交易资讯","source_account":"来源帐户","destination_account":"目标帐户","add_another_split":"增加拆分","submit":"送出","amount":"金额","no_budget":"(无预算)","category":"分类","attachments":"附加档案","notes":"注释"},"form":{"interest_date":"利率日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期","internal_reference":"内部参考"},"config":{"html_language":"zh"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"錯誤!","flash_success":"成功!","close":"關閉","split_transaction_title":"拆分交易的描述","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"分割","transaction_journal_information":"交易資訊","source_account":"Source account","destination_account":"Destination account","add_another_split":"增加拆分","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"送出","amount":"金額","date":"日期","tags":"標籤","no_budget":"(無預算)","category":"分類","attachments":"附加檔案","notes":"備註","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"若您建立一筆拆分交易,須有一個有關交易所有拆分的整體描述。","none_in_select_list":"(空)","no_piggy_bank":"(no piggy bank)","description":"描述","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"預算","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"利率日期","book_date":"登記日期","process_date":"處理日期","due_date":"到期日","foreign_amount":"外幣金額","payment_date":"付款日期","invoice_date":"發票日期","internal_reference":"內部參考"},"config":{"html_language":"zh-tw"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"今天理财了吗?","flash_error":"错误!","flash_success":"成功!","close":"关闭","split_transaction_title":"拆分交易的描述","errors_submission":"您的提交有误,请查看下面输出的错误信息。","split":"分割","transaction_journal_information":"交易资讯","source_account":"来源帐户","destination_account":"目标帐户","add_another_split":"增加拆分","submission":"提交","create_another":"保存后,返回此页面创建另一笔记录。","reset_after":"提交后重置表单","submit":"提交","amount":"金额","date":"日期","tags":"标签","no_budget":"(无预算)","category":"分类","attachments":"附加档案","notes":"注释","update_transaction":"更新交易","after_update_create_another":"更新后,返回此页面继续编辑。","store_as_new":"保存为新交易而不是更新此交易。","split_title_help":"如果您创建一个拆分交易,必须有一个全局的交易描述。","none_in_select_list":"(空)","no_piggy_bank":"(无存钱罐)","description":"描述","split_transaction_title_help":"如果您创建了一个分割交易,交易的所有分割项都必须有全局描述。","destination_account_reconciliation":"您不能编辑对账交易的目标账户","source_account_reconciliation":"您不能编辑对账交易的源账户","budget":"预算","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"利率日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","foreign_amount":"外币金额","payment_date":"付款日期","invoice_date":"发票日期","internal_reference":"内部参考"},"config":{"html_language":"zh-cn"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Vad spelas?","flash_error":"Fel!","flash_success":"Slutförd!","close":"Stäng","split_transaction_title":"Description of the split transaction","errors_submission":"Något fel uppstod med inskickningen. Vänligen kontrollera felen nedan.","split":"Dela","transaction_journal_information":"Transaktionsinformation","source_account":"Från konto","destination_account":"Till konto","add_another_split":"Lägga till en annan delning","submission":"Inskickning","create_another":"Efter sparat, återkom hit för att skapa ytterligare en.","reset_after":"Återställ formulär efter inskickat","submit":"Skicka","amount":"Belopp","date":"Datum","tags":"Etiketter","no_budget":"(ingen budget)","category":"Kategori","attachments":"Bilagor","notes":"Noteringar","update_transaction":"Uppdatera transaktion","after_update_create_another":"Efter uppdaterat, återkom hit för att fortsätta redigera.","store_as_new":"Spara en ny transaktion istället för att uppdatera.","split_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","none_in_select_list":"(Ingen)","no_piggy_bank":"(ingen spargris)","description":"Beskrivning","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"Du kan inte redigera destinationskontot för en avstämningstransaktion.","source_account_reconciliation":"Du kan inte redigera källkontot för en avstämningstransaktion.","budget":"Budget","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Räntedatum","book_date":"Bokföringsdatum","process_date":"Behandlingsdatum","due_date":"Förfallodatum","foreign_amount":"Utländskt belopp","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum","internal_reference":"Intern referens"},"config":{"html_language":"sv"}}')},,,,,,,,,,,,function(t,e,n){t.exports=n(91)},,,,,,,,,,,function(t,e,n){"use strict";n.r(e);var a=n(30),r={name:"EditTransaction",props:{groupId:Number},mounted:function(){this.getGroup()},ready:function(){},methods:{positiveAmount:function(t){return t<0?-1*t:t},roundNumber:function(t,e){var n=Math.pow(10,e);return Math.round(t*n)/n},selectedSourceAccount:function(t,e){if("string"==typeof e)return this.transactions[t].source_account.id=null,void(this.transactions[t].source_account.name=e);this.transactions[t].source_account={id:e.id,name:e.name,type:e.type,currency_id:e.currency_id,currency_name:e.currency_name,currency_code:e.currency_code,currency_decimal_places:e.currency_decimal_places,allowed_types:this.transactions[t].source_account.allowed_types}},selectedDestinationAccount:function(t,e){if("string"==typeof e)return this.transactions[t].destination_account.id=null,void(this.transactions[t].destination_account.name=e);this.transactions[t].destination_account={id:e.id,name:e.name,type:e.type,currency_id:e.currency_id,currency_name:e.currency_name,currency_code:e.currency_code,currency_decimal_places:e.currency_decimal_places,allowed_types:this.transactions[t].destination_account.allowed_types}},clearSource:function(t){this.transactions[t].source_account={id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:this.transactions[t].source_account.allowed_types},this.transactions[t].destination_account&&this.selectedDestinationAccount(t,this.transactions[t].destination_account)},setTransactionType:function(t){null!==t&&(this.transactionType=t)},deleteTransaction:function(t,e){for(var n in e.preventDefault(),this.transactions)this.transactions.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n);for(var a in this.transactions.splice(t,1),this.transactions)this.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)},clearDestination:function(t){this.transactions[t].destination_account={id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:this.transactions[t].destination_account.allowed_types},this.transactions[t].source_account&&this.selectedSourceAccount(t,this.transactions[t].source_account)},getGroup:function(){var t=this,e=window.location.href.split("/"),n="./api/v1/transactions/"+e[e.length-1]+"?_token="+document.head.querySelector('meta[name="csrf-token"]').content;axios.get(n).then((function(e){t.processIncomingGroup(e.data.data)})).catch((function(t){}))},processIncomingGroup:function(t){this.group_title=t.attributes.group_title;var e=t.attributes.transactions.reverse();for(var n in e)if(e.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294){var a=e[n];this.processIncomingGroupRow(a)}},processIncomingGroupRow:function(t){this.setTransactionType(t.type);var e=[];for(var n in t.tags)t.tags.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&e.push({text:t.tags[n],tiClasses:[]});this.transactions.push({transaction_journal_id:t.transaction_journal_id,description:t.description,date:t.date.substr(0,10),amount:this.roundNumber(this.positiveAmount(t.amount),t.currency_decimal_places),category:t.category_name,errors:{source_account:[],destination_account:[],description:[],amount:[],date:[],budget_id:[],foreign_amount:[],category:[],piggy_bank:[],tags:[],custom_errors:{interest_date:[],book_date:[],process_date:[],due_date:[],payment_date:[],invoice_date:[],internal_reference:[],notes:[],attachments:[]}},budget:t.budget_id,tags:e,custom_fields:{interest_date:t.interest_date,book_date:t.book_date,process_date:t.process_date,due_date:t.due_date,payment_date:t.payment_date,invoice_date:t.invoice_date,internal_reference:t.internal_reference,notes:t.notes},foreign_amount:{amount:this.roundNumber(this.positiveAmount(t.foreign_amount),t.foreign_currency_decimal_places),currency_id:t.foreign_currency_id},source_account:{id:t.source_id,name:t.source_name,type:t.source_type,currency_id:t.currency_id,currency_name:t.currency_name,currency_code:t.currency_code,currency_decimal_places:t.currency_decimal_places,allowed_types:[t.source_type]},destination_account:{id:t.destination_id,name:t.destination_name,type:t.destination_type,currency_id:t.currency_id,currency_name:t.currency_name,currency_code:t.currency_code,currency_decimal_places:t.currency_decimal_places,allowed_types:[t.destination_type]}})},convertData:function(){var t,e,n,a={transactions:[]};for(var r in this.transactions.length>1&&(a.group_title=this.group_title),t=this.transactionType?this.transactionType.toLowerCase():"invalid",e=this.transactions[0].source_account.type,n=this.transactions[0].destination_account.type,"invalid"===t&&["Asset account","Loan","Debt","Mortgage"].includes(e)&&(t="withdrawal"),"invalid"===t&&["Asset account","Loan","Debt","Mortgage"].includes(n)&&(t="deposit"),this.transactions)this.transactions.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294&&a.transactions.push(this.convertDataRow(this.transactions[r],r,t));return a},convertDataRow:function(t,e,n){var a,r,i,o,s,c,u=[],l=null,A=null;for(var d in r=t.source_account.id,i=t.source_account.name,o=t.destination_account.id,s=t.destination_account.name,c=t.date,e>0&&(c=this.transactions[0].date),"withdrawal"===n&&""===s&&(o=window.cashAccountId),"deposit"===n&&""===i&&(r=window.cashAccountId),e>0&&("withdrawal"===n.toLowerCase()||"transfer"===n.toLowerCase())&&(r=this.transactions[0].source_account.id,i=this.transactions[0].source_account.name),e>0&&("deposit"===n.toLowerCase()||"transfer"===n.toLowerCase())&&(o=this.transactions[0].destination_account.id,s=this.transactions[0].destination_account.name),u=[],l=null,A=null,t.tags)t.tags.hasOwnProperty(d)&&/^0$|^[1-9]\d*$/.test(d)&&d<=4294967294&&u.push(t.tags[d].text);return""!==t.foreign_amount.amount&&0!==parseFloat(t.foreign_amount.amount)&&(l=t.foreign_amount.amount,A=t.foreign_amount.currency_id),A===t.currency_id&&(l=null,A=null),0===o&&(o=null),0===r&&(r=null),a={transaction_journal_id:t.transaction_journal_id,type:n,date:c,amount:t.amount,currency_id:t.currency_id,description:t.description,source_id:r,source_name:i,destination_id:o,destination_name:s,category_name:t.category,interest_date:t.custom_fields.interest_date,book_date:t.custom_fields.book_date,process_date:t.custom_fields.process_date,due_date:t.custom_fields.due_date,payment_date:t.custom_fields.payment_date,invoice_date:t.custom_fields.invoice_date,internal_reference:t.custom_fields.internal_reference,notes:t.custom_fields.notes,tags:u},null!==l&&(a.foreign_amount=l,a.foreign_currency_id=A),a.budget_id=parseInt(t.budget),parseInt(t.piggy_bank)>0&&(a.piggy_bank_id=parseInt(t.piggy_bank)),a},submit:function(t){var e=this,n=window.location.href.split("/"),a="./api/v1/transactions/"+n[n.length-1]+"?_token="+document.head.querySelector('meta[name="csrf-token"]').content,r="PUT";this.storeAsNew&&(a="./api/v1/transactions?_token="+document.head.querySelector('meta[name="csrf-token"]').content,r="POST");var i=this.convertData(),o=$("#submitButton");o.prop("disabled",!0),axios({method:r,url:a,data:i}).then((function(t){0===e.collectAttachmentData(t)&&e.redirectUser(t.data.data.id)})).catch((function(t){e.parseErrors(t.response.data)})),t&&t.preventDefault(),o.removeAttr("disabled")},redirectUser:function(t){this.returnAfter?(this.setDefaultErrors(),this.storeAsNew?(this.success_message='Transaction #'+t+" has been created.",this.error_message=""):(this.success_message='The transaction has been updated.',this.error_message="")):this.storeAsNew?window.location.href=window.previousUri+"?transaction_group_id="+t+"&message=created":window.location.href=window.previousUri+"?transaction_group_id="+t+"&message=updated"},collectAttachmentData:function(t){var e=this,n=t.data.data.id,a=[],r=[],i=$('input[name="attachments[]"]');for(var o in i)if(i.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294)for(var s in i[o].files)if(i[o].files.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294){var c=t.data.data.attributes.transactions.reverse();a.push({journal:c[o].transaction_journal_id,file:i[o].files[s]})}var u=a.length,l=function(t){var i,o,s;a.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&(i=a[t],o=e,(s=new FileReader).onloadend=function(e){e.target.readyState===FileReader.DONE&&(r.push({name:a[t].file.name,journal:a[t].journal,content:new Blob([e.target.result])}),r.length===u&&o.uploadFiles(r,n))},s.readAsArrayBuffer(i.file))};for(var A in a)l(A);return u},uploadFiles:function(t,e){var n=this,a=t.length,r=0,i=function(i){if(t.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294){var o={filename:t[i].name,attachable_type:"TransactionJournal",attachable_id:t[i].journal};axios.post("./api/v1/attachments",o).then((function(o){var s="./api/v1/attachments/"+o.data.data.id+"/upload";axios.post(s,t[i].content).then((function(t){return++r===a&&n.redirectUser(e,null),!0})).catch((function(t){return console.error("Could not upload file."),console.error(t),r++,n.error_message="Could not upload attachment: "+t,r===a&&n.redirectUser(e,null),!1}))}))}};for(var o in t)i(o)},addTransaction:function(t){this.transactions.push({transaction_journal_id:0,description:"",date:"",amount:"",category:"",piggy_bank:0,errors:{source_account:[],destination_account:[],description:[],amount:[],date:[],budget_id:[],foreign_amount:[],category:[],piggy_bank:[],tags:[],custom_errors:{interest_date:[],book_date:[],process_date:[],due_date:[],payment_date:[],invoice_date:[],internal_reference:[],notes:[],attachments:[]}},budget:0,tags:[],custom_fields:{interest_date:"",book_date:"",process_date:"",due_date:"",payment_date:"",invoice_date:"",internal_reference:"",notes:"",attachments:[]},foreign_amount:{amount:"",currency_id:0},source_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:[]},destination_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:[]}}),t&&t.preventDefault()},parseErrors:function(t){var e,n;for(var a in this.setDefaultErrors(),this.error_message="",t.message.length>0?this.error_message=this.$t("firefly.errors_submission"):this.error_message="",t.errors)if(t.errors.hasOwnProperty(a)&&("group_title"===a&&(this.group_title_errors=t.errors[a]),"group_title"!==a)){switch(e=parseInt(a.split(".")[1]),n=a.split(".")[2]){case"amount":case"date":case"budget_id":case"description":case"tags":this.transactions[e].errors[n]=t.errors[a];break;case"source_name":case"source_id":this.transactions[e].errors.source_account=this.transactions[e].errors.source_account.concat(t.errors[a]);break;case"destination_name":case"destination_id":this.transactions[e].errors.destination_account=this.transactions[e].errors.destination_account.concat(t.errors[a]);break;case"foreign_amount":case"foreign_currency_id":this.transactions[e].errors.foreign_amount=this.transactions[e].errors.foreign_amount.concat(t.errors[a])}this.transactions[e].errors.source_account=Array.from(new Set(this.transactions[e].errors.source_account)),this.transactions[e].errors.destination_account=Array.from(new Set(this.transactions[e].errors.destination_account))}},setDefaultErrors:function(){for(var t in this.transactions)this.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&(this.transactions[t].errors={source_account:[],destination_account:[],description:[],amount:[],date:[],budget_id:[],foreign_amount:[],category:[],piggy_bank:[],tags:[],custom_errors:{interest_date:[],book_date:[],process_date:[],due_date:[],payment_date:[],invoice_date:[],internal_reference:[],notes:[],attachments:[]}})}},data:function(){return{group:this.groupId,error_message:"",success_message:"",transactions:[],group_title:"",returnAfter:!1,storeAsNew:!1,transactionType:null,group_title_errors:[],resetButtonDisabled:!0}}},i=n(0),o=Object(i.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form",{staticClass:"form-horizontal",attrs:{method:"POST",action:"#","accept-charset":"UTF-8",id:"store",enctype:"multipart/form-data"}},[n("input",{attrs:{name:"_token",type:"hidden",value:"xxx"}}),t._v(" "),""!==t.error_message?n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-12"},[n("div",{staticClass:"alert alert-danger alert-dismissible",attrs:{role:"alert"}},[n("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"alert","aria-label":t.$t("firefly.close")}},[n("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])]),t._v(" "),n("strong",[t._v(t._s(t.$t("firefly.flash_error")))]),t._v(" "+t._s(t.error_message)+"\n ")])])]):t._e(),t._v(" "),""!==t.success_message?n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-12"},[n("div",{staticClass:"alert alert-success alert-dismissible",attrs:{role:"alert"}},[n("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"alert","aria-label":t.$t("firefly.close")}},[n("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])]),t._v(" "),n("strong",[t._v(t._s(t.$t("firefly.flash_success")))]),t._v(" "),n("span",{domProps:{innerHTML:t._s(t.success_message)}})])])]):t._e(),t._v(" "),t.transactions.length>1?n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-6"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title"))+"\n ")])]),t._v(" "),n("div",{staticClass:"box-body"},[n("group-description",{attrs:{error:t.group_title_errors},model:{value:t.group_title,callback:function(e){t.group_title=e},expression:"group_title"}})],1)])])]):t._e(),t._v(" "),n("div",t._l(t.transactions,(function(e,a){return n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-12"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title splitTitle"},[t.transactions.length>1?n("span",[t._v(t._s(t.$t("firefly.split"))+" "+t._s(a+1)+" / "+t._s(t.transactions.length))]):t._e(),t._v(" "),1===t.transactions.length?n("span",[t._v(t._s(t.$t("firefly.transaction_journal_information")))]):t._e()]),t._v(" "),t.transactions.length>1?n("div",{staticClass:"box-tools pull-right",attrs:{x:""}},[n("button",{staticClass:"btn btn-xs btn-danger",attrs:{type:"button"},on:{click:function(e){return t.deleteTransaction(a,e)}}},[n("i",{staticClass:"fa fa-trash"})])]):t._e()]),t._v(" "),n("div",{staticClass:"box-body"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-4"},["reconciliation"!==t.transactionType.toLowerCase()?n("transaction-description",{attrs:{index:a,error:e.errors.description},model:{value:e.description,callback:function(n){t.$set(e,"description",n)},expression:"transaction.description"}}):t._e(),t._v(" "),"reconciliation"!==t.transactionType.toLowerCase()?n("account-select",{attrs:{inputName:"source[]",title:t.$t("firefly.source_account"),accountName:e.source_account.name,accountTypeFilters:e.source_account.allowed_types,transactionType:t.transactionType,index:a,error:e.errors.source_account},on:{"clear:value":function(e){return t.clearSource(a)},"select:account":function(e){return t.selectedSourceAccount(a,e)}}}):t._e(),t._v(" "),"reconciliation"===t.transactionType.toLowerCase()?n("div",{staticClass:"form-group"},[n("div",{staticClass:"col-sm-12"},[n("p",{staticClass:"form-control-static",attrs:{id:"ffInput_source"}},[n("em",[t._v("\n "+t._s(t.$t("firefly.source_account_reconciliation"))+"\n ")])])])]):t._e(),t._v(" "),"reconciliation"!==t.transactionType.toLowerCase()?n("account-select",{attrs:{inputName:"destination[]",title:t.$t("firefly.destination_account"),accountName:e.destination_account.name,accountTypeFilters:e.destination_account.allowed_types,transactionType:t.transactionType,index:a,error:e.errors.destination_account},on:{"clear:value":function(e){return t.clearDestination(a)},"select:account":function(e){return t.selectedDestinationAccount(a,e)}}}):t._e(),t._v(" "),"reconciliation"===t.transactionType.toLowerCase()?n("div",{staticClass:"form-group"},[n("div",{staticClass:"col-sm-12"},[n("p",{staticClass:"form-control-static",attrs:{id:"ffInput_dest"}},[n("em",[t._v("\n "+t._s(t.$t("firefly.destination_account_reconciliation"))+"\n ")])])])]):t._e(),t._v(" "),n("standard-date",{attrs:{index:a,error:e.errors.date},model:{value:e.date,callback:function(n){t.$set(e,"date",n)},expression:"transaction.date"}}),t._v(" "),0===a?n("div",[n("transaction-type",{attrs:{source:e.source_account.type,destination:e.destination_account.type},on:{"set:transactionType":function(e){return t.setTransactionType(e)},"act:limitSourceType":function(e){return t.limitSourceType(e)},"act:limitDestinationType":function(e){return t.limitDestinationType(e)}}})],1):t._e()],1),t._v(" "),n("div",{staticClass:"col-lg-4"},[n("amount",{attrs:{source:e.source_account,destination:e.destination_account,error:e.errors.amount,transactionType:t.transactionType},model:{value:e.amount,callback:function(n){t.$set(e,"amount",n)},expression:"transaction.amount"}}),t._v(" "),"reconciliation"!==t.transactionType.toLowerCase()?n("foreign-amount",{attrs:{source:e.source_account,destination:e.destination_account,transactionType:t.transactionType,error:e.errors.foreign_amount,no_currency:t.$t("firefly.none_in_select_list"),title:t.$t("form.foreign_amount")},model:{value:e.foreign_amount,callback:function(n){t.$set(e,"foreign_amount",n)},expression:"transaction.foreign_amount"}}):t._e()],1),t._v(" "),n("div",{staticClass:"col-lg-4"},[n("budget",{attrs:{transactionType:t.transactionType,error:e.errors.budget_id,no_budget:t.$t("firefly.none_in_select_list")},model:{value:e.budget,callback:function(n){t.$set(e,"budget",n)},expression:"transaction.budget"}}),t._v(" "),n("category",{attrs:{transactionType:t.transactionType,error:e.errors.category},model:{value:e.category,callback:function(n){t.$set(e,"category",n)},expression:"transaction.category"}}),t._v(" "),n("tags",{attrs:{transactionType:t.transactionType,tags:e.tags,error:e.errors.tags},model:{value:e.tags,callback:function(n){t.$set(e,"tags",n)},expression:"transaction.tags"}}),t._v(" "),n("custom-transaction-fields",{attrs:{error:e.errors.custom_errors},model:{value:e.custom_fields,callback:function(n){t.$set(e,"custom_fields",n)},expression:"transaction.custom_fields"}})],1)])]),t._v(" "),t.transactions.length-1===a&&"reconciliation"!==t.transactionType.toLowerCase()?n("div",{staticClass:"box-footer"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:t.addTransaction}},[t._v(t._s(t.$t("firefly.add_another_split")))])]):t._e()])])])})),0),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-3 col-md-4 col-sm-6 col-xs-12"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title"},[t._v("\n "+t._s(t.$t("firefly.submission"))+"\n ")])]),t._v(" "),n("div",{staticClass:"box-body"},[n("div",{staticClass:"checkbox"},[n("label",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.returnAfter,expression:"returnAfter"}],attrs:{name:"return_after",type:"checkbox"},domProps:{checked:Array.isArray(t.returnAfter)?t._i(t.returnAfter,null)>-1:t.returnAfter},on:{change:function(e){var n=t.returnAfter,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&(t.returnAfter=n.concat([null])):i>-1&&(t.returnAfter=n.slice(0,i).concat(n.slice(i+1)))}else t.returnAfter=r}}}),t._v("\n "+t._s(t.$t("firefly.after_update_create_another"))+"\n ")])]),t._v(" "),null!==t.transactionType&&"reconciliation"!==t.transactionType.toLowerCase()?n("div",{staticClass:"checkbox"},[n("label",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.storeAsNew,expression:"storeAsNew"}],attrs:{name:"store_as_new",type:"checkbox"},domProps:{checked:Array.isArray(t.storeAsNew)?t._i(t.storeAsNew,null)>-1:t.storeAsNew},on:{change:function(e){var n=t.storeAsNew,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&(t.storeAsNew=n.concat([null])):i>-1&&(t.storeAsNew=n.slice(0,i).concat(n.slice(i+1)))}else t.storeAsNew=r}}}),t._v("\n "+t._s(t.$t("firefly.store_as_new"))+"\n ")])]):t._e()]),t._v(" "),n("div",{staticClass:"box-footer"},[n("div",{staticClass:"btn-group"},[n("button",{staticClass:"btn btn-success",on:{click:t.submit}},[t._v(t._s(t.$t("firefly.update_transaction")))])])])])])])])}),[],!1,null,"c144367c",null).exports,s=n(31),c=n(32),u=n(33),l=n(34),A=n(35),d=n(36),p=n(37),f=n(38),_=n(39),m=n(40),g=n(41),h=n(42),v=n(43),y=n(44),b=n(45);n(28),Vue.component("budget",b.a),Vue.component("custom-date",s.a),Vue.component("custom-string",c.a),Vue.component("custom-attachments",a.a),Vue.component("custom-textarea",u.a),Vue.component("standard-date",l.a),Vue.component("group-description",A.a),Vue.component("transaction-description",d.a),Vue.component("custom-transaction-fields",p.a),Vue.component("piggy-bank",f.a),Vue.component("tags",_.a),Vue.component("category",m.a),Vue.component("amount",g.a),Vue.component("foreign-amount",h.a),Vue.component("transaction-type",v.a),Vue.component("account-select",y.a),Vue.component("edit-transaction",o);var C=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{cs:n(50),de:n(51),en:n(52),es:n(53),fr:n(54),hu:n(55),id:n(56),it:n(57),nl:n(58),no:n(59),pl:n(60),fi:n(61),"pt-br":n(62),ro:n(63),ru:n(64),zh:n(65),"zh-tw":n(66),"zh-cn":n(67),sv:n(68)}}),w={};new Vue({i18n:C,el:"#edit_transaction",render:function(t){return t(o,{props:w})}})}]); \ No newline at end of file +!function(t){var e={};function n(a){if(e[a])return e[a].exports;var r=e[a]={i:a,l:!1,exports:{}};return t[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(a,r,function(e){return t[e]}.bind(null,r));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=80)}([function(t,e,n){"use strict";function a(t,e,n,a,r,i,o,s){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),a&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),o?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=c):r&&(c=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var A=u.beforeCreate;u.beforeCreate=A?[].concat(A,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return a}))},function(t,e,n){"use strict";var a=n(5),r=n(12),i=Object.prototype.toString;function o(t){return"[object Array]"===i.call(t)}function s(t){return null!==t&&"object"==typeof t}function c(t){return"[object Function]"===i.call(t)}function u(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var n=0,a=t.length;n=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},a.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),a.forEach(["post","put","patch"],(function(t){c.headers[t]=a.merge(i)})),t.exports=c}).call(this,n(10))},function(t,e,n){t.exports=n(11)},,function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),a=0;a1)for(var n=1;n=0)return;o[e]="set-cookie"===e?(o[e]?o[e]:[]).concat([n]):o[e]?o[e]+", "+n:n}})),o):o}},function(t,e,n){"use strict";var a=n(1);t.exports=a.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(t){var a=t;return e&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=r(window.location.href),function(e){var n=a.isString(e)?r(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var a=n(1);t.exports=a.isStandardBrowserEnv()?{write:function(t,e,n,r,i,o){var s=[];s.push(t+"="+encodeURIComponent(e)),a.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),a.isString(r)&&s.push("path="+r),a.isString(i)&&s.push("domain="+i),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var a=n(1);function r(){this.handlers=[]}r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){a.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=r},function(t,e,n){"use strict";var a=n(1),r=n(23),i=n(8),o=n(2),s=n(24),c=n(25);function u(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return u(t),t.baseURL&&!s(t.url)&&(t.url=c(t.baseURL,t.url)),t.headers=t.headers||{},t.data=r(t.data,t.headers,t.transformRequest),t.headers=a.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),a.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||o.adapter)(t).then((function(e){return u(t),e.data=r(e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(u(t),e&&e.response&&(e.response.data=r(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var a=n(1);t.exports=function(t,e,n){return a.forEach(n,(function(n){t=n(t,e)})),t}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var a=n(9);function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new a(t),e(n.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r((function(e){t=e})),cancel:t}},t.exports=r},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){window.axios=n(3),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var a=document.head.querySelector('meta[name="csrf-token"]');a?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=a.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token")},function(t,e,n){window,t.exports=function(t){var e={};function n(a){if(e[a])return e[a].exports;var r=e[a]={i:a,l:!1,exports:{}};return t[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(a,r,function(e){return t[e]}.bind(null,r));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=6)}([function(t,e,n){var a=n(8);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals),(0,n(4).default)("7ec05f6c",a,!1,{})},function(t,e,n){var a=n(10);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals),(0,n(4).default)("3453d19d",a,!1,{})},function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n,a=t[1]||"",r=t[3];if(!r)return a;if(e&&"function"==typeof btoa){var i=(n=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),o=r.sources.map((function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"}));return[a].concat(o).concat([i]).join("\n")}return[a].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var a={},r=0;rn.parts.length&&(a.parts.length=n.parts.length)}else{var o=[];for(r=0;r div[data-v-61d92e31] {\n cursor: pointer;\n padding: 3px 6px;\n width: 100%;\n}\n.ti-selected-item[data-v-61d92e31] {\n background-color: #5C6BC0;\n color: #fff;\n}\n',"",{version:3,sources:["C:/Users/johan/dev/vue-tags-input/vue-tags-input/C:/Users/johan/dev/vue-tags-input/vue-tags-input/vue-tags-input.scss"],names:[],mappings:"AAAA;EACE,uBAAuB;EACvB,mCAA8C;EAC9C,+JAAuM;EACvM,oBAAoB;EACpB,mBAAmB;CAAE;AAEvB;EACE,kCAAkC;EAClC,YAAY;EACZ,mBAAmB;EACnB,oBAAoB;EACpB,qBAAqB;EACrB,qBAAqB;EACrB,eAAe;EACf,oCAAoC;EACpC,mCAAmC;CAAE;AAEvC;EACE,iBAAiB;CAAE;AAErB;EACE,iBAAiB;CAAE;AAErB;EACE,iBAAiB;CAAE;AAErB;EACE,YAAY;EACZ,aAAa;EACb,sBAAsB;CAAE;AAE1B;EACE,uBAAuB;CAAE;AAE3B;EACE,cAAc;CAAE;AAElB;EACE,8BAA8B;CAAE;AAElC;EACE,iBAAiB;EACjB,mBAAmB;EACnB,uBAAuB;CAAE;AAE3B;EACE,aAAa;CAAE;AACf;IACE,gBAAgB;CAAE;AAEtB;EACE,uBAAuB;EACvB,cAAc;EACd,aAAa;EACb,gBAAgB;CAAE;AAEpB;EACE,cAAc;EACd,gBAAgB;EAChB,YAAY;EACZ,iBAAiB;CAAE;AAErB;EACE,0BAA0B;EAC1B,YAAY;EACZ,mBAAmB;EACnB,cAAc;EACd,iBAAiB;EACjB,YAAY;EACZ,iBAAiB;CAAE;AACnB;IACE,cAAc;CAAE;AAClB;IACE,cAAc;IACd,oBAAoB;CAAE;AACxB;IACE,mBAAmB;CAAE;AACvB;IACE,mBAAmB;CAAE;AACvB;IACE,mBAAmB;IACnB,mBAAmB;IACnB,YAAY;IACZ,iBAAiB;CAAE;AACrB;IACE,iBAAiB;IACjB,cAAc;IACd,oBAAoB;IACpB,kBAAkB;CAAE;AACpB;MACE,gBAAgB;CAAE;AACtB;IACE,kBAAkB;CAAE;AACtB;IACE,0BAA0B;CAAE;AAEhC;EACE,cAAc;EACd,eAAe;EACf,iBAAiB;EACjB,YAAY;EACZ,iBAAiB;CAAE;AACnB;IACE,eAAe;IACf,iBAAiB;IACjB,aAAa;IACb,aAAa;IACb,YAAY;CAAE;AAElB;EACE,qBAAqB;CAAE;AAEzB;EACE,uBAAuB;EACvB,iBAAiB;EACjB,mBAAmB;EACnB,YAAY;EACZ,uBAAuB;EACvB,YAAY;CAAE;AAEhB;EACE,gBAAgB;EAChB,iBAAiB;EACjB,YAAY;CAAE;AAEhB;EACE,0BAA0B;EAC1B,YAAY;CAAE",file:"vue-tags-input.scss?vue&type=style&index=0&id=61d92e31&lang=scss&scoped=true&",sourcesContent:['@font-face {\n font-family: \'icomoon\';\n src: url("./assets/fonts/icomoon.eot?7grlse");\n src: url("./assets/fonts/icomoon.eot?7grlse#iefix") format("embedded-opentype"), url("./assets/fonts/icomoon.ttf?7grlse") format("truetype"), url("./assets/fonts/icomoon.woff?7grlse") format("woff");\n font-weight: normal;\n font-style: normal; }\n\n[class^="ti-icon-"], [class*=" ti-icon-"] {\n font-family: \'icomoon\' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale; }\n\n.ti-icon-check:before {\n content: "\\e902"; }\n\n.ti-icon-close:before {\n content: "\\e901"; }\n\n.ti-icon-undo:before {\n content: "\\e900"; }\n\nul {\n margin: 0px;\n padding: 0px;\n list-style-type: none; }\n\n*, *:before, *:after {\n box-sizing: border-box; }\n\ninput:focus {\n outline: none; }\n\ninput[disabled] {\n background-color: transparent; }\n\n.vue-tags-input {\n max-width: 450px;\n position: relative;\n background-color: #fff; }\n\ndiv.vue-tags-input.disabled {\n opacity: 0.5; }\n div.vue-tags-input.disabled * {\n cursor: default; }\n\n.ti-input {\n border: 1px solid #ccc;\n display: flex;\n padding: 4px;\n flex-wrap: wrap; }\n\n.ti-tags {\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n line-height: 1em; }\n\n.ti-tag {\n background-color: #5C6BC0;\n color: #fff;\n border-radius: 2px;\n display: flex;\n padding: 3px 5px;\n margin: 2px;\n font-size: .85em; }\n .ti-tag:focus {\n outline: none; }\n .ti-tag .ti-content {\n display: flex;\n align-items: center; }\n .ti-tag .ti-tag-center {\n position: relative; }\n .ti-tag span {\n line-height: .85em; }\n .ti-tag span.ti-hidden {\n padding-left: 14px;\n visibility: hidden;\n height: 0px;\n white-space: pre; }\n .ti-tag .ti-actions {\n margin-left: 2px;\n display: flex;\n align-items: center;\n font-size: 1.15em; }\n .ti-tag .ti-actions i {\n cursor: pointer; }\n .ti-tag:last-child {\n margin-right: 4px; }\n .ti-tag.ti-invalid, .ti-tag.ti-tag.ti-deletion-mark {\n background-color: #e54d42; }\n\n.ti-new-tag-input-wrapper {\n display: flex;\n flex: 1 0 auto;\n padding: 3px 5px;\n margin: 2px;\n font-size: .85em; }\n .ti-new-tag-input-wrapper input {\n flex: 1 0 auto;\n min-width: 100px;\n border: none;\n padding: 0px;\n margin: 0px; }\n\n.ti-new-tag-input {\n line-height: initial; }\n\n.ti-autocomplete {\n border: 1px solid #ccc;\n border-top: none;\n position: absolute;\n width: 100%;\n background-color: #fff;\n z-index: 20; }\n\n.ti-item > div {\n cursor: pointer;\n padding: 3px 6px;\n width: 100%; }\n\n.ti-selected-item {\n background-color: #5C6BC0;\n color: #fff; }\n'],sourceRoot:""}])},function(t,e,n){"use strict";t.exports=function(t){return"string"!=typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),/["'() \t\n]/.test(t)?'"'+t.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':t)}},function(t,e){t.exports="data:font/ttf;base64,AAEAAAALAIAAAwAwT1MvMg8SBawAAAC8AAAAYGNtYXAXVtKJAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZqWfozAAAAF4AAAA/GhlYWQPxZgIAAACdAAAADZoaGVhB4ADyAAAAqwAAAAkaG10eBIAAb4AAALQAAAAHGxvY2EAkgDiAAAC7AAAABBtYXhwAAkAHwAAAvwAAAAgbmFtZZlKCfsAAAMcAAABhnBvc3QAAwAAAAAEpAAAACAAAwOAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpAgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6QL//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAFYBAQO+AoEAHAAAATIXHgEXFhcHJicuAScmIyIGBxchERc2Nz4BNzYCFkpDQ28pKRdkECAfVTM0OT9wLZz+gJgdIiJLKSgCVRcYUjg5QiAzKys+ERIrJZoBgJoZFRQcCAgAAQDWAIEDKgLVAAsAAAEHFwcnByc3JzcXNwMq7u487u487u487u4Cme7uPO7uPO7uPO7uAAEAkgCBA4ACvQAFAAAlARcBJzcBgAHEPP4A7jz5AcQ8/gDuPAAAAAABAAAAAAAAH8nTUV8PPPUACwQAAAAAANZ1KhsAAAAA1nUqGwAAAAADvgLVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAO+AAEAAAAAAAAAAAAAAAAAAAAHBAAAAAAAAAAAAAAAAgAAAAQAAFYEAADWBAAAkgAAAAAACgAUAB4AUABqAH4AAQAAAAcAHQABAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGljb21vb24AaQBjAG8AbQBvAG8AblZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGljb21vb24AaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AblJlZ3VsYXIAUgBlAGcAdQBsAGEAcmljb21vb24AaQBjAG8AbQBvAG8AbkZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="},function(t,e){t.exports="data:font/woff;base64,d09GRgABAAAAAAUQAAsAAAAABMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIFrGNtYXAAAAFoAAAAVAAAAFQXVtKJZ2FzcAAAAbwAAAAIAAAACAAAABBnbHlmAAABxAAAAPwAAAD8pZ+jMGhlYWQAAALAAAAANgAAADYPxZgIaGhlYQAAAvgAAAAkAAAAJAeAA8hobXR4AAADHAAAABwAAAAcEgABvmxvY2EAAAM4AAAAEAAAABAAkgDibWF4cAAAA0gAAAAgAAAAIAAJAB9uYW1lAAADaAAAAYYAAAGGmUoJ+3Bvc3QAAATwAAAAIAAAACAAAwAAAAMDgAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA6QIDwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADgAAAAKAAgAAgACAAEAIOkC//3//wAAAAAAIOkA//3//wAB/+MXBAADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQBWAQEDvgKBABwAAAEyFx4BFxYXByYnLgEnJiMiBgcXIREXNjc+ATc2AhZKQ0NvKSkXZBAgH1UzNDk/cC2c/oCYHSIiSykoAlUXGFI4OUIgMysrPhESKyWaAYCaGRUUHAgIAAEA1gCBAyoC1QALAAABBxcHJwcnNyc3FzcDKu7uPO7uPO7uPO7uApnu7jzu7jzu7jzu7gABAJIAgQOAAr0ABQAAJQEXASc3AYABxDz+AO48+QHEPP4A7jwAAAAAAQAAAAAAAB/J01FfDzz1AAsEAAAAAADWdSobAAAAANZ1KhsAAAAAA74C1QAAAAgAAgAAAAAAAAABAAADwP/AAAAEAAAAAAADvgABAAAAAAAAAAAAAAAAAAAABwQAAAAAAAAAAAAAAAIAAAAEAABWBAAA1gQAAJIAAAAAAAoAFAAeAFAAagB+AAEAAAAHAB0AAQAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAHAAAAAQAAAAAAAgAHAGAAAQAAAAAAAwAHADYAAQAAAAAABAAHAHUAAQAAAAAABQALABUAAQAAAAAABgAHAEsAAQAAAAAACgAaAIoAAwABBAkAAQAOAAcAAwABBAkAAgAOAGcAAwABBAkAAwAOAD0AAwABBAkABAAOAHwAAwABBAkABQAWACAAAwABBAkABgAOAFIAAwABBAkACgA0AKRpY29tb29uAGkAYwBvAG0AbwBvAG5WZXJzaW9uIDEuMABWAGUAcgBzAGkAbwBuACAAMQAuADBpY29tb29uAGkAYwBvAG0AbwBvAG5pY29tb29uAGkAYwBvAG0AbwBvAG5SZWd1bGFyAFIAZQBnAHUAbABhAHJpY29tb29uAGkAYwBvAG0AbwBvAG5Gb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-tags-input",class:[{"ti-disabled":t.disabled},{"ti-focus":t.focused}]},[n("div",{staticClass:"ti-input"},[t.tagsCopy?n("ul",{staticClass:"ti-tags"},[t._l(t.tagsCopy,(function(e,a){return n("li",{key:a,staticClass:"ti-tag",class:[{"ti-editing":t.tagsEditStatus[a]},e.tiClasses,e.classes,{"ti-deletion-mark":t.isMarked(a)}],style:e.style,attrs:{tabindex:"0"},on:{click:function(n){return t.$emit("tag-clicked",{tag:e,index:a})}}},[n("div",{staticClass:"ti-content"},[t.$scopedSlots["tag-left"]?n("div",{staticClass:"ti-tag-left"},[t._t("tag-left",null,{tag:e,index:a,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)})],2):t._e(),t._v(" "),n("div",{ref:"tagCenter",refInFor:!0,staticClass:"ti-tag-center"},[t.$scopedSlots["tag-center"]?t._e():n("span",{class:{"ti-hidden":t.tagsEditStatus[a]},on:{click:function(e){return t.performEditTag(a)}}},[t._v(t._s(e.text))]),t._v(" "),t.$scopedSlots["tag-center"]?t._e():n("tag-input",{attrs:{scope:{edit:t.tagsEditStatus[a],maxlength:t.maxlength,tag:e,index:a,validateTag:t.createChangedTag,performCancelEdit:t.cancelEdit,performSaveEdit:t.performSaveTag}}}),t._v(" "),t._t("tag-center",null,{tag:e,index:a,maxlength:t.maxlength,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,validateTag:t.createChangedTag,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)})],2),t._v(" "),t.$scopedSlots["tag-right"]?n("div",{staticClass:"ti-tag-right"},[t._t("tag-right",null,{tag:e,index:a,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)})],2):t._e()]),t._v(" "),n("div",{staticClass:"ti-actions"},[t.$scopedSlots["tag-actions"]?t._e():n("i",{directives:[{name:"show",rawName:"v-show",value:t.tagsEditStatus[a],expression:"tagsEditStatus[index]"}],staticClass:"ti-icon-undo",on:{click:function(e){return t.cancelEdit(a)}}}),t._v(" "),t.$scopedSlots["tag-actions"]?t._e():n("i",{directives:[{name:"show",rawName:"v-show",value:!t.tagsEditStatus[a],expression:"!tagsEditStatus[index]"}],staticClass:"ti-icon-close",on:{click:function(e){return t.performDeleteTag(a)}}}),t._v(" "),t.$scopedSlots["tag-actions"]?t._t("tag-actions",null,{tag:e,index:a,edit:t.tagsEditStatus[a],performSaveEdit:t.performSaveTag,performDelete:t.performDeleteTag,performCancelEdit:t.cancelEdit,performOpenEdit:t.performEditTag,deletionMark:t.isMarked(a)}):t._e()],2)])})),t._v(" "),n("li",{staticClass:"ti-new-tag-input-wrapper"},[n("input",t._b({ref:"newTagInput",staticClass:"ti-new-tag-input",class:[t.createClasses(t.newTag,t.tags,t.validation,t.isDuplicate)],attrs:{placeholder:t.placeholder,maxlength:t.maxlength,disabled:t.disabled,type:"text",size:"1"},domProps:{value:t.newTag},on:{keydown:[function(e){return t.performAddTags(t.filteredAutocompleteItems[t.selectedItem]||t.newTag,e)},function(e){return e.type.indexOf("key")||8===e.keyCode?t.invokeDelete(e):null},function(e){return e.type.indexOf("key")||9===e.keyCode?t.performBlur(e):null},function(e){return e.type.indexOf("key")||38===e.keyCode?t.selectItem(e,"before"):null},function(e){return e.type.indexOf("key")||40===e.keyCode?t.selectItem(e,"after"):null}],paste:t.addTagsFromPaste,input:t.updateNewTag,blur:function(e){return t.$emit("blur",e)},focus:function(e){t.focused=!0,t.$emit("focus",e)},click:function(e){!t.addOnlyFromAutocomplete&&(t.selectedItem=null)}}},"input",t.$attrs,!1))])],2):t._e()]),t._v(" "),t._t("between-elements"),t._v(" "),t.autocompleteOpen?n("div",{staticClass:"ti-autocomplete",on:{mouseout:function(e){t.selectedItem=null}}},[t._t("autocomplete-header"),t._v(" "),n("ul",t._l(t.filteredAutocompleteItems,(function(e,a){return n("li",{key:a,staticClass:"ti-item",class:[e.tiClasses,e.classes,{"ti-selected-item":t.isSelected(a)}],style:e.style,on:{mouseover:function(e){!t.disabled&&(t.selectedItem=a)}}},[t.$scopedSlots["autocomplete-item"]?t._t("autocomplete-item",null,{item:e,index:a,performAdd:function(e){return t.performAddTags(e,void 0,"autocomplete")},selected:t.isSelected(a)}):n("div",{on:{click:function(n){return t.performAddTags(e,void 0,"autocomplete")}}},[t._v("\n "+t._s(e.text)+"\n ")])],2)})),0),t._v(" "),t._t("autocomplete-footer")],2):t._e()],2)};a._withStripped=!0;var r=n(5),i=n.n(r),o=function(t){return JSON.parse(JSON.stringify(t))},s=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3?arguments[3]:void 0;void 0===t.text&&(t={text:t});var r=function(t,e){return e.filter((function(e){var n=t.text;return"string"==typeof e.rule?!new RegExp(e.rule).test(n):e.rule instanceof RegExp?!e.rule.test(n):"[object Function]"==={}.toString.call(e.rule)?e.rule(t):void 0})).map((function(t){return t.classes}))}(t,n),i=function(t,e){for(var n=0;n1?n-1:0),r=1;r1?e-1:0),a=1;a=this.autocompleteMinLength&&this.filteredAutocompleteItems.length>0&&this.focused},filteredAutocompleteItems:function(){var t=this,e=this.autocompleteItems.map((function(e){return c(e,t.tags,t.validation,t.isDuplicate)}));return this.autocompleteFilterDuplicates?e.filter(this.duplicateFilter):e}},methods:{createClasses:s,getSelectedIndex:function(t){var e=this.filteredAutocompleteItems,n=this.selectedItem,a=e.length-1;if(0!==e.length)return null===n?0:"before"===t&&0===n?a:"after"===t&&n===a?0:"after"===t?n+1:n-1},selectDefaultItem:function(){this.addOnlyFromAutocomplete&&this.filteredAutocompleteItems.length>0?this.selectedItem=0:this.selectedItem=null},selectItem:function(t,e){t.preventDefault(),this.selectedItem=this.getSelectedIndex(e)},isSelected:function(t){return this.selectedItem===t},isMarked:function(t){return this.deletionMark===t},invokeDelete:function(){var t=this;if(this.deleteOnBackspace&&!(this.newTag.length>0)){var e=this.tagsCopy.length-1;null===this.deletionMark?(this.deletionMarkTime=setTimeout((function(){return t.deletionMark=null}),1e3),this.deletionMark=e):this.performDeleteTag(e)}},addTagsFromPaste:function(){var t=this;this.addFromPaste&&setTimeout((function(){return t.performAddTags(t.newTag)}),10)},performEditTag:function(t){var e=this;this.allowEditTags&&(this._events["before-editing-tag"]||this.editTag(t),this.$emit("before-editing-tag",{index:t,tag:this.tagsCopy[t],editTag:function(){return e.editTag(t)}}))},editTag:function(t){this.allowEditTags&&(this.toggleEditMode(t),this.focus(t))},toggleEditMode:function(t){this.allowEditTags&&!this.disabled&&this.$set(this.tagsEditStatus,t,!this.tagsEditStatus[t])},createChangedTag:function(t,e){var n=this.tagsCopy[t];n.text=e?e.target.value:this.tagsCopy[t].text,this.$set(this.tagsCopy,t,c(n,this.tagsCopy,this.validation,this.isDuplicate))},focus:function(t){var e=this;this.$nextTick((function(){var n=e.$refs.tagCenter[t].querySelector("input.ti-tag-input");n&&n.focus()}))},quote:function(t){return t.replace(/([()[{*+.$^\\|?])/g,"\\$1")},cancelEdit:function(t){this.tags[t]&&(this.tagsCopy[t]=o(c(this.tags[t],this.tags,this.validation,this.isDuplicate)),this.$set(this.tagsEditStatus,t,!1))},hasForbiddingAddRule:function(t){var e=this;return t.some((function(t){var n=e.validation.find((function(e){return t===e.classes}));return!!n&&n.disableAdd}))},createTagTexts:function(t){var e=this,n=new RegExp(this.separators.map((function(t){return e.quote(t)})).join("|"));return t.split(n).map((function(t){return{text:t}}))},performDeleteTag:function(t){var e=this;this._events["before-deleting-tag"]||this.deleteTag(t),this.$emit("before-deleting-tag",{index:t,tag:this.tagsCopy[t],deleteTag:function(){return e.deleteTag(t)}})},deleteTag:function(t){this.disabled||(this.deletionMark=null,clearTimeout(this.deletionMarkTime),this.tagsCopy.splice(t,1),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},noTriggerKey:function(t,e){var n=-1!==this[e].indexOf(t.keyCode)||-1!==this[e].indexOf(t.key);return n&&t.preventDefault(),!n},performAddTags:function(t,e,n){var a=this;if(!(this.disabled||e&&this.noTriggerKey(e,"addOnKey"))){var r=[];"object"===h(t)&&(r=[t]),"string"==typeof t&&(r=this.createTagTexts(t)),(r=r.filter((function(t){return t.text.trim().length>0}))).forEach((function(t){t=c(t,a.tags,a.validation,a.isDuplicate),a._events["before-adding-tag"]||a.addTag(t,n),a.$emit("before-adding-tag",{tag:t,addTag:function(){return a.addTag(t,n)}})}))}},duplicateFilter:function(t){return this.isDuplicate?!this.isDuplicate(this.tagsCopy,t):!this.tagsCopy.find((function(e){return e.text===t.text}))},addTag:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"new-tag-input",a=this.filteredAutocompleteItems.map((function(t){return t.text}));this.addOnlyFromAutocomplete&&-1===a.indexOf(t.text)||this.$nextTick((function(){return e.maxTags&&e.maxTags<=e.tagsCopy.length?e.$emit("max-tags-reached",t):e.avoidAddingDuplicates&&!e.duplicateFilter(t)?e.$emit("adding-duplicate",t):void(e.hasForbiddingAddRule(t.tiClasses)||(e.$emit("input",""),e.tagsCopy.push(t),e._events["update:tags"]&&e.$emit("update:tags",e.tagsCopy),"autocomplete"===n&&e.$refs.newTagInput.focus(),e.$emit("tags-changed",e.tagsCopy)))}))},performSaveTag:function(t,e){var n=this,a=this.tagsCopy[t];this.disabled||e&&this.noTriggerKey(e,"addOnKey")||0!==a.text.trim().length&&(this._events["before-saving-tag"]||this.saveTag(t,a),this.$emit("before-saving-tag",{index:t,tag:a,saveTag:function(){return n.saveTag(t,a)}}))},saveTag:function(t,e){if(this.avoidAddingDuplicates){var n=o(this.tagsCopy),a=n.splice(t,1)[0];if(this.isDuplicate?this.isDuplicate(n,a):-1!==n.map((function(t){return t.text})).indexOf(a.text))return this.$emit("saving-duplicate",e)}this.hasForbiddingAddRule(e.tiClasses)||(this.$set(this.tagsCopy,t,e),this.toggleEditMode(t),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},tagsEqual:function(){var t=this;return!this.tagsCopy.some((function(e,n){return!i()(e,t.tags[n])}))},updateNewTag:function(t){var e=t.target.value;this.newTag=e,this.$emit("input",e)},initTags:function(){this.tagsCopy=u(this.tags,this.validation,this.isDuplicate),this.tagsEditStatus=o(this.tags).map((function(){return!1})),this._events["update:tags"]&&!this.tagsEqual()&&this.$emit("update:tags",this.tagsCopy)},blurredOnClick:function(t){this.$el.contains(t.target)||this.$el.contains(document.activeElement)||this.performBlur(t)},performBlur:function(){this.addOnBlur&&this.focused&&this.performAddTags(this.newTag),this.focused=!1}},watch:{value:function(t){this.addOnlyFromAutocomplete||(this.selectedItem=null),this.newTag=t},tags:{handler:function(){this.initTags()},deep:!0},autocompleteOpen:"selectDefaultItem"},created:function(){this.newTag=this.value,this.initTags()},mounted:function(){this.selectDefaultItem(),document.addEventListener("click",this.blurredOnClick)},destroyed:function(){document.removeEventListener("click",this.blurredOnClick)}},y=(n(9),d(v,a,[],!1,null,"61d92e31",null));y.options.__file="vue-tags-input/vue-tags-input.vue";var b=y.exports;n.d(e,"VueTagsInput",(function(){return b})),n.d(e,"createClasses",(function(){return s})),n.d(e,"createTag",(function(){return c})),n.d(e,"createTags",(function(){return u})),n.d(e,"TagInput",(function(){return f})),b.install=function(t){return t.component(b.name,b)},"undefined"!=typeof window&&window.Vue&&window.Vue.use(b),e.default=b}])},function(t,e,n){"use strict";var a={name:"CustomAttachments",props:{title:String,name:String,error:Array},methods:{hasError:function(){return this.error.length>0}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{staticClass:"form-control",attrs:{multiple:"multiple",autocomplete:"off",placeholder:t.title,title:t.title,name:t.name,type:"file"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"73840c18",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"CustomDate",props:{value:String,title:String,name:String,error:Array},methods:{handleInput:function(t){this.$emit("input",this.$refs.date.value)},hasError:function(){return this.error.length>0}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{ref:"date",staticClass:"form-control",attrs:{type:"date",name:t.name,title:t.title,autocomplete:"off",placeholder:t.title},domProps:{value:t.value?t.value.substr(0,10):""},on:{input:t.handleInput}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"30d0f0fe",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"CustomString",props:{title:String,name:String,value:String,error:Array},methods:{handleInput:function(t){this.$emit("input",this.$refs.str.value)},hasError:function(){return this.error.length>0}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{ref:"str",staticClass:"form-control",attrs:{type:"text",name:t.name,title:t.title,autocomplete:"off",placeholder:t.title},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"69529226",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"CustomTextarea",props:{title:String,name:String,value:String,error:Array},data:function(){return{textValue:this.value}},methods:{handleInput:function(t){this.$emit("input",this.$refs.str.value)},hasError:function(){return this.error.length>0}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.textValue,expression:"textValue"}],ref:"str",staticClass:"form-control",attrs:{name:t.name,title:t.title,autocomplete:"off",rows:"8",placeholder:t.title},domProps:{value:t.textValue},on:{input:[function(e){e.target.composing||(t.textValue=e.target.value)},t.handleInput]}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"40389097",null);e.a=i.exports},function(t,e,n){"use strict";var a={props:["error","value","index"],name:"StandardDate",methods:{hasError:function(){return this.error.length>0},handleInput:function(t){this.$emit("input",this.$refs.date.value)}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.date"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{ref:"date",staticClass:"form-control",attrs:{type:"date",name:"date[]",title:t.$t("firefly.date"),autocomplete:"off",disabled:t.index>0,placeholder:t.$t("firefly.date")},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"deecacf4",null);e.a=i.exports},function(t,e,n){"use strict";var a={props:["error","value","index"],name:"GroupDescription",methods:{hasError:function(){return this.error.length>0},handleInput:function(t){this.$emit("input",this.$refs.descr.value)}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{ref:"descr",staticClass:"form-control",attrs:{type:"text",name:"group_title",title:t.$t("firefly.split_transaction_title"),autocomplete:"off",placeholder:t.$t("firefly.split_transaction_title")},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),0===t.error.length?n("p",{staticClass:"help-block"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title_help"))+"\n ")]):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"4d557a91",null);e.a=i.exports},function(t,e,n){"use strict";var a={props:["error","value","index"],name:"TransactionDescription",mounted:function(){this.target=this.$refs.descr,this.descriptionAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/transaction-journals/all?search="},data:function(){return{descriptionAutoCompleteURI:null,name:null,description:null,target:null}},methods:{hasError:function(){return this.error.length>0},handleInput:function(t){this.$emit("input",this.$refs.descr.value)},handleEnter:function(t){13===t.keyCode&&t.preventDefault()},selectedItem:function(t){void 0!==this.name&&"string"!=typeof this.name&&(this.$refs.descr.value=this.name.description,this.$emit("input",this.$refs.descr.value))}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.description"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("input",{ref:"descr",staticClass:"form-control",attrs:{type:"text",name:"description[]",title:t.$t("firefly.description"),autocomplete:"off",placeholder:t.$t("firefly.description")},domProps:{value:t.value},on:{keypress:t.handleEnter,submit:function(t){t.preventDefault()},input:t.handleInput}}),t._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":t.descriptionAutoCompleteURI,target:t.target,"item-key":"description"},on:{input:t.selectedItem},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"e835e06e",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"CustomTransactionFields",props:["value","error"],mounted:function(){this.getPreference()},data:function(){return{customInterestDate:null,fields:[{interest_date:!1,book_date:!1,process_date:!1,due_date:!1,payment_date:!1,invoice_date:!1,internal_reference:!1,notes:!1,attachments:!1}]}},computed:{dateComponent:function(){return"custom-date"},stringComponent:function(){return"custom-string"},attachmentComponent:function(){return"custom-attachments"},textareaComponent:function(){return"custom-textarea"}},methods:{handleInput:function(t){this.$emit("input",this.value)},getPreference:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"api/v1/preferences/transaction_journal_optional_fields";axios.get(e).then((function(e){t.fields=e.data.data.attributes.data})).catch((function(){return console.warn("Oh. Something went wrong loading custom transaction fields.")}))}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[this.fields.interest_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.interest_date,name:"interest_date[]",title:t.$t("form.interest_date")},model:{value:t.value.interest_date,callback:function(e){t.$set(t.value,"interest_date",e)},expression:"value.interest_date"}}):t._e(),t._v(" "),this.fields.book_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.book_date,name:"book_date[]",title:t.$t("form.book_date")},model:{value:t.value.book_date,callback:function(e){t.$set(t.value,"book_date",e)},expression:"value.book_date"}}):t._e(),t._v(" "),this.fields.process_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.process_date,name:"process_date[]",title:t.$t("form.process_date")},model:{value:t.value.process_date,callback:function(e){t.$set(t.value,"process_date",e)},expression:"value.process_date"}}):t._e(),t._v(" "),this.fields.due_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.due_date,name:"due_date[]",title:t.$t("form.due_date")},model:{value:t.value.due_date,callback:function(e){t.$set(t.value,"due_date",e)},expression:"value.due_date"}}):t._e(),t._v(" "),this.fields.payment_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.payment_date,name:"payment_date[]",title:t.$t("form.payment_date")},model:{value:t.value.payment_date,callback:function(e){t.$set(t.value,"payment_date",e)},expression:"value.payment_date"}}):t._e(),t._v(" "),this.fields.invoice_date?n(t.dateComponent,{tag:"component",attrs:{error:t.error.invoice_date,name:"invoice_date[]",title:t.$t("form.invoice_date")},model:{value:t.value.invoice_date,callback:function(e){t.$set(t.value,"invoice_date",e)},expression:"value.invoice_date"}}):t._e(),t._v(" "),this.fields.internal_reference?n(t.stringComponent,{tag:"component",attrs:{error:t.error.internal_reference,name:"internal_reference[]",title:t.$t("form.internal_reference")},model:{value:t.value.internal_reference,callback:function(e){t.$set(t.value,"internal_reference",e)},expression:"value.internal_reference"}}):t._e(),t._v(" "),this.fields.attachments?n(t.attachmentComponent,{tag:"component",attrs:{error:t.error.attachments,name:"attachments[]",title:t.$t("firefly.attachments")},model:{value:t.value.attachments,callback:function(e){t.$set(t.value,"attachments",e)},expression:"value.attachments"}}):t._e(),t._v(" "),this.fields.notes?n(t.textareaComponent,{tag:"component",attrs:{error:t.error.notes,name:"notes[]",title:t.$t("firefly.notes")},model:{value:t.value.notes,callback:function(e){t.$set(t.value,"notes",e)},expression:"value.notes"}}):t._e()],1)}),[],!1,null,"1608b7b0",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"PiggyBank",props:["value","transactionType","error","no_piggy_bank"],mounted:function(){this.loadPiggies()},data:function(){return{piggies:[]}},methods:{handleInput:function(t){this.$emit("input",this.$refs.piggy.value)},hasError:function(){return this.error.length>0},loadPiggies:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"json/piggy-banks";axios.get(e,{}).then((function(e){for(var n in t.piggies=[{name_with_amount:t.no_piggy_bank,id:0}],e.data)e.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&t.piggies.push(e.data[n])}))}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return void 0!==this.transactionType&&"Transfer"===this.transactionType?n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12"},[this.piggies.length>0?n("select",{ref:"piggy",staticClass:"form-control",attrs:{name:"piggy_bank[]"},on:{input:t.handleInput}},t._l(this.piggies,(function(e){return n("option",{attrs:{label:e.name_with_amount},domProps:{value:e.id}},[t._v(t._s(e.name_with_amount))])})),0):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)]):t._e()}),[],!1,null,"1797c09a",null);e.a=i.exports},function(t,e,n){"use strict";var a=n(3),r=n.n(a),i=n(29),o={name:"Tags",components:{VueTagsInput:n.n(i).a},props:["value","error"],data:function(){return{tag:"",autocompleteItems:[],debounce:null,tags:this.value}},watch:{tag:"initItems"},methods:{update:function(t){this.autocompleteItems=[],this.tags=t,this.$emit("input",this.tags)},hasError:function(){return this.error.length>0},initItems:function(){var t=this;if(!(this.tag.length<2)){var e=document.getElementsByTagName("base")[0].href+"json/tags?search=".concat(this.tag);clearTimeout(this.debounce),this.debounce=setTimeout((function(){r.a.get(e).then((function(e){t.autocompleteItems=e.data.map((function(t){return{text:t.tag}}))})).catch((function(){return console.warn("Oh. Something went wrong loading tags.")}))}),600)}}}},s=n(0),c=Object(s.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.tags"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("vue-tags-input",{attrs:{tags:t.tags,title:t.$t("firefly.tags"),classes:"form-input","autocomplete-items":t.autocompleteItems,"add-only-from-autocomplete":!1,placeholder:t.$t("firefly.tags")},on:{"tags-changed":t.update},model:{value:t.tag,callback:function(e){t.tag=e},expression:"tag"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"733b2aa4",null);e.a=c.exports},function(t,e,n){"use strict";var a={name:"Category",props:{value:String,inputName:String,error:Array,accountName:{type:String,default:""}},data:function(){return{categoryAutoCompleteURI:null,name:null,target:null}},ready:function(){this.name=this.accountName},mounted:function(){this.target=this.$refs.input,this.categoryAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/categories?search="},methods:{hasError:function(){return this.error.length>0},handleInput:function(t){"string"!=typeof this.$refs.input.value?this.$emit("input",this.$refs.input.value.name):this.$emit("input",this.$refs.input.value)},clearCategory:function(){this.name="",this.$refs.input.value="",this.$emit("input",this.$refs.input.value),this.$emit("clear:category")},selectedItem:function(t){void 0!==this.name&&(this.$emit("select:category",this.name),"string"!=typeof this.name?this.$emit("input",this.name.name):this.$emit("input",this.name))},handleEnter:function(t){13===t.keyCode&&t.preventDefault()}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.category"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{type:"text",placeholder:t.$t("firefly.category"),autocomplete:"off","data-role":"input",name:"category[]",title:t.$t("firefly.category")},domProps:{value:t.value},on:{input:t.handleInput,keypress:t.handleEnter,submit:function(t){t.preventDefault()}}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:t.clearCategory}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":t.categoryAutoCompleteURI,target:t.target,"item-key":"name"},on:{input:t.selectedItem},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"4799245c",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"Amount",props:["source","destination","transactionType","value","error"],data:function(){return{sourceAccount:this.source,destinationAccount:this.destination,type:this.transactionType}},methods:{handleInput:function(t){this.$emit("input",this.$refs.amount.value)},hasError:function(){return this.error.length>0},changeData:function(){var t=this.transactionType;t||this.source.name||this.destination.name?(null===t&&(t=""),""!==t||""===this.source.currency_name?""!==t||""===this.destination.currency_name?"withdrawal"!==t.toLowerCase()&&"reconciliation"!==t.toLowerCase()&&"transfer"!==t.toLowerCase()?"Deposit"===t&&$(this.$refs.cur).text(this.destination.currency_name):$(this.$refs.cur).text(this.source.currency_name):$(this.$refs.cur).text(this.destination.currency_name):$(this.$refs.cur).text(this.source.currency_name)):$(this.$refs.cur).text("")}},watch:{source:function(){this.changeData()},destination:function(){this.changeData()},transactionType:function(){this.changeData()}},mounted:function(){this.changeData()}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-8 col-sm-offset-4 text-sm"},[t._v("\n "+t._s(t.$t("firefly.amount"))+"\n ")]),t._v(" "),n("label",{ref:"cur",staticClass:"col-sm-4 control-label"}),t._v(" "),n("div",{staticClass:"col-sm-8"},[n("input",{ref:"amount",staticClass:"form-control",attrs:{type:"number",step:"any",name:"amount[]",title:t.$t("firefly.amount"),autocomplete:"off",placeholder:t.$t("firefly.amount")},domProps:{value:t.value},on:{input:t.handleInput}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"0666cec0",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"ForeignAmountSelect",props:["source","destination","transactionType","value","error","no_currency","title"],mounted:function(){this.liability=!1,this.loadCurrencies()},data:function(){return{currencies:[],enabledCurrencies:[],exclude:null,liability:!1}},watch:{source:function(){this.changeData()},destination:function(){this.changeData()},transactionType:function(){this.changeData()}},methods:{hasError:function(){return this.error.length>0},handleInput:function(t){var e={amount:this.$refs.amount.value,currency_id:this.$refs.currency_select.value};this.$emit("input",e)},changeData:function(){this.enabledCurrencies=[];var t=this.destination.type?this.destination.type.toLowerCase():"invalid",e=this.source.type?this.source.type.toLowerCase():"invalid",n=this.transactionType?this.transactionType.toLowerCase():"invalid",a=["loan","debt","mortgage"],r=-1!==a.indexOf(e),i=-1!==a.indexOf(t);if("transfer"===n||i||r)for(var o in this.liability=!0,this.currencies)this.currencies.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294&&this.currencies[o].id===this.destination.currency_id&&this.enabledCurrencies.push(this.currencies[o]);else if("withdrawal"===n&&this.source&&!1===r)for(var s in this.currencies)this.currencies.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294&&this.source.currency_id!==this.currencies[s].id&&this.enabledCurrencies.push(this.currencies[s]);else if("deposit"===n&&this.destination)for(var c in this.currencies)this.currencies.hasOwnProperty(c)&&/^0$|^[1-9]\d*$/.test(c)&&c<=4294967294&&this.destination.currency_id!==this.currencies[c].id&&this.enabledCurrencies.push(this.currencies[c]);else for(var u in this.currencies)this.currencies.hasOwnProperty(u)&&/^0$|^[1-9]\d*$/.test(u)&&u<=4294967294&&this.enabledCurrencies.push(this.currencies[u])},loadCurrencies:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"json/currencies";axios.get(e,{}).then((function(e){for(var n in t.currencies=[{name:t.no_currency,id:0,enabled:!0}],e.data)e.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&e.data[n].enabled&&(t.currencies.push(e.data[n]),t.enabledCurrencies.push(e.data[n]))}))}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return this.enabledCurrencies.length>1?n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-8 col-sm-offset-4 text-sm"},[t._v("\n "+t._s(t.$t("form.foreign_amount"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-4"},[n("select",{ref:"currency_select",staticClass:"form-control",attrs:{name:"foreign_currency[]"},on:{input:t.handleInput}},t._l(this.enabledCurrencies,(function(e){return e.enabled?n("option",{attrs:{label:e.name},domProps:{value:e.id,selected:t.value.currency_id===e.id}},[t._v("\n "+t._s(e.name)+"\n ")]):t._e()})),0)]),t._v(" "),n("div",{staticClass:"col-sm-8"},[this.enabledCurrencies.length>0?n("input",{ref:"amount",staticClass:"form-control",attrs:{type:"number",step:"any",name:"foreign_amount[]",title:this.title,autocomplete:"off",placeholder:this.title},domProps:{value:t.value.amount},on:{input:t.handleInput}}):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)]):t._e()}),[],!1,null,"4317a62a",null);e.a=i.exports},function(t,e,n){"use strict";var a={props:{source:String,destination:String,type:String},methods:{changeValue:function(){if(this.source&&this.destination){var t="";window.accountToTypes[this.source]?window.accountToTypes[this.source][this.destination]?t=window.accountToTypes[this.source][this.destination]:console.warn("User selected an impossible destination."):console.warn("User selected an impossible source."),""!==t&&(this.transactionType=t,this.sentence=this.$t("firefly.you_create_"+t.toLowerCase()),this.$emit("act:limitSourceType",this.source),this.$emit("act:limitDestinationType",this.destination))}else this.sentence="",this.transactionType="";this.$emit("set:transactionType",this.transactionType)}},data:function(){return{transactionType:this.type,sentence:""}},watch:{source:function(){this.changeValue()},destination:function(){this.changeValue()}},name:"TransactionType"},r=n(0),i=Object(r.a)(a,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form-group"},[e("div",{staticClass:"col-sm-12"},[""!==this.sentence?e("label",{staticClass:"control-label text-info"},[this._v("\n "+this._s(this.sentence)+"\n ")]):this._e()])])}),[],!1,null,"0539dc1a",null);e.a=i.exports},function(t,e,n){"use strict";var a={props:{inputName:String,title:String,index:Number,transactionType:String,error:Array,accountName:{type:String,default:""},accountTypeFilters:{type:Array,default:function(){return[]}},defaultAccountTypeFilters:{type:Array,default:function(){return[]}}},data:function(){return{accountAutoCompleteURI:null,name:null,trType:this.transactionType,target:null,inputDisabled:!1,allowedTypes:this.accountTypeFilters,defaultAllowedTypes:this.defaultAccountTypeFilters}},ready:function(){this.name=this.accountName},mounted:function(){this.target=this.$refs.input;var t=this.allowedTypes.join(",");this.name=this.accountName,this.accountAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/accounts?types="+t+"&search=",this.triggerTransactionType()},watch:{transactionType:function(){this.triggerTransactionType()},accountTypeFilters:function(){var t=this.accountTypeFilters.join(",");0===this.accountTypeFilters.length&&(t=this.defaultAccountTypeFilters.join(",")),this.accountAutoCompleteURI=document.getElementsByTagName("base")[0].href+"json/accounts?types="+t+"&search="},name:function(){}},methods:{hasError:function(){return this.error.length>0},triggerTransactionType:function(){if(this.name,null!==this.transactionType&&""!==this.transactionType&&(this.inputDisabled=!1,""!==this.transactionType.toString()&&this.index>0)){if("transfer"===this.transactionType.toString().toLowerCase())return void(this.inputDisabled=!0);if("withdrawal"===this.transactionType.toString().toLowerCase()&&"source"===this.inputName.substr(0,6).toLowerCase())return void(this.inputDisabled=!0);"deposit"===this.transactionType.toString().toLowerCase()&&"destination"===this.inputName.substr(0,11).toLowerCase()&&(this.inputDisabled=!0)}},selectedItem:function(t){void 0!==this.name&&("string"==typeof this.name&&this.$emit("clear:value"),this.$emit("select:account",this.name))},clearSource:function(t){this.name="",this.$emit("clear:value")},handleEnter:function(t){13===t.keyCode&&t.preventDefault()}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{type:"text",placeholder:t.title,"data-index":t.index,autocomplete:"off","data-role":"input",disabled:t.inputDisabled,name:t.inputName,title:t.title},on:{keypress:t.handleEnter,submit:function(t){t.preventDefault()}}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:t.clearSource}},[n("i",{staticClass:"fa fa-trash-o"})])])]),t._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":t.accountAutoCompleteURI,target:t.target,"item-key":"name_with_balance"},on:{input:t.selectedItem},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)])}),[],!1,null,"67fe0472",null);e.a=i.exports},function(t,e,n){"use strict";var a={name:"Budget",props:{transactionType:String,value:{type:[String,Number],default:0},error:Array,no_budget:String},mounted:function(){this.loadBudgets()},data:function(){return{selected:this.value,budgets:[]}},methods:{signalChange:function(t){this.$emit("input",this.$refs.budget.value)},handleInput:function(t){this.$emit("input",this.$refs.budget.value)},hasError:function(){return this.error.length>0},loadBudgets:function(){var t=this,e=document.getElementsByTagName("base")[0].href+"json/budgets";axios.get(e,{}).then((function(e){for(var n in t.budgets=[{name:t.no_budget,id:0}],e.data)e.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&t.budgets.push(e.data[n])}))}}},r=n(0),i=Object(r.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return void 0===this.transactionType||"withdrawal"===this.transactionType||"Withdrawal"===this.transactionType||""===this.transactionType||null===this.transactionType?n("div",{staticClass:"form-group",class:{"has-error":t.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[t._v("\n "+t._s(t.$t("firefly.budget"))+"\n ")]),t._v(" "),n("div",{staticClass:"col-sm-12"},[this.budgets.length>0?n("select",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],ref:"budget",staticClass:"form-control",attrs:{name:"budget[]",title:t.$t("firefly.budget")},on:{input:t.handleInput,change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selected=e.target.multiple?n:n[0]},t.signalChange]}},t._l(this.budgets,(function(e){return n("option",{attrs:{label:e.name},domProps:{value:e.id}},[t._v(t._s(e.name)+"\n ")])})),0):t._e(),t._v(" "),t._l(this.error,(function(e){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[t._v(t._s(e))])])}))],2)]):t._e()}),[],!1,null,"05ce99a6",null);e.a=i.exports},,,,,function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Chyba!","flash_success":"Úspěšně dokončeno!","close":"Zavřít","split_transaction_title":"Popis rozúčtování","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Rozdělit","transaction_journal_information":"Informace o transakci","source_account":"Zdrojový účet","destination_account":"Cílový účet","add_another_split":"Přidat další rozúčtování","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Odeslat","amount":"Částka","date":"Datum","tags":"Štítky","no_budget":"(žádný rozpočet)","category":"Kategorie","attachments":"Přílohy","notes":"Poznámky","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"Pokud vytvoříte rozúčtování, je třeba, aby zde byl celkový popis pro všechna rozúčtování dané transakce.","none_in_select_list":"(žádné)","no_piggy_bank":"(no piggy bank)","description":"Popis","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Rozpočet","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Úrokové datum","book_date":"Book date","process_date":"Datum zpracování","due_date":"Datum splatnosti","foreign_amount":"Částka v cizí měně","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení","internal_reference":"Interní reference"},"config":{"html_language":"cs"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Überblick","flash_error":"Fehler!","flash_success":"Geschafft!","close":"Schließen","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Problem bei der Übermittlung. Bitte überprüfen Sie die nachfolgenden Fehler.","split":"Teilen","transaction_journal_information":"Transaktionsinformationen","source_account":"Quellkonto","destination_account":"Zielkonto","add_another_split":"Eine weitere Aufteilung hinzufügen","submission":"Übermittlung","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","reset_after":"Formular nach der Übermittlung zurücksetzen","submit":"Absenden","amount":"Betrag","date":"Datum","tags":"Schlagwörter","no_budget":"(kein Budget)","category":"Kategorie","attachments":"Anhänge","notes":"Notizen","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","store_as_new":"Als neue Buchung speichern statt zu aktualisieren.","split_title_help":"Wenn Sie eine Splittbuchung anlegen, muss es eine eindeutige Beschreibung für alle Aufteilungen der Buchhaltung geben.","none_in_select_list":"(Keine)","no_piggy_bank":"(kein Sparschwein)","description":"Beschreibung","split_transaction_title_help":"Wenn Sie eine Splittbuchung anlegen, muss es eine eindeutige Beschreibung für alle Aufteilungen der Buchung geben.","destination_account_reconciliation":"Sie können das Zielkonto einer Kontenausgleichsbuchung nicht bearbeiten.","source_account_reconciliation":"Sie können das Quellkonto einer Kontenausgleichsbuchung nicht bearbeiten.","budget":"Budget","you_create_withdrawal":"Sie haben eine Auszahlung erstellt.","you_create_transfer":"Sie haben eine Buchung erstellt.","you_create_deposit":"Sie haben eine Einzahlung erstellt."},"form":{"interest_date":"Zinstermin","book_date":"Buchungsdatum","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","foreign_amount":"Ausländischer Betrag","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum","internal_reference":"Interner Verweis"},"config":{"html_language":"de"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Error!","flash_success":"Success!","close":"Close","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Split","transaction_journal_information":"Transaction information","source_account":"Source account","destination_account":"Destination account","add_another_split":"Add another split","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Submit","amount":"Amount","date":"Date","tags":"Tags","no_budget":"(no budget)","category":"Category","attachments":"Attachments","notes":"Notes","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","none_in_select_list":"(none)","no_piggy_bank":"(no piggy bank)","description":"Description","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Budget","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","foreign_amount":"Foreign amount","payment_date":"Payment date","invoice_date":"Invoice date","internal_reference":"Internal reference"},"config":{"html_language":"en"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"¿Qué está pasando?","flash_error":"¡Error!","flash_success":"¡Operación correcta!","close":"Cerrar","split_transaction_title":"Descripción de la transacción dividida","errors_submission":"Hubo algo malo con su envío. Por favor, revise los errores de abajo.","split":"Separar","transaction_journal_information":"Información de transacción","source_account":"Cuenta origen","destination_account":"Cuenta destino","add_another_split":"Añadir otra división","submission":"Envío","create_another":"Después de guardar, vuelve aquí para crear otro.","reset_after":"Restablecer formulario después del envío","submit":"Enviar","amount":"Cantidad","date":"Fecha","tags":"Etiquetas","no_budget":"(sin presupuesto)","category":"Categoria","attachments":"Archivos adjuntos","notes":"Notas","update_transaction":"Actualizar transacción","after_update_create_another":"Después de actualizar, vuelve aquí para continuar editando.","store_as_new":"Almacenar como una nueva transacción en lugar de actualizar.","split_title_help":"Si crea una transacción dividida, debe haber una descripción global para todos los fragmentos de la transacción.","none_in_select_list":"(ninguno)","no_piggy_bank":"(sin alcancía)","description":"Descripción","split_transaction_title_help":"Si crea una transacción dividida, debe existir una descripción global para todas las divisiones de la transacción.","destination_account_reconciliation":"No puede editar la cuenta de destino de una transacción de reconciliación.","source_account_reconciliation":"No puede editar la cuenta de origen de una transacción de reconciliación.","budget":"Presupuesto","you_create_withdrawal":"Está creando un retiro.","you_create_transfer":"Está creando una transferencia.","you_create_deposit":"Está creando un depósito."},"form":{"interest_date":"Fecha de interés","book_date":"Fecha de registro","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","foreign_amount":"Cantidad extranjera","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura","internal_reference":"Referencia interna"},"config":{"html_language":"es"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Que se passe-t-il ?","flash_error":"Erreur !","flash_success":"Terminé avec succès !","close":"Fermer","split_transaction_title":"Description de l\'opération ventilée","errors_submission":"Certaines informations ne sont pas correctes dans votre formulaire. Veuillez vérifier les erreurs ci-dessous.","split":"Ventiler","transaction_journal_information":"Informations sur les opérations","source_account":"Compte source","destination_account":"Compte de destination","add_another_split":"Ajouter une autre fraction","submission":"Soumission","create_another":"Après enregistrement, revenir ici pour en créer un nouveau.","reset_after":"Réinitialiser le formulaire après soumission","submit":"Soumettre","amount":"Montant","date":"Date","tags":"Tags","no_budget":"(pas de budget)","category":"Catégorie","attachments":"Pièces jointes","notes":"Notes","update_transaction":"Mettre à jour l\'opération","after_update_create_another":"Après la mise à jour, revenir ici pour continuer l\'édition.","store_as_new":"Enregistrer comme une nouvelle opération au lieu de mettre à jour.","split_title_help":"Si vous créez une opération ventilée, il doit y avoir une description globale pour chaque fractions de l\'opération.","none_in_select_list":"(aucun)","no_piggy_bank":"(aucune tirelire)","description":"Description","split_transaction_title_help":"Si vous créez une opération ventilée, il doit y avoir une description globale pour chaque fraction de l\'opération.","destination_account_reconciliation":"Vous ne pouvez pas modifier le compte de destination d\'une opération de rapprochement.","source_account_reconciliation":"Vous ne pouvez pas modifier le compte source d\'une opération de rapprochement.","budget":"Budget","you_create_withdrawal":"Vous saisissez une dépense.","you_create_transfer":"Vous saisissez un transfert.","you_create_deposit":"Vous saisissez un dépôt."},"form":{"interest_date":"Date de valeur (intérêts)","book_date":"Date de réservation","process_date":"Date de traitement","due_date":"Échéance","foreign_amount":"Montant en devise étrangère","payment_date":"Date de paiement","invoice_date":"Date de facturation","internal_reference":"Référence interne"},"config":{"html_language":"fr"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Hiba!","flash_success":"Siker!","close":"Bezárás","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Felosztás","transaction_journal_information":"Tranzakciós információk","source_account":"Forrás számla","destination_account":"Célszámla","add_another_split":"Másik felosztás hozzáadása","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Beküldés","amount":"Összeg","date":"Dátum","tags":"Címkék","no_budget":"(nincs költségkeret)","category":"Kategória","attachments":"Mellékletek","notes":"Megjegyzések","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"Felosztott tranzakció létrehozásakor meg kell adni egy globális leírást a tranzakció összes felosztása részére.","none_in_select_list":"(nincs)","no_piggy_bank":"(no piggy bank)","description":"Leírás","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Költségkeret","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Kamatfizetési időpont","book_date":"Könyvelés dátuma","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","foreign_amount":"Foreign amount","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma","internal_reference":"Belső hivatkozás"},"config":{"html_language":"hu"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Kesalahan!","flash_success":"Keberhasilan!","close":"Dekat","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Pisah","transaction_journal_information":"Informasi transaksi","source_account":"Source account","destination_account":"Destination account","add_another_split":"Tambahkan perpecahan lagi","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Menyerahkan","amount":"Jumlah","date":"Tanggal","tags":"Tag","no_budget":"(no budget)","category":"Kategori","attachments":"Lampiran","notes":"Notes","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","none_in_select_list":"(none)","no_piggy_bank":"(no piggy bank)","description":"Deskripsi","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Anggaran","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Tanggal bunga","book_date":"Tanggal buku","process_date":"Tanggal pemrosesan","due_date":"Batas tanggal terakhir","foreign_amount":"Foreign amount","payment_date":"Tanggal pembayaran","invoice_date":"Tanggal faktur","internal_reference":"Referensi internal"},"config":{"html_language":"id"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"La tua situazione finanziaria","flash_error":"Errore!","flash_success":"Successo!","close":"Chiudi","split_transaction_title":"Descrizione della transazione suddivisa","errors_submission":"Errore durante l\'invio. Controlla gli errori segnalati qui sotto.","split":"Dividi","transaction_journal_information":"Informazioni transazione","source_account":"Conto di origine","destination_account":"Conto destinazione","add_another_split":"Aggiungi un\'altra divisione","submission":"Invio","create_another":"Dopo il salvataggio, torna qui per crearne un\'altra.","reset_after":"Resetta il modulo dopo l\'invio","submit":"Invia","amount":"Conto","date":"Data","tags":"Etichette","no_budget":"(nessun budget)","category":"Categoria","attachments":"Allegati","notes":"Note","update_transaction":"Aggiorna transazione","after_update_create_another":"Dopo l\'aggiornamento, torna qui per continuare la modifica.","store_as_new":"Salva come nuova transazione invece di aggiornarla.","split_title_help":"Se crei una transazione suddivisa è necessario che ci sia una descrizione globale per tutte le suddivisioni della transazione.","none_in_select_list":"(nessuna)","no_piggy_bank":"(nessun salvadanaio)","description":"Descrizione","split_transaction_title_help":"Se crei una transazione suddivisa, è necessario che ci sia una descrizione globale per tutte le suddivisioni della transazione.","destination_account_reconciliation":"Non è possibile modificare il conto di destinazione di una transazione di riconciliazione.","source_account_reconciliation":"Non puoi modificare il conto di origine di una transazione di riconciliazione.","budget":"Budget","you_create_withdrawal":"Stai creando un prelievo.","you_create_transfer":"Stai creando un trasferimento.","you_create_deposit":"Stai creando un deposito."},"form":{"interest_date":"Data interesse","book_date":"Data contabile","process_date":"Data elaborazione","due_date":"Data scadenza","foreign_amount":"Importo estero","payment_date":"Data pagamento","invoice_date":"Data fatturazione","internal_reference":"Riferimento interno"},"config":{"html_language":"it"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Hoe staat het er voor?","flash_error":"Fout!","flash_success":"Gelukt!","close":"Sluiten","split_transaction_title":"Beschrijving van de gesplitste transactie","errors_submission":"Er ging iets mis. Check de errors.","split":"Splitsen","transaction_journal_information":"Transactieinformatie","source_account":"Bronrekening","destination_account":"Doelrekening","add_another_split":"Voeg een split toe","submission":"Indienen","create_another":"Terug naar deze pagina voor een nieuwe transactie.","reset_after":"Reset formulier na opslaan","submit":"Invoeren","amount":"Bedrag","date":"Datum","tags":"Tags","no_budget":"(geen budget)","category":"Categorie","attachments":"Bijlagen","notes":"Notities","update_transaction":"Update transactie","after_update_create_another":"Na het opslaan terug om door te gaan met wijzigen.","store_as_new":"Opslaan als nieuwe transactie ipv de huidige bij te werken.","split_title_help":"Als je een gesplitste transactie maakt, moet er een algemene beschrijving zijn voor alle splitsingen van de transactie.","none_in_select_list":"(geen)","no_piggy_bank":"(geen spaarpotje)","description":"Omschrijving","split_transaction_title_help":"Als je een gesplitste transactie maakt, moet er een algemene beschrijving zijn voor alle splitsingen van de transactie.","destination_account_reconciliation":"Je kan de doelrekening van een afstemming niet wijzigen.","source_account_reconciliation":"Je kan de bronrekening van een afstemming niet wijzigen.","budget":"Budget","you_create_withdrawal":"Je maakt een uitgave.","you_create_transfer":"Je maakt een overschrijving.","you_create_deposit":"Je maakt inkomsten."},"form":{"interest_date":"Rentedatum","book_date":"Boekdatum","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","foreign_amount":"Bedrag in vreemde valuta","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum","internal_reference":"Interne verwijzing"},"config":{"html_language":"nl"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Hvordan går det?","flash_error":"Feil!","flash_success":"Suksess!","close":"Lukk","split_transaction_title":"Description of the split transaction","split":"Del opp","transaction_journal_information":"Transaksjonsinformasjon","source_account":"Source account","destination_account":"Destination account","add_another_split":"Legg til en oppdeling til","submit":"Send inn","amount":"Beløp","no_budget":"(ingen budsjett)","category":"Kategori","attachments":"Vedlegg","notes":"Notater"},"form":{"interest_date":"Rentedato","book_date":"Bokføringsdato","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato","internal_reference":"Intern referanse"},"config":{"html_language":"no"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Co jest grane?","flash_error":"Błąd!","flash_success":"Sukces!","close":"Zamknij","split_transaction_title":"Opis podzielonej transakcji","errors_submission":"Coś poszło nie tak w czasie zapisu. Proszę sprawdź błędy poniżej.","split":"Podziel","transaction_journal_information":"Informacje o transakcji","source_account":"Konto źródłowe","destination_account":"Konto docelowe","add_another_split":"Dodaj kolejny podział","submission":"Zapisz","create_another":"Po zapisaniu wróć tutaj, aby utworzyć kolejny.","reset_after":"Wyczyść formularz po zapisaniu","submit":"Prześlij","amount":"Kwota","date":"Data","tags":"Tagi","no_budget":"(brak budżetu)","category":"Kategoria","attachments":"Załączniki","notes":"Notatki","update_transaction":"Zaktualizuj transakcję","after_update_create_another":"Po aktualizacji wróć tutaj, aby kontynuować edycję.","store_as_new":"Zapisz jako nową zamiast aktualizować.","split_title_help":"Podzielone transakcje muszą posiadać globalny opis.","none_in_select_list":"(żadne)","no_piggy_bank":"(brak skarbonki)","description":"Opis","split_transaction_title_help":"Jeśli tworzysz podzieloną transakcję, musi ona posiadać globalny opis dla wszystkich podziałów w transakcji.","destination_account_reconciliation":"Nie możesz edytować konta docelowego transakcji uzgadniania.","source_account_reconciliation":"Nie możesz edytować konta źródłowego transakcji uzgadniania.","budget":"Budżet","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Data odsetek","book_date":"Data księgowania","process_date":"Data przetworzenia","due_date":"Termin realizacji","foreign_amount":"Kwota zagraniczna","payment_date":"Data płatności","invoice_date":"Data faktury","internal_reference":"Wewnętrzny numer"},"config":{"html_language":"pl"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Mitä kuuluu?","flash_error":"Virhe!","flash_success":"Valmista tuli!","close":"Sulje","split_transaction_title":"Jaetun tapahtuman kuvaus","errors_submission":"Lomakkeen tiedoissa oli puutteita - alta löydät listan puutteista.","split":"Jaa","transaction_journal_information":"Tapahtumatiedot","source_account":"Lähdetili","destination_account":"Kohdetili","add_another_split":"Lisää tapahtumaan uusi osa","submission":"Vahvistus","create_another":"Tallennuksen jälkeen, palaa takaisin luomaan uusi tapahtuma.","reset_after":"Tyhjennä lomake lähetyksen jälkeen","submit":"Vahvista","amount":"Summa","date":"Päivämäärä","tags":"Tägit","no_budget":"(ei budjettia)","category":"Kategoria","attachments":"Liitteet","notes":"Muistiinpanot","update_transaction":"Päivitä tapahtuma","after_update_create_another":"Päivityksen jälkeen, palaa takaisin jatkamaan muokkausta.","store_as_new":"Tallenna uutena tapahtumana päivityksen sijaan.","split_title_help":"Jos luot jaetun tapahtuman, kokonaisuudelle tarvitaan nimi.","none_in_select_list":"(ei mitään)","no_piggy_bank":"(ei säästöpossu)","description":"Kuvaus","split_transaction_title_help":"Jos luot jaetun tapahtuman, kokonaisuudelle tarvitaan nimi.","destination_account_reconciliation":"Et voi muokata täsmäytystapahtuman kohdetiliä.","source_account_reconciliation":"Et voi muokata täsmäytystapahtuman lähdetiliä.","budget":"Budjetti","you_create_withdrawal":"Olet luomassa nostoa.","you_create_transfer":"Olet luomassa siirtoa.","you_create_deposit":"Olet luomassa talletusta."},"form":{"interest_date":"Korkopäivä","book_date":"Kirjauspäivä","process_date":"Käsittelypäivä","due_date":"Eräpäivä","foreign_amount":"Ulkomaan summa","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä","internal_reference":"Sisäinen viite"},"config":{"html_language":"fi"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"Erro!","flash_success":"Sucesso!","close":"Fechar","split_transaction_title":"Descrição da transação dividida","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"Dividir","transaction_journal_information":"Informação da transação","source_account":"Conta origem","destination_account":"Conta destino","add_another_split":"Adicionar outra divisão","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"Enviar","amount":"Valor","date":"Data","tags":"Tags","no_budget":"(sem orçamento)","category":"Categoria","attachments":"Anexos","notes":"Notas","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"Se você criar uma transação dividida, é necessário haver uma descrição global para todas as partes da transação.","none_in_select_list":"(nenhum)","no_piggy_bank":"(nenhum cofrinho)","description":"Descrição","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"Orçamento","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Data de interesse","book_date":"Data reserva","process_date":"Data de processamento","due_date":"Data de vencimento","foreign_amount":"Montante em moeda estrangeira","payment_date":"Data de pagamento","invoice_date":"Data da Fatura","internal_reference":"Referência interna"},"config":{"html_language":"pt-br"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Ce se redă?","flash_error":"Eroare!","flash_success":"Succes!","close":"Închide","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"A fost ceva în neregulă cu transmiterea dvs. Vă rugăm să consultați erorile de mai jos.","split":"Împarte","transaction_journal_information":"Informații despre tranzacții","source_account":"Contul sursă","destination_account":"Contul de destinație","add_another_split":"Adăugați o divizare","submission":"Transmitere","create_another":"După stocare, reveniți aici pentru a crea alta.","reset_after":"Resetați formularul după trimitere","submit":"Trimite","amount":"Sumă","date":"Dată","tags":"Etichete","no_budget":"(nici un buget)","category":"Categorie","attachments":"Atașamente","notes":"Notițe","update_transaction":"Actualizați tranzacția","after_update_create_another":"După actualizare, reveniți aici pentru a continua editarea.","store_as_new":"Stocați ca o tranzacție nouă în loc să actualizați.","split_title_help":"Dacă creați o tranzacție divizată, trebuie să existe o descriere globală pentru toate diviziunile tranzacției.","none_in_select_list":"(nici unul)","no_piggy_bank":"(nicio pușculiță)","description":"Descriere","split_transaction_title_help":"Dacă creați o tranzacție divizată, trebuie să existe o descriere globală pentru toate diviziunile tranzacției.","destination_account_reconciliation":"Nu puteți edita contul de destinație al unei tranzacții de reconciliere.","source_account_reconciliation":"Nu puteți edita contul sursă al unei tranzacții de reconciliere.","budget":"Buget","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Data de interes","book_date":"Rezervă dată","process_date":"Data procesării","due_date":"Data scadentă","foreign_amount":"Sumă străină","payment_date":"Data de plată","invoice_date":"Data facturii","internal_reference":"Referință internă"},"config":{"html_language":"ro"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Что происходит с моими финансами?","flash_error":"Ошибка!","flash_success":"Успешно!","close":"Закрыть","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке произошла ошибка. Пожалуйста, проверьте ошибки ниже.","split":"Разделить","transaction_journal_information":"Информация о транзакции","source_account":"Счёт-источник","destination_account":"Счёт назначения","add_another_split":"Добавить новую часть","submission":"Отправить","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","reset_after":"Сбросить форму после отправки","submit":"Подтвердить","amount":"Сумма","date":"Дата","tags":"Метки","no_budget":"(вне бюджета)","category":"Категория","attachments":"Вложения","notes":"Заметки","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","store_as_new":"Сохранить как новую транзакцию вместо обновления.","split_title_help":"Если вы создаёте разделённую транзакцию, то должны указать общее описание дле всех её составляющих.","none_in_select_list":"(нет)","no_piggy_bank":"(нет копилки)","description":"Описание","split_transaction_title_help":"Если вы создаёте разделённую транзакцию, то должны указать общее описание для всех её составляющих.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"Вы не можете редактировать исходный аккаунт сверки.","budget":"Бюджет","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Дата выплаты","book_date":"Дата бронирования","process_date":"Дата обработки","due_date":"Срок","foreign_amount":"Сумма в иностранной валюте","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта","internal_reference":"Внутренняя ссылка"},"config":{"html_language":"ru"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"吃饱没?","flash_error":"错误!","flash_success":"成功!","close":"关闭","split_transaction_title":"拆分交易的描述","split":"分割","transaction_journal_information":"交易资讯","source_account":"来源帐户","destination_account":"目标帐户","add_another_split":"增加拆分","submit":"送出","amount":"金额","no_budget":"(无预算)","category":"分类","attachments":"附加档案","notes":"注释"},"form":{"interest_date":"利率日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期","internal_reference":"内部参考"},"config":{"html_language":"zh"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"What\'s playing?","flash_error":"錯誤!","flash_success":"成功!","close":"關閉","split_transaction_title":"拆分交易的描述","errors_submission":"There was something wrong with your submission. Please check out the errors below.","split":"分割","transaction_journal_information":"交易資訊","source_account":"Source account","destination_account":"Destination account","add_another_split":"增加拆分","submission":"Submission","create_another":"After storing, return here to create another one.","reset_after":"Reset form after submission","submit":"送出","amount":"金額","date":"日期","tags":"標籤","no_budget":"(無預算)","category":"分類","attachments":"附加檔案","notes":"備註","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","store_as_new":"Store as a new transaction instead of updating.","split_title_help":"若您建立一筆拆分交易,須有一個有關交易所有拆分的整體描述。","none_in_select_list":"(空)","no_piggy_bank":"(no piggy bank)","description":"描述","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"You can\'t edit the destination account of a reconciliation transaction.","source_account_reconciliation":"You can\'t edit the source account of a reconciliation transaction.","budget":"預算","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"利率日期","book_date":"登記日期","process_date":"處理日期","due_date":"到期日","foreign_amount":"外幣金額","payment_date":"付款日期","invoice_date":"發票日期","internal_reference":"內部參考"},"config":{"html_language":"zh-tw"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"今天理财了吗?","flash_error":"错误!","flash_success":"成功!","close":"关闭","split_transaction_title":"拆分交易的描述","errors_submission":"您的提交有误,请查看下面输出的错误信息。","split":"分割","transaction_journal_information":"交易资讯","source_account":"来源帐户","destination_account":"目标帐户","add_another_split":"增加拆分","submission":"提交","create_another":"保存后,返回此页面创建另一笔记录。","reset_after":"提交后重置表单","submit":"提交","amount":"金额","date":"日期","tags":"标签","no_budget":"(无预算)","category":"分类","attachments":"附加档案","notes":"注释","update_transaction":"更新交易","after_update_create_another":"更新后,返回此页面继续编辑。","store_as_new":"保存为新交易而不是更新此交易。","split_title_help":"如果您创建一个拆分交易,必须有一个全局的交易描述。","none_in_select_list":"(空)","no_piggy_bank":"(无存钱罐)","description":"描述","split_transaction_title_help":"如果您创建了一个分割交易,交易的所有分割项都必须有全局描述。","destination_account_reconciliation":"您不能编辑对账交易的目标账户","source_account_reconciliation":"您不能编辑对账交易的源账户","budget":"预算","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"利率日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","foreign_amount":"外币金额","payment_date":"付款日期","invoice_date":"发票日期","internal_reference":"内部参考"},"config":{"html_language":"zh-cn"}}')},function(t){t.exports=JSON.parse('{"firefly":{"welcome_back":"Vad spelas?","flash_error":"Fel!","flash_success":"Slutförd!","close":"Stäng","split_transaction_title":"Description of the split transaction","errors_submission":"Något fel uppstod med inskickningen. Vänligen kontrollera felen nedan.","split":"Dela","transaction_journal_information":"Transaktionsinformation","source_account":"Från konto","destination_account":"Till konto","add_another_split":"Lägga till en annan delning","submission":"Inskickning","create_another":"Efter sparat, återkom hit för att skapa ytterligare en.","reset_after":"Återställ formulär efter inskickat","submit":"Skicka","amount":"Belopp","date":"Datum","tags":"Etiketter","no_budget":"(ingen budget)","category":"Kategori","attachments":"Bilagor","notes":"Noteringar","update_transaction":"Uppdatera transaktion","after_update_create_another":"Efter uppdaterat, återkom hit för att fortsätta redigera.","store_as_new":"Spara en ny transaktion istället för att uppdatera.","split_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","none_in_select_list":"(Ingen)","no_piggy_bank":"(ingen spargris)","description":"Beskrivning","split_transaction_title_help":"If you create a split transaction, there must be a global description for all splits of the transaction.","destination_account_reconciliation":"Du kan inte redigera destinationskontot för en avstämningstransaktion.","source_account_reconciliation":"Du kan inte redigera källkontot för en avstämningstransaktion.","budget":"Budget","you_create_withdrawal":"You\'re creating a withdrawal.","you_create_transfer":"You\'re creating a transfer.","you_create_deposit":"You\'re creating a deposit."},"form":{"interest_date":"Räntedatum","book_date":"Bokföringsdatum","process_date":"Behandlingsdatum","due_date":"Förfallodatum","foreign_amount":"Utländskt belopp","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum","internal_reference":"Intern referens"},"config":{"html_language":"sv"}}')},,,,,,,,,,,,function(t,e,n){t.exports=n(91)},,,,,,,,,,,function(t,e,n){"use strict";n.r(e);var a=n(30),r={name:"EditTransaction",props:{groupId:Number},mounted:function(){this.getGroup()},ready:function(){},methods:{positiveAmount:function(t){return t<0?-1*t:t},roundNumber:function(t,e){var n=Math.pow(10,e);return Math.round(t*n)/n},selectedSourceAccount:function(t,e){if("string"==typeof e)return this.transactions[t].source_account.id=null,void(this.transactions[t].source_account.name=e);this.transactions[t].source_account={id:e.id,name:e.name,type:e.type,currency_id:e.currency_id,currency_name:e.currency_name,currency_code:e.currency_code,currency_decimal_places:e.currency_decimal_places,allowed_types:this.transactions[t].source_account.allowed_types}},selectedDestinationAccount:function(t,e){if("string"==typeof e)return this.transactions[t].destination_account.id=null,void(this.transactions[t].destination_account.name=e);this.transactions[t].destination_account={id:e.id,name:e.name,type:e.type,currency_id:e.currency_id,currency_name:e.currency_name,currency_code:e.currency_code,currency_decimal_places:e.currency_decimal_places,allowed_types:this.transactions[t].destination_account.allowed_types}},clearSource:function(t){this.transactions[t].source_account={id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:this.transactions[t].source_account.allowed_types},this.transactions[t].destination_account&&this.selectedDestinationAccount(t,this.transactions[t].destination_account)},setTransactionType:function(t){null!==t&&(this.transactionType=t)},deleteTransaction:function(t,e){for(var n in e.preventDefault(),this.transactions)this.transactions.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n);for(var a in this.transactions.splice(t,1),this.transactions)this.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)},clearDestination:function(t){this.transactions[t].destination_account={id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:this.transactions[t].destination_account.allowed_types},this.transactions[t].source_account&&this.selectedSourceAccount(t,this.transactions[t].source_account)},getGroup:function(){var t=this,e=window.location.href.split("/"),n="./api/v1/transactions/"+e[e.length-1]+"?_token="+document.head.querySelector('meta[name="csrf-token"]').content;axios.get(n).then((function(e){t.processIncomingGroup(e.data.data)})).catch((function(t){}))},processIncomingGroup:function(t){this.group_title=t.attributes.group_title;var e=t.attributes.transactions.reverse();for(var n in e)if(e.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294){var a=e[n];this.processIncomingGroupRow(a)}},processIncomingGroupRow:function(t){this.setTransactionType(t.type);var e=[];for(var n in t.tags)t.tags.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&e.push({text:t.tags[n],tiClasses:[]});this.transactions.push({transaction_journal_id:t.transaction_journal_id,description:t.description,date:t.date.substr(0,10),amount:this.roundNumber(this.positiveAmount(t.amount),t.currency_decimal_places),category:t.category_name,errors:{source_account:[],destination_account:[],description:[],amount:[],date:[],budget_id:[],foreign_amount:[],category:[],piggy_bank:[],tags:[],custom_errors:{interest_date:[],book_date:[],process_date:[],due_date:[],payment_date:[],invoice_date:[],internal_reference:[],notes:[],attachments:[]}},budget:t.budget_id,tags:e,custom_fields:{interest_date:t.interest_date,book_date:t.book_date,process_date:t.process_date,due_date:t.due_date,payment_date:t.payment_date,invoice_date:t.invoice_date,internal_reference:t.internal_reference,notes:t.notes},foreign_amount:{amount:this.roundNumber(this.positiveAmount(t.foreign_amount),t.foreign_currency_decimal_places),currency_id:t.foreign_currency_id},source_account:{id:t.source_id,name:t.source_name,type:t.source_type,currency_id:t.currency_id,currency_name:t.currency_name,currency_code:t.currency_code,currency_decimal_places:t.currency_decimal_places,allowed_types:[t.source_type]},destination_account:{id:t.destination_id,name:t.destination_name,type:t.destination_type,currency_id:t.currency_id,currency_name:t.currency_name,currency_code:t.currency_code,currency_decimal_places:t.currency_decimal_places,allowed_types:[t.destination_type]}})},convertData:function(){var t,e,n,a={transactions:[]};for(var r in this.transactions.length>1&&(a.group_title=this.group_title),t=this.transactionType?this.transactionType.toLowerCase():"invalid",e=this.transactions[0].source_account.type,n=this.transactions[0].destination_account.type,"invalid"===t&&["Asset account","Loan","Debt","Mortgage"].includes(e)&&(t="withdrawal"),"invalid"===t&&["Asset account","Loan","Debt","Mortgage"].includes(n)&&(t="deposit"),this.transactions)this.transactions.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294&&a.transactions.push(this.convertDataRow(this.transactions[r],r,t));return a},convertDataRow:function(t,e,n){var a,r,i,o,s,c,u=[],l=null,A=null;for(var d in r=t.source_account.id,i=t.source_account.name,o=t.destination_account.id,s=t.destination_account.name,c=t.date,e>0&&(c=this.transactions[0].date),"withdrawal"===n&&""===s&&(o=window.cashAccountId),"deposit"===n&&""===i&&(r=window.cashAccountId),e>0&&("withdrawal"===n.toLowerCase()||"transfer"===n.toLowerCase())&&(r=this.transactions[0].source_account.id,i=this.transactions[0].source_account.name),e>0&&("deposit"===n.toLowerCase()||"transfer"===n.toLowerCase())&&(o=this.transactions[0].destination_account.id,s=this.transactions[0].destination_account.name),u=[],l=null,A=null,t.tags)t.tags.hasOwnProperty(d)&&/^0$|^[1-9]\d*$/.test(d)&&d<=4294967294&&u.push(t.tags[d].text);return""!==t.foreign_amount.amount&&0!==parseFloat(t.foreign_amount.amount)&&(l=t.foreign_amount.amount,A=t.foreign_amount.currency_id),A===t.currency_id&&(l=null,A=null),0===o&&(o=null),0===r&&(r=null),a={transaction_journal_id:t.transaction_journal_id,type:n,date:c,amount:t.amount,currency_id:t.currency_id,description:t.description,source_id:r,source_name:i,destination_id:o,destination_name:s,category_name:t.category,interest_date:t.custom_fields.interest_date,book_date:t.custom_fields.book_date,process_date:t.custom_fields.process_date,due_date:t.custom_fields.due_date,payment_date:t.custom_fields.payment_date,invoice_date:t.custom_fields.invoice_date,internal_reference:t.custom_fields.internal_reference,notes:t.custom_fields.notes,tags:u},null!==l&&(a.foreign_amount=l,a.foreign_currency_id=A),a.budget_id=parseInt(t.budget),parseInt(t.piggy_bank)>0&&(a.piggy_bank_id=parseInt(t.piggy_bank)),a},submit:function(t){var e=this,n=window.location.href.split("/"),a="./api/v1/transactions/"+n[n.length-1]+"?_token="+document.head.querySelector('meta[name="csrf-token"]').content,r="PUT";this.storeAsNew&&(a="./api/v1/transactions?_token="+document.head.querySelector('meta[name="csrf-token"]').content,r="POST");var i=this.convertData(),o=$("#submitButton");o.prop("disabled",!0),axios({method:r,url:a,data:i}).then((function(t){0===e.collectAttachmentData(t)&&e.redirectUser(t.data.data.id)})).catch((function(t){e.parseErrors(t.response.data)})),t&&t.preventDefault(),o.removeAttr("disabled")},redirectUser:function(t){this.returnAfter?(this.setDefaultErrors(),this.storeAsNew?(this.success_message='Transaction #'+t+" has been created.",this.error_message=""):(this.success_message='The transaction has been updated.',this.error_message="")):this.storeAsNew?window.location.href=window.previousUri+"?transaction_group_id="+t+"&message=created":window.location.href=window.previousUri+"?transaction_group_id="+t+"&message=updated"},collectAttachmentData:function(t){var e=this,n=t.data.data.id,a=[],r=[],i=$('input[name="attachments[]"]');for(var o in i)if(i.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294)for(var s in i[o].files)if(i[o].files.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294){var c=t.data.data.attributes.transactions.reverse();a.push({journal:c[o].transaction_journal_id,file:i[o].files[s]})}var u=a.length,l=function(t){var i,o,s;a.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&(i=a[t],o=e,(s=new FileReader).onloadend=function(e){e.target.readyState===FileReader.DONE&&(r.push({name:a[t].file.name,journal:a[t].journal,content:new Blob([e.target.result])}),r.length===u&&o.uploadFiles(r,n))},s.readAsArrayBuffer(i.file))};for(var A in a)l(A);return u},uploadFiles:function(t,e){var n=this,a=t.length,r=0,i=function(i){if(t.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294){var o={filename:t[i].name,attachable_type:"TransactionJournal",attachable_id:t[i].journal};axios.post("./api/v1/attachments",o).then((function(o){var s="./api/v1/attachments/"+o.data.data.id+"/upload";axios.post(s,t[i].content).then((function(t){return++r===a&&n.redirectUser(e,null),!0})).catch((function(t){return console.error("Could not upload file."),console.error(t),r++,n.error_message="Could not upload attachment: "+t,r===a&&n.redirectUser(e,null),!1}))}))}};for(var o in t)i(o)},addTransaction:function(t){this.transactions.push({transaction_journal_id:0,description:"",date:"",amount:"",category:"",piggy_bank:0,errors:{source_account:[],destination_account:[],description:[],amount:[],date:[],budget_id:[],foreign_amount:[],category:[],piggy_bank:[],tags:[],custom_errors:{interest_date:[],book_date:[],process_date:[],due_date:[],payment_date:[],invoice_date:[],internal_reference:[],notes:[],attachments:[]}},budget:0,tags:[],custom_fields:{interest_date:"",book_date:"",process_date:"",due_date:"",payment_date:"",invoice_date:"",internal_reference:"",notes:"",attachments:[]},foreign_amount:{amount:"",currency_id:0},source_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:[]},destination_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:[]}}),t&&t.preventDefault()},parseErrors:function(t){var e,n;for(var a in this.setDefaultErrors(),this.error_message="",t.message.length>0?this.error_message=this.$t("firefly.errors_submission"):this.error_message="",t.errors)if(t.errors.hasOwnProperty(a)&&("group_title"===a&&(this.group_title_errors=t.errors[a]),"group_title"!==a)){switch(e=parseInt(a.split(".")[1]),n=a.split(".")[2]){case"amount":case"date":case"budget_id":case"description":case"tags":this.transactions[e].errors[n]=t.errors[a];break;case"source_name":case"source_id":this.transactions[e].errors.source_account=this.transactions[e].errors.source_account.concat(t.errors[a]);break;case"destination_name":case"destination_id":this.transactions[e].errors.destination_account=this.transactions[e].errors.destination_account.concat(t.errors[a]);break;case"foreign_amount":case"foreign_currency_id":this.transactions[e].errors.foreign_amount=this.transactions[e].errors.foreign_amount.concat(t.errors[a])}this.transactions[e].errors.source_account=Array.from(new Set(this.transactions[e].errors.source_account)),this.transactions[e].errors.destination_account=Array.from(new Set(this.transactions[e].errors.destination_account))}},setDefaultErrors:function(){for(var t in this.transactions)this.transactions.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294&&(this.transactions[t].errors={source_account:[],destination_account:[],description:[],amount:[],date:[],budget_id:[],foreign_amount:[],category:[],piggy_bank:[],tags:[],custom_errors:{interest_date:[],book_date:[],process_date:[],due_date:[],payment_date:[],invoice_date:[],internal_reference:[],notes:[],attachments:[]}})}},data:function(){return{group:this.groupId,error_message:"",success_message:"",transactions:[],group_title:"",returnAfter:!1,storeAsNew:!1,transactionType:null,group_title_errors:[],resetButtonDisabled:!0}}},i=n(0),o=Object(i.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form",{staticClass:"form-horizontal",attrs:{method:"POST",action:"#","accept-charset":"UTF-8",id:"store",enctype:"multipart/form-data"}},[n("input",{attrs:{name:"_token",type:"hidden",value:"xxx"}}),t._v(" "),""!==t.error_message?n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-12"},[n("div",{staticClass:"alert alert-danger alert-dismissible",attrs:{role:"alert"}},[n("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"alert","aria-label":t.$t("firefly.close")}},[n("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])]),t._v(" "),n("strong",[t._v(t._s(t.$t("firefly.flash_error")))]),t._v(" "+t._s(t.error_message)+"\n ")])])]):t._e(),t._v(" "),""!==t.success_message?n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-12"},[n("div",{staticClass:"alert alert-success alert-dismissible",attrs:{role:"alert"}},[n("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"alert","aria-label":t.$t("firefly.close")}},[n("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])]),t._v(" "),n("strong",[t._v(t._s(t.$t("firefly.flash_success")))]),t._v(" "),n("span",{domProps:{innerHTML:t._s(t.success_message)}})])])]):t._e(),t._v(" "),t.transactions.length>1?n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-6"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title"))+"\n ")])]),t._v(" "),n("div",{staticClass:"box-body"},[n("group-description",{attrs:{error:t.group_title_errors},model:{value:t.group_title,callback:function(e){t.group_title=e},expression:"group_title"}})],1)])])]):t._e(),t._v(" "),n("div",t._l(t.transactions,(function(e,a){return n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-12"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title splitTitle"},[t.transactions.length>1?n("span",[t._v(t._s(t.$t("firefly.split"))+" "+t._s(a+1)+" / "+t._s(t.transactions.length))]):t._e(),t._v(" "),1===t.transactions.length?n("span",[t._v(t._s(t.$t("firefly.transaction_journal_information")))]):t._e()]),t._v(" "),t.transactions.length>1?n("div",{staticClass:"box-tools pull-right",attrs:{x:""}},[n("button",{staticClass:"btn btn-xs btn-danger",attrs:{type:"button"},on:{click:function(e){return t.deleteTransaction(a,e)}}},[n("i",{staticClass:"fa fa-trash"})])]):t._e()]),t._v(" "),n("div",{staticClass:"box-body"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-4"},["reconciliation"!==t.transactionType.toLowerCase()?n("transaction-description",{attrs:{index:a,error:e.errors.description},model:{value:e.description,callback:function(n){t.$set(e,"description",n)},expression:"transaction.description"}}):t._e(),t._v(" "),"reconciliation"!==t.transactionType.toLowerCase()?n("account-select",{attrs:{inputName:"source[]",title:t.$t("firefly.source_account"),accountName:e.source_account.name,accountTypeFilters:e.source_account.allowed_types,transactionType:t.transactionType,index:a,error:e.errors.source_account},on:{"clear:value":function(e){return t.clearSource(a)},"select:account":function(e){return t.selectedSourceAccount(a,e)}}}):t._e(),t._v(" "),"reconciliation"===t.transactionType.toLowerCase()?n("div",{staticClass:"form-group"},[n("div",{staticClass:"col-sm-12"},[n("p",{staticClass:"form-control-static",attrs:{id:"ffInput_source"}},[n("em",[t._v("\n "+t._s(t.$t("firefly.source_account_reconciliation"))+"\n ")])])])]):t._e(),t._v(" "),"reconciliation"!==t.transactionType.toLowerCase()?n("account-select",{attrs:{inputName:"destination[]",title:t.$t("firefly.destination_account"),accountName:e.destination_account.name,accountTypeFilters:e.destination_account.allowed_types,transactionType:t.transactionType,index:a,error:e.errors.destination_account},on:{"clear:value":function(e){return t.clearDestination(a)},"select:account":function(e){return t.selectedDestinationAccount(a,e)}}}):t._e(),t._v(" "),"reconciliation"===t.transactionType.toLowerCase()?n("div",{staticClass:"form-group"},[n("div",{staticClass:"col-sm-12"},[n("p",{staticClass:"form-control-static",attrs:{id:"ffInput_dest"}},[n("em",[t._v("\n "+t._s(t.$t("firefly.destination_account_reconciliation"))+"\n ")])])])]):t._e(),t._v(" "),n("standard-date",{attrs:{index:a,error:e.errors.date},model:{value:e.date,callback:function(n){t.$set(e,"date",n)},expression:"transaction.date"}}),t._v(" "),0===a?n("div",[n("transaction-type",{attrs:{source:e.source_account.type,destination:e.destination_account.type},on:{"set:transactionType":function(e){return t.setTransactionType(e)},"act:limitSourceType":function(e){return t.limitSourceType(e)},"act:limitDestinationType":function(e){return t.limitDestinationType(e)}}})],1):t._e()],1),t._v(" "),n("div",{staticClass:"col-lg-4"},[n("amount",{attrs:{source:e.source_account,destination:e.destination_account,error:e.errors.amount,transactionType:t.transactionType},model:{value:e.amount,callback:function(n){t.$set(e,"amount",n)},expression:"transaction.amount"}}),t._v(" "),"reconciliation"!==t.transactionType.toLowerCase()?n("foreign-amount",{attrs:{source:e.source_account,destination:e.destination_account,transactionType:t.transactionType,error:e.errors.foreign_amount,no_currency:t.$t("firefly.none_in_select_list"),title:t.$t("form.foreign_amount")},model:{value:e.foreign_amount,callback:function(n){t.$set(e,"foreign_amount",n)},expression:"transaction.foreign_amount"}}):t._e()],1),t._v(" "),n("div",{staticClass:"col-lg-4"},[n("budget",{attrs:{transactionType:t.transactionType,error:e.errors.budget_id,no_budget:t.$t("firefly.none_in_select_list")},model:{value:e.budget,callback:function(n){t.$set(e,"budget",n)},expression:"transaction.budget"}}),t._v(" "),n("category",{attrs:{transactionType:t.transactionType,error:e.errors.category},model:{value:e.category,callback:function(n){t.$set(e,"category",n)},expression:"transaction.category"}}),t._v(" "),n("tags",{attrs:{transactionType:t.transactionType,tags:e.tags,error:e.errors.tags},model:{value:e.tags,callback:function(n){t.$set(e,"tags",n)},expression:"transaction.tags"}}),t._v(" "),n("custom-transaction-fields",{attrs:{error:e.errors.custom_errors},model:{value:e.custom_fields,callback:function(n){t.$set(e,"custom_fields",n)},expression:"transaction.custom_fields"}})],1)])]),t._v(" "),t.transactions.length-1===a&&"reconciliation"!==t.transactionType.toLowerCase()?n("div",{staticClass:"box-footer"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:t.addTransaction}},[t._v(t._s(t.$t("firefly.add_another_split")))])]):t._e()])])])})),0),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-3 col-md-4 col-sm-6 col-xs-12"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title"},[t._v("\n "+t._s(t.$t("firefly.submission"))+"\n ")])]),t._v(" "),n("div",{staticClass:"box-body"},[n("div",{staticClass:"checkbox"},[n("label",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.returnAfter,expression:"returnAfter"}],attrs:{name:"return_after",type:"checkbox"},domProps:{checked:Array.isArray(t.returnAfter)?t._i(t.returnAfter,null)>-1:t.returnAfter},on:{change:function(e){var n=t.returnAfter,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&(t.returnAfter=n.concat([null])):i>-1&&(t.returnAfter=n.slice(0,i).concat(n.slice(i+1)))}else t.returnAfter=r}}}),t._v("\n "+t._s(t.$t("firefly.after_update_create_another"))+"\n ")])]),t._v(" "),null!==t.transactionType&&"reconciliation"!==t.transactionType.toLowerCase()?n("div",{staticClass:"checkbox"},[n("label",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.storeAsNew,expression:"storeAsNew"}],attrs:{name:"store_as_new",type:"checkbox"},domProps:{checked:Array.isArray(t.storeAsNew)?t._i(t.storeAsNew,null)>-1:t.storeAsNew},on:{change:function(e){var n=t.storeAsNew,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&(t.storeAsNew=n.concat([null])):i>-1&&(t.storeAsNew=n.slice(0,i).concat(n.slice(i+1)))}else t.storeAsNew=r}}}),t._v("\n "+t._s(t.$t("firefly.store_as_new"))+"\n ")])]):t._e()]),t._v(" "),n("div",{staticClass:"box-footer"},[n("div",{staticClass:"btn-group"},[n("button",{staticClass:"btn btn-success",on:{click:t.submit}},[t._v(t._s(t.$t("firefly.update_transaction")))])])])])])])])}),[],!1,null,"c144367c",null).exports,s=n(31),c=n(32),u=n(33),l=n(34),A=n(35),d=n(36),p=n(37),f=n(38),_=n(39),m=n(40),g=n(41),h=n(42),v=n(43),y=n(44),b=n(45);n(28),Vue.component("budget",b.a),Vue.component("custom-date",s.a),Vue.component("custom-string",c.a),Vue.component("custom-attachments",a.a),Vue.component("custom-textarea",u.a),Vue.component("standard-date",l.a),Vue.component("group-description",A.a),Vue.component("transaction-description",d.a),Vue.component("custom-transaction-fields",p.a),Vue.component("piggy-bank",f.a),Vue.component("tags",_.a),Vue.component("category",m.a),Vue.component("amount",g.a),Vue.component("foreign-amount",h.a),Vue.component("transaction-type",v.a),Vue.component("account-select",y.a),Vue.component("edit-transaction",o);var C=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{cs:n(50),de:n(51),en:n(52),es:n(53),fr:n(54),hu:n(55),id:n(56),it:n(57),nl:n(58),no:n(59),pl:n(60),fi:n(61),"pt-br":n(62),ro:n(63),ru:n(64),zh:n(65),"zh-tw":n(66),"zh-cn":n(67),sv:n(68)}}),w={};new Vue({i18n:C,el:"#edit_transaction",render:function(t){return t(o,{props:w})}})}]); \ No newline at end of file diff --git a/resources/assets/js/locales/el.json b/resources/assets/js/locales/el.json index cfa7615e8d..29ca9251c5 100644 --- a/resources/assets/js/locales/el.json +++ b/resources/assets/js/locales/el.json @@ -4,45 +4,45 @@ "flash_error": "\u03a3\u03c6\u03ac\u03bb\u03bc\u03b1!", "flash_success": "\u0395\u03c0\u03b9\u03c4\u03c5\u03c7\u03af\u03b1!", "close": "\u039a\u03bb\u03b5\u03af\u03c3\u03b9\u03bc\u03bf", - "split_transaction_title": "Description of the split transaction", - "errors_submission": "There was something wrong with your submission. Please check out the errors below.", + "split_transaction_title": "\u03a0\u03b5\u03c1\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae \u03c4\u03b7\u03c2 \u03c3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ae\u03c2 \u03bc\u03b5 \u03b4\u03b9\u03b1\u03c7\u03c9\u03c1\u03b9\u03c3\u03bc\u03cc", + "errors_submission": "\u03a5\u03c0\u03ae\u03c1\u03be\u03b5 \u03ba\u03ac\u03c0\u03bf\u03b9\u03bf \u03bb\u03ac\u03b8\u03bf\u03c2 \u03bc\u03b5 \u03c4\u03b7\u03bd \u03c5\u03c0\u03bf\u03b2\u03bf\u03bb\u03ae \u03c3\u03b1\u03c2. \u0395\u03bb\u03ad\u03b3\u03be\u03c4\u03b5 \u03c4\u03b1 \u03c0\u03b1\u03c1\u03b1\u03ba\u03ac\u03c4\u03c9 \u03c3\u03c6\u03ac\u03bb\u03bc\u03b1\u03c4\u03b1.", "split": "\u0394\u03b9\u03b1\u03c7\u03c9\u03c1\u03b9\u03c3\u03bc\u03cc\u03c2", - "transaction_journal_information": "Transaction information", + "transaction_journal_information": "\u03a0\u03bb\u03b7\u03c1\u03bf\u03c6\u03bf\u03c1\u03af\u03b5\u03c2 \u03c3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ae\u03c2", "source_account": "\u039b\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2 \u03c0\u03c1\u03bf\u03ad\u03bb\u03b5\u03c5\u03c3\u03b7\u03c2", "destination_account": "\u039b\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2 \u03c0\u03c1\u03bf\u03bf\u03c1\u03b9\u03c3\u03bc\u03bf\u03cd", - "add_another_split": "Add another split", - "submission": "Submission", - "create_another": "After storing, return here to create another one.", - "reset_after": "Reset form after submission", - "submit": "Submit", - "amount": "Amount", - "date": "Date", - "tags": "Tags", - "no_budget": "(no budget)", - "category": "Category", + "add_another_split": "\u03a0\u03c1\u03bf\u03c3\u03b8\u03ae\u03ba\u03b7 \u03b5\u03bd\u03cc\u03c2 \u03b1\u03ba\u03cc\u03bc\u03b1 \u03b4\u03b9\u03b1\u03c7\u03c9\u03c1\u03b9\u03c3\u03bc\u03bf\u03cd", + "submission": "\u03a5\u03c0\u03bf\u03b2\u03bf\u03bb\u03ae", + "create_another": "\u039c\u03b5\u03c4\u03ac \u03c4\u03b7\u03bd \u03b1\u03c0\u03bf\u03b8\u03ae\u03ba\u03b5\u03c5\u03c3\u03b7, \u03b5\u03c0\u03b9\u03c3\u03c4\u03c1\u03ad\u03c8\u03c4\u03b5 \u03b5\u03b4\u03ce \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03ae\u03c3\u03b5\u03c4\u03b5 \u03b1\u03ba\u03cc\u03bc\u03b7 \u03ad\u03bd\u03b1.", + "reset_after": "\u0395\u03c0\u03b1\u03bd\u03b1\u03c6\u03bf\u03c1\u03ac \u03c6\u03cc\u03c1\u03bc\u03b1\u03c2 \u03bc\u03b5\u03c4\u03ac \u03c4\u03b7\u03bd \u03c5\u03c0\u03bf\u03b2\u03bf\u03bb\u03ae", + "submit": "\u03a5\u03c0\u03bf\u03b2\u03bf\u03bb\u03ae", + "amount": "\u03a0\u03bf\u03c3\u03cc", + "date": "\u0397\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b1", + "tags": "\u0395\u03c4\u03b9\u03ba\u03ad\u03c4\u03b5\u03c2", + "no_budget": "(\u03c7\u03c9\u03c1\u03af\u03c2 \u03c0\u03c1\u03bf\u03cb\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03cc)", + "category": "\u039a\u03b1\u03c4\u03b7\u03b3\u03bf\u03c1\u03af\u03b1", "attachments": "\u03a3\u03c5\u03bd\u03bd\u03b7\u03bc\u03ad\u03bd\u03b1", - "notes": "Notes", - "update_transaction": "Update transaction", - "after_update_create_another": "After updating, return here to continue editing.", - "store_as_new": "Store as a new transaction instead of updating.", - "split_title_help": "If you create a split transaction, there must be a global description for all splits of the transaction.", + "notes": "\u03a3\u03b7\u03bc\u03b5\u03b9\u03ce\u03c3\u03b5\u03b9\u03c2", + "update_transaction": "\u0395\u03bd\u03b7\u03bc\u03ad\u03c1\u03c9\u03c3\u03b7 \u03c3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ae\u03c2", + "after_update_create_another": "\u039c\u03b5\u03c4\u03ac \u03c4\u03b7\u03bd \u03b5\u03bd\u03b7\u03bc\u03ad\u03c1\u03c9\u03c3\u03b7, \u03b5\u03c0\u03b9\u03c3\u03c4\u03c1\u03ad\u03c8\u03c4\u03b5 \u03b5\u03b4\u03ce \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c3\u03c5\u03bd\u03b5\u03c7\u03af\u03c3\u03b5\u03c4\u03b5 \u03c4\u03b7\u03bd \u03b5\u03c0\u03b5\u03be\u03b5\u03c1\u03b3\u03b1\u03c3\u03af\u03b1.", + "store_as_new": "\u0391\u03c0\u03bf\u03b8\u03ae\u03ba\u03b5\u03c5\u03c3\u03b7 \u03c9\u03c2 \u03bd\u03ad\u03b1 \u03c3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ae \u03b1\u03bd\u03c4\u03af \u03b3\u03b9\u03b1 \u03b5\u03bd\u03b7\u03bc\u03ad\u03c1\u03c9\u03c3\u03b7.", + "split_title_help": "\u0395\u03ac\u03bd \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03ae\u03c3\u03b5\u03c4\u03b5 \u03bc\u03b9\u03b1 \u03b4\u03b9\u03b1\u03c7\u03c9\u03c1\u03b9\u03c3\u03bc\u03ad\u03bd\u03b7 \u03c3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ae, \u03c0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03c5\u03c0\u03ac\u03c1\u03c7\u03b5\u03b9 \u03bc\u03b9\u03b1 \u03ba\u03b1\u03b8\u03bf\u03bb\u03b9\u03ba\u03ae \u03c0\u03b5\u03c1\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae \u03b3\u03b9\u03b1 \u03cc\u03bb\u03bf\u03c5\u03c2 \u03c4\u03bf\u03c5\u03c2 \u03b4\u03b9\u03b1\u03c7\u03c9\u03c1\u03b9\u03c3\u03bc\u03bf\u03cd\u03c2 \u03c4\u03b7\u03c2 \u03c3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ae\u03c2.", "none_in_select_list": "(\u03c4\u03af\u03c0\u03bf\u03c4\u03b1)", "no_piggy_bank": "(\u03c7\u03c9\u03c1\u03af\u03c2 \u03ba\u03bf\u03c5\u03bc\u03c0\u03b1\u03c1\u03ac)", - "description": "Description", - "split_transaction_title_help": "If you create a split transaction, there must be a global description for all splits of the transaction.", - "destination_account_reconciliation": "\u0394\u03b5\u03bd \u03bc\u03c0\u03bf\u03c1\u03b5\u03af\u03c4\u03b5 \u03bd\u03b1 \u03c4\u03c1\u03bf\u03c0\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03c4\u03b5 \u03c4\u03bf\u03bd \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc \u03c0\u03c1\u03bf\u03bf\u03c1\u03b9\u03c3\u03bc\u03bf\u03cd \u03c3\u03b5 \u03bc\u03b9\u03b1 \u03c3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ae \u03b1\u03bd\u03c4\u03b9\u03c0\u03b1\u03c1\u03b1\u03b2\u03bf\u03bb\u03ae\u03c2.", - "source_account_reconciliation": "\u0394\u03b5\u03bd \u03bc\u03c0\u03bf\u03c1\u03b5\u03af\u03c4\u03b5 \u03bd\u03b1 \u03c4\u03c1\u03bf\u03c0\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03c4\u03b5 \u03c4\u03bf\u03bd \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc \u03c0\u03c1\u03bf\u03ad\u03bb\u03b5\u03c5\u03c3\u03b7\u03c2 \u03c3\u03b5 \u03bc\u03b9\u03b1 \u03c3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ae \u03b1\u03bd\u03c4\u03b9\u03c0\u03b1\u03c1\u03b1\u03b2\u03bf\u03bb\u03ae\u03c2.", - "budget": "Budget", - "you_create_withdrawal": "You're creating a withdrawal.", - "you_create_transfer": "You're creating a transfer.", - "you_create_deposit": "You're creating a deposit." + "description": "\u03a0\u03b5\u03c1\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae", + "split_transaction_title_help": "\u0395\u03ac\u03bd \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03ae\u03c3\u03b5\u03c4\u03b5 \u03bc\u03b9\u03b1 \u03b4\u03b9\u03b1\u03c7\u03c9\u03c1\u03b9\u03c3\u03bc\u03ad\u03bd\u03b7 \u03c3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ae, \u03c0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03c5\u03c0\u03ac\u03c1\u03c7\u03b5\u03b9 \u03bc\u03b9\u03b1 \u03ba\u03b1\u03b8\u03bf\u03bb\u03b9\u03ba\u03ae \u03c0\u03b5\u03c1\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae \u03b3\u03b9\u03b1 \u03cc\u03bb\u03bf\u03c5\u03c2 \u03c4\u03bf\u03c5\u03c2 \u03b4\u03b9\u03b1\u03c7\u03c9\u03c1\u03b9\u03c3\u03bc\u03bf\u03cd\u03c2 \u03c4\u03b7\u03c2 \u03c3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ae\u03c2.", + "destination_account_reconciliation": "\u0394\u03b5\u03bd \u03bc\u03c0\u03bf\u03c1\u03b5\u03af\u03c4\u03b5 \u03bd\u03b1 \u03c4\u03c1\u03bf\u03c0\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03c4\u03b5 \u03c4\u03bf\u03bd \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc \u03c0\u03c1\u03bf\u03bf\u03c1\u03b9\u03c3\u03bc\u03bf\u03cd \u03c3\u03b5 \u03bc\u03b9\u03b1 \u03c3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ae \u03c4\u03b1\u03ba\u03c4\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7\u03c2.", + "source_account_reconciliation": "\u0394\u03b5\u03bd \u03bc\u03c0\u03bf\u03c1\u03b5\u03af\u03c4\u03b5 \u03bd\u03b1 \u03c4\u03c1\u03bf\u03c0\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03c4\u03b5 \u03c4\u03bf\u03bd \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc \u03c0\u03c1\u03bf\u03ad\u03bb\u03b5\u03c5\u03c3\u03b7\u03c2 \u03c3\u03b5 \u03bc\u03b9\u03b1 \u03c3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ae \u03c4\u03b1\u03ba\u03c4\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7\u03c2.", + "budget": "\u03a0\u03c1\u03bf\u03cb\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03cc\u03c2", + "you_create_withdrawal": "\u0394\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03b5\u03af\u03c4\u03b5 \u03bc\u03b9\u03b1 \u03b1\u03bd\u03ac\u03bb\u03b7\u03c8\u03b7.", + "you_create_transfer": "\u0394\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03b5\u03af\u03c4\u03b5 \u03bc\u03b9\u03b1 \u03bc\u03b5\u03c4\u03b1\u03c6\u03bf\u03c1\u03ac.", + "you_create_deposit": "\u0394\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03b5\u03af\u03c4\u03b5 \u03bc\u03b9\u03b1 \u03ba\u03b1\u03c4\u03ac\u03b8\u03b5\u03c3\u03b7." }, "form": { "interest_date": "\u0397\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b1 \u03c4\u03bf\u03ba\u03b9\u03c3\u03bc\u03bf\u03cd", "book_date": "\u0397\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b1 \u03b5\u03b3\u03b3\u03c1\u03b1\u03c6\u03ae\u03c2", "process_date": "\u0397\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b1 \u03b5\u03c0\u03b5\u03be\u03b5\u03c1\u03b3\u03b1\u03c3\u03af\u03b1\u03c2", "due_date": "\u0397\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b1 \u03c0\u03c1\u03bf\u03b8\u03b5\u03c3\u03bc\u03af\u03b1\u03c2", - "foreign_amount": "\u0395\u03c4\u03b5\u03c1\u03cc\u03c7\u03b8\u03c9\u03bd \u03c0\u03bf\u03c3\u03cc", + "foreign_amount": "\u03a0\u03bf\u03c3\u03cc \u03c3\u03b5 \u03be\u03ad\u03bd\u03bf \u03bd\u03cc\u03bc\u03b9\u03c3\u03bc\u03b1", "payment_date": "\u0397\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b1 \u03c0\u03bb\u03b7\u03c1\u03c9\u03bc\u03ae\u03c2", "invoice_date": "\u0397\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b1 \u03c4\u03b9\u03bc\u03bf\u03bb\u03cc\u03b3\u03b7\u03c3\u03b7\u03c2", "internal_reference": "\u0395\u03c3\u03c9\u03c4\u03b5\u03c1\u03b9\u03ba\u03ae \u03b1\u03bd\u03b1\u03c6\u03bf\u03c1\u03ac" diff --git a/resources/assets/js/locales/es.json b/resources/assets/js/locales/es.json index a82b6c4695..58de8a28c9 100644 --- a/resources/assets/js/locales/es.json +++ b/resources/assets/js/locales/es.json @@ -33,9 +33,9 @@ "destination_account_reconciliation": "No puede editar la cuenta de destino de una transacci\u00f3n de reconciliaci\u00f3n.", "source_account_reconciliation": "No puede editar la cuenta de origen de una transacci\u00f3n de reconciliaci\u00f3n.", "budget": "Presupuesto", - "you_create_withdrawal": "You're creating a withdrawal.", - "you_create_transfer": "You're creating a transfer.", - "you_create_deposit": "You're creating a deposit." + "you_create_withdrawal": "Est\u00e1 creando un retiro.", + "you_create_transfer": "Est\u00e1 creando una transferencia.", + "you_create_deposit": "Est\u00e1 creando un dep\u00f3sito." }, "form": { "interest_date": "Fecha de inter\u00e9s", diff --git a/resources/assets/js/locales/fi.json b/resources/assets/js/locales/fi.json index f3e10aed52..2fdd70181e 100644 --- a/resources/assets/js/locales/fi.json +++ b/resources/assets/js/locales/fi.json @@ -10,7 +10,7 @@ "transaction_journal_information": "Tapahtumatiedot", "source_account": "L\u00e4hdetili", "destination_account": "Kohdetili", - "add_another_split": "Lis\u00e4\u00e4 uusi jako", + "add_another_split": "Lis\u00e4\u00e4 tapahtumaan uusi osa", "submission": "Vahvistus", "create_another": "Tallennuksen j\u00e4lkeen, palaa takaisin luomaan uusi tapahtuma.", "reset_after": "Tyhjenn\u00e4 lomake l\u00e4hetyksen j\u00e4lkeen", @@ -33,9 +33,9 @@ "destination_account_reconciliation": "Et voi muokata t\u00e4sm\u00e4ytystapahtuman kohdetili\u00e4.", "source_account_reconciliation": "Et voi muokata t\u00e4sm\u00e4ytystapahtuman l\u00e4hdetili\u00e4.", "budget": "Budjetti", - "you_create_withdrawal": "You're creating a withdrawal.", - "you_create_transfer": "You're creating a transfer.", - "you_create_deposit": "You're creating a deposit." + "you_create_withdrawal": "Olet luomassa nostoa.", + "you_create_transfer": "Olet luomassa siirtoa.", + "you_create_deposit": "Olet luomassa talletusta." }, "form": { "interest_date": "Korkop\u00e4iv\u00e4", diff --git a/resources/assets/js/locales/fr.json b/resources/assets/js/locales/fr.json index c42902688c..a4b6e94a1c 100644 --- a/resources/assets/js/locales/fr.json +++ b/resources/assets/js/locales/fr.json @@ -7,8 +7,8 @@ "split_transaction_title": "Description de l'op\u00e9ration ventil\u00e9e", "errors_submission": "Certaines informations ne sont pas correctes dans votre formulaire. Veuillez v\u00e9rifier les erreurs ci-dessous.", "split": "Ventiler", - "transaction_journal_information": "Informations sur les transactions", - "source_account": "Compte d'origine", + "transaction_journal_information": "Informations sur les op\u00e9rations", + "source_account": "Compte source", "destination_account": "Compte de destination", "add_another_split": "Ajouter une autre fraction", "submission": "Soumission", @@ -22,9 +22,9 @@ "category": "Cat\u00e9gorie", "attachments": "Pi\u00e8ces jointes", "notes": "Notes", - "update_transaction": "Mettre \u00e0 jour la transaction", + "update_transaction": "Mettre \u00e0 jour l'op\u00e9ration", "after_update_create_another": "Apr\u00e8s la mise \u00e0 jour, revenir ici pour continuer l'\u00e9dition.", - "store_as_new": "Enregistrer comme une nouvelle transaction au lieu de mettre \u00e0 jour.", + "store_as_new": "Enregistrer comme une nouvelle op\u00e9ration au lieu de mettre \u00e0 jour.", "split_title_help": "Si vous cr\u00e9ez une op\u00e9ration ventil\u00e9e, il doit y avoir une description globale pour chaque fractions de l'op\u00e9ration.", "none_in_select_list": "(aucun)", "no_piggy_bank": "(aucune tirelire)", @@ -38,7 +38,7 @@ "you_create_deposit": "Vous saisissez un d\u00e9p\u00f4t." }, "form": { - "interest_date": "Date de l\u2019int\u00e9r\u00eat", + "interest_date": "Date de valeur (int\u00e9r\u00eats)", "book_date": "Date de r\u00e9servation", "process_date": "Date de traitement", "due_date": "\u00c9ch\u00e9ance",