diff --git a/app/Api/V1/Controllers/Autocomplete/TagController.php b/app/Api/V1/Controllers/Autocomplete/TagController.php index 9d57ee31d0..7d2a84109e 100644 --- a/app/Api/V1/Controllers/Autocomplete/TagController.php +++ b/app/Api/V1/Controllers/Autocomplete/TagController.php @@ -40,7 +40,7 @@ class TagController extends Controller private TagRepositoryInterface $repository; /** - * CurrencyController constructor. + * TagController constructor. */ public function __construct() { diff --git a/app/Api/V1/Controllers/Autocomplete/TransactionController.php b/app/Api/V1/Controllers/Autocomplete/TransactionController.php index 4e6eb3af6f..2611156b1b 100644 --- a/app/Api/V1/Controllers/Autocomplete/TransactionController.php +++ b/app/Api/V1/Controllers/Autocomplete/TransactionController.php @@ -25,6 +25,11 @@ namespace FireflyIII\Api\V1\Controllers\Autocomplete; use FireflyIII\Api\V1\Controllers\Controller; +use FireflyIII\Api\V1\Requests\Autocomplete\AutocompleteRequest; +use FireflyIII\Models\TransactionJournal; +use FireflyIII\Repositories\Journal\JournalRepositoryInterface; +use FireflyIII\User; +use Illuminate\Http\JsonResponse; /** * Class TransactionController @@ -32,4 +37,50 @@ use FireflyIII\Api\V1\Controllers\Controller; class TransactionController extends Controller { + private JournalRepositoryInterface $repository; + + /** + * TransactionController constructor. + */ + public function __construct() + { + parent::__construct(); + $this->middleware( + function ($request, $next) { + /** @var User $user */ + $user = auth()->user(); + $this->repository = app(JournalRepositoryInterface::class); + $this->repository->setUser($user); + + return $next($request); + } + ); + } + + + /** + * @param AutocompleteRequest $request + * + * @return JsonResponse + */ + public function allJournals(AutocompleteRequest $request): JsonResponse + { + $data = $request->getData(); + $result = $this->repository->searchJournalDescriptions($data['query'], $data['limit']); + + // limit and unique + $filtered = $result->unique('description'); + $array = []; + + /** @var TransactionJournal $journal */ + foreach ($filtered as $journal) { + $array[] = [ + 'id' => $journal->id, + 'name' => $journal->description, + 'description' => $journal->description, + ]; + } + + return response()->json($array); + } } diff --git a/app/Api/V1/Controllers/Autocomplete/TransactionTypeController.php b/app/Api/V1/Controllers/Autocomplete/TransactionTypeController.php new file mode 100644 index 0000000000..56f7caf1c5 --- /dev/null +++ b/app/Api/V1/Controllers/Autocomplete/TransactionTypeController.php @@ -0,0 +1,79 @@ +. + */ + +declare(strict_types=1); + +namespace FireflyIII\Api\V1\Controllers\Autocomplete; + + +use FireflyIII\Api\V1\Controllers\Controller; +use FireflyIII\Api\V1\Requests\Autocomplete\AutocompleteRequest; +use FireflyIII\Models\TransactionType; +use FireflyIII\Repositories\TransactionType\TransactionTypeRepositoryInterface; +use Illuminate\Http\JsonResponse; + +/** + * Class TransactionTypeController + */ +class TransactionTypeController extends Controller +{ + private TransactionTypeRepositoryInterface $repository; + + /** + * TransactionTypeController constructor. + */ + public function __construct() + { + parent::__construct(); + $this->middleware( + function ($request, $next) { + $this->repository = app(TransactionTypeRepositoryInterface::class); + + return $next($request); + } + ); + } + + /** + * @param AutocompleteRequest $request + * + * @return JsonResponse + * @codeCoverageIgnore + */ + public function transactionTypes(AutocompleteRequest $request): JsonResponse + { + $data = $request->getData(); + $types = $this->repository->searchTypes($data['query'], $data['limit']); + $array = []; + + /** @var TransactionType $type */ + foreach ($types as $type) { + // different key for consistency. + $array[] = [ + 'id' => $type->id, + 'name' => $type->type, + 'type' => $type->type, + ]; + } + + return response()->json($array); + } +} diff --git a/app/Http/Controllers/Json/AutoCompleteController.php b/app/Http/Controllers/Json/AutoCompleteController.php index 0d6165d311..2a65cd7cab 100644 --- a/app/Http/Controllers/Json/AutoCompleteController.php +++ b/app/Http/Controllers/Json/AutoCompleteController.php @@ -45,37 +45,6 @@ use Illuminate\Http\Request; class AutoCompleteController extends Controller { - /** - * Searches in the titles of all transaction journals. - * The result is limited to the top 15 unique results. - * - * @param Request $request - * - * @return JsonResponse - */ - public function allJournals(Request $request): JsonResponse - { - $search = (string) $request->get('search'); - /** @var JournalRepositoryInterface $repository */ - $repository = app(JournalRepositoryInterface::class); - $result = $repository->searchJournalDescriptions($search); - - // limit and unique - $filtered = $result->unique('description'); - $limited = $filtered->slice(0, 15); - $array = $limited->toArray(); - // duplicate 'description' value into 'name': - $array = array_map( - static function (array $journal) { - $journal['name'] = $journal['description']; - - return $journal; - }, - $array - ); - - return response()->json(array_values($array)); - } /** * Searches in the titles of all transaction journals. @@ -122,26 +91,4 @@ class AutoCompleteController extends Controller return response()->json($array); } - - - /** - * @param Request $request - * - * @return JsonResponse - * @codeCoverageIgnore - */ - public function transactionTypes(Request $request): JsonResponse - { - $query = (string) $request->get('search'); - /** @var TransactionTypeRepositoryInterface $repository */ - $repository = app(TransactionTypeRepositoryInterface::class); - $array = $repository->searchTypes($query)->toArray(); - - foreach ($array as $index => $item) { - // different key for consistency. - $array[$index]['name'] = $item['type']; - } - - return response()->json($array); - } } diff --git a/app/Repositories/Journal/JournalRepository.php b/app/Repositories/Journal/JournalRepository.php index 793f1b21a3..0fad9319f9 100644 --- a/app/Repositories/Journal/JournalRepository.php +++ b/app/Repositories/Journal/JournalRepository.php @@ -63,9 +63,10 @@ class JournalRepository implements JournalRepositoryInterface * Search in journal descriptions. * * @param string $search + * @param int $limit * @return Collection */ - public function searchJournalDescriptions(string $search): Collection + public function searchJournalDescriptions(string $search, int $limit): Collection { $query = $this->user->transactionJournals() ->orderBy('date', 'DESC'); @@ -73,7 +74,7 @@ class JournalRepository implements JournalRepositoryInterface $query->where('description', 'LIKE', sprintf('%%%s%%', $search)); } - return $query->get(); + return $query->take($limit)->get(); } /** diff --git a/app/Repositories/Journal/JournalRepositoryInterface.php b/app/Repositories/Journal/JournalRepositoryInterface.php index dde2dfdd62..89a1bf196a 100644 --- a/app/Repositories/Journal/JournalRepositoryInterface.php +++ b/app/Repositories/Journal/JournalRepositoryInterface.php @@ -50,15 +50,14 @@ interface JournalRepositoryInterface public function findByType(array $types): Collection; /** - * TODO maybe create JSON repository? - * * Search in journal descriptions. * * @param string $search + * @param int $limit * * @return Collection */ - public function searchJournalDescriptions(string $search): Collection; + public function searchJournalDescriptions(string $search, int $limit): Collection; /** * Deletes a transaction group. diff --git a/app/Repositories/TransactionType/TransactionTypeRepository.php b/app/Repositories/TransactionType/TransactionTypeRepository.php index 9710d46d09..5b5a319eff 100644 --- a/app/Repositories/TransactionType/TransactionTypeRepository.php +++ b/app/Repositories/TransactionType/TransactionTypeRepository.php @@ -71,14 +71,15 @@ class TransactionTypeRepository implements TransactionTypeRepositoryInterface /** * @param string $query + * @param int $limit * @return Collection */ - public function searchTypes(string $query): Collection + public function searchTypes(string $query, int $limit): Collection { if ('' === $query) { return TransactionType::get(); } - return TransactionType::where('type', 'LIKE', sprintf('%%%s%%', $query))->get(); + return TransactionType::where('type', 'LIKE', sprintf('%%%s%%', $query))->take($limit)->get(); } } diff --git a/app/Repositories/TransactionType/TransactionTypeRepositoryInterface.php b/app/Repositories/TransactionType/TransactionTypeRepositoryInterface.php index dac9cb18ad..65033e48da 100644 --- a/app/Repositories/TransactionType/TransactionTypeRepositoryInterface.php +++ b/app/Repositories/TransactionType/TransactionTypeRepositoryInterface.php @@ -48,7 +48,8 @@ interface TransactionTypeRepositoryInterface /** * @param string $query + * @param int $limit * @return Collection */ - public function searchTypes(string $query): Collection; + public function searchTypes(string $query, int $limit): Collection; } diff --git a/public/v1/js/create_transaction.js b/public/v1/js/create_transaction.js index 63b8849078..06ededb312 100644 --- a/public/v1/js/create_transaction.js +++ b/public/v1/js/create_transaction.js @@ -1,2 +1,2 @@ /*! For license information please see create_transaction.js.LICENSE.txt */ -!function(e){var t={};function n(a){if(t[a])return t[a].exports;var o=t[a]={i:a,l:!1,exports:{}};return e[a].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(a,o,function(t){return e[t]}.bind(null,o));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=82)}([function(e,t,n){"use strict";function a(e,t,n,a,o,i,r,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),a&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),r?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},l._ssrRegister=c):o&&(c=s?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";var a=n(5),o=n(12),i=Object.prototype.toString;function r(e){return"[object Array]"===i.call(e)}function s(e){return null!==e&&"object"==typeof e}function c(e){return"[object Function]"===i.call(e)}function l(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),r(e))for(var n=0,a=e.length;n=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},a.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),a.forEach(["post","put","patch"],(function(e){c.headers[e]=a.merge(i)})),e.exports=c}).call(this,n(10))},function(e,t,n){e.exports=n(11)},,function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),a=0;a1)for(var n=1;n=0)return;r[t]="set-cookie"===t?(r[t]?r[t]:[]).concat([n]):r[t]?r[t]+", "+n:n}})),r):r}},function(e,t,n){"use strict";var a=n(1);e.exports=a.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var a=e;return t&&(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 e=o(window.location.href),function(t){var n=a.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var a=n(1);e.exports=a.isStandardBrowserEnv()?{write:function(e,t,n,o,i,r){var s=[];s.push(e+"="+encodeURIComponent(t)),a.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),a.isString(o)&&s.push("path="+o),a.isString(i)&&s.push("domain="+i),!0===r&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var a=n(1);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){a.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},function(e,t,n){"use strict";var a=n(1),o=n(23),i=n(8),r=n(2),s=n(24),c=n(25);function l(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return l(e),e.baseURL&&!s(e.url)&&(e.url=c(e.baseURL,e.url)),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=a.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),a.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||r.adapter)(e).then((function(t){return l(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(l(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,n){"use strict";var a=n(1);e.exports=function(e,t,n){return a.forEach(n,(function(n){e=n(e,t)})),e}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var a=n(9);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new a(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,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(e,t,n){e.exports=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{cs:n(30),de:n(31),en:n(32),es:n(33),el:n(34),fr:n(35),hu:n(36),id:n(37),it:n(38),nl:n(39),no:n(40),pl:n(41),fi:n(42),"pt-br":n(43),ro:n(44),ru:n(45),zh:n(46),"zh-tw":n(47),"zh-cn":n(48),sv:n(49),vi:n(50)}})},function(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"Jak to jde?","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_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"Informace o transakci","no_budget_pointer":"Zdá se, že zatím nemáte žádné rozpočty. Na stránce rozpočty byste nějaké měli vytvořit. Rozpočty mohou pomoci udržet si přehled ve výdajích.","source_account":"Zdrojový účet","hidden_fields_preferences":"You can enable more transaction options in your settings.","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":"(žádná pokladnička)","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.","edit":"Upravit","delete":"Odstranit","name":"Název","profile_whoops":"Whoops!","profile_something_wrong":"Something went wrong!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Create New Client","profile_oauth_create_client":"Create Client","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Something your users will recognize and trust.","profile_oauth_redirect_url":"Redirect URL","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Revoke","profile_personal_access_tokens":"Personal Access Tokens","profile_personal_access_token":"Personal Access Token","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Create new token","profile_create_token":"Create token","profile_create":"Create","profile_save_changes":"Save changes","default_group_title_name":"(ungrouped)","piggy_bank":"Pokladnička"},"form":{"interest_date":"Úrokové datum","book_date":"Datum rezervace","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(e){e.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_stored_link":"Buchung #{ID} (\\"{title}\\") wurde gespeichert.","transaction_updated_link":"Buchung#{ID} wurde aktualisiert.","transaction_new_stored_link":"Buchung #{ID} wurde gespeichert.","transaction_journal_information":"Transaktionsinformationen","no_budget_pointer":"Sie scheinen noch keine Kostenrahmen festgelegt zu haben. Sie sollten einige davon auf der Seite „Kostenrahmen” anlegen. Kostenrahmen können Ihnen dabei helfen, den Überblick über die Ausgaben zu behalten.","source_account":"Quellkonto","hidden_fields_preferences":"Sie können weitere Buchungsoptionen in Ihren Einstellungen aktivieren.","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.","edit":"Bearbeiten","delete":"Löschen","name":"Name","profile_whoops":"Huch!","profile_something_wrong":"Ein Problem ist aufgetreten!","profile_try_again":"Ein Problem ist aufgetreten. Bitte versuchen Sie es erneut.","profile_oauth_clients":"OAuth-Clients","profile_oauth_no_clients":"Sie haben noch keine OAuth-Clients erstellt.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client-ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Geheimnis","profile_oauth_create_new_client":"Neuen Client erstellen","profile_oauth_create_client":"Client erstellen","profile_oauth_edit_client":"Client bearbeiten","profile_oauth_name_help":"Etwas das Ihre Nutzer erkennen und dem sie vertrauen.","profile_oauth_redirect_url":"Weiterleitungs-URL","profile_oauth_redirect_url_help":"Die Authorisierungs-Callback-URL Ihrer Anwendung.","profile_authorized_apps":"Autorisierte Anwendungen","profile_authorized_clients":"Autorisierte Clients","profile_scopes":"Bereiche","profile_revoke":"Widerrufen","profile_personal_access_tokens":"Persönliche Zugangs-Tokens","profile_personal_access_token":"Persönlicher Zugangs-Token","profile_personal_access_token_explanation":"Hier ist Ihr neues persönlicher Zugangsschlüssel. Dies ist das einzige Mal, dass er angezeigt wird, also verlieren Sie ihn nicht! Sie können dieses Token jetzt verwenden, um API-Anfragen zu stellen.","profile_no_personal_access_token":"Sie haben keine persönlichen Zugangsschlüssel erstellt.","profile_create_new_token":"Neuen Schlüssel erstellen","profile_create_token":"Schlüssel erstellen","profile_create":"Erstellen","profile_save_changes":"Änderungen speichern","default_group_title_name":"(ohne Gruppierung)","piggy_bank":"Sparschwein"},"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(e){e.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_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"Transaction information","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Source account","hidden_fields_preferences":"You can enable more transaction options in your settings.","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.","edit":"Edit","delete":"Delete","name":"Name","profile_whoops":"Whoops!","profile_something_wrong":"Something went wrong!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Create New Client","profile_oauth_create_client":"Create Client","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Something your users will recognize and trust.","profile_oauth_redirect_url":"Redirect URL","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Revoke","profile_personal_access_tokens":"Personal Access Tokens","profile_personal_access_token":"Personal Access Token","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Create new token","profile_create_token":"Create token","profile_create":"Create","profile_save_changes":"Save changes","default_group_title_name":"(ungrouped)","piggy_bank":"Piggy bank"},"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(e){e.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_stored_link":"La transacción #{ID} (\\"{title}\\") ha sido almacenada.","transaction_updated_link":"La transacción #{ID} ha sido actualizada.","transaction_new_stored_link":"La transacción #{ID} ha sido guardada.","transaction_journal_information":"Información de transacción","no_budget_pointer":"Parece que aún no tiene presupuestos. Debe crear algunos en la página presupuestos. Los presupuestos pueden ayudarle a realizar un seguimiento de los gastos.","source_account":"Cuenta origen","hidden_fields_preferences":"Puede habilitar más opciones de transacción en sus ajustes .","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.","edit":"Editar","delete":"Eliminar","name":"Nombre","profile_whoops":"¡Ups!","profile_something_wrong":"¡Algo salió mal!","profile_try_again":"Algo salió mal. Por favor, vuelva a intentarlo.","profile_oauth_clients":"Clientes de OAuth","profile_oauth_no_clients":"No ha creado ningún cliente OAuth.","profile_oauth_clients_header":"Clientes","profile_oauth_client_id":"ID del cliente","profile_oauth_client_name":"Nombre","profile_oauth_client_secret":"Secreto","profile_oauth_create_new_client":"Crear un Nuevo Cliente","profile_oauth_create_client":"Crear Cliente","profile_oauth_edit_client":"Editar Cliente","profile_oauth_name_help":"Algo que sus usuarios reconocerán y confiarán.","profile_oauth_redirect_url":"Redirigir URL","profile_oauth_redirect_url_help":"La URL de devolución de autorización de su aplicación.","profile_authorized_apps":"Aplicaciones autorizadas","profile_authorized_clients":"Clientes autorizados","profile_scopes":"Ámbitos","profile_revoke":"Revocar","profile_personal_access_tokens":"Tokens de acceso personal","profile_personal_access_token":"Token de acceso personal","profile_personal_access_token_explanation":"Aquí está su nuevo token de acceso personal. Esta es la única vez que se mostrará así que ¡no lo pierda! Ahora puede usar este token para hacer solicitudes de la API.","profile_no_personal_access_token":"No ha creado ningún token de acceso personal.","profile_create_new_token":"Crear nuevo token","profile_create_token":"Crear token","profile_create":"Crear","profile_save_changes":"Guardar cambios","default_group_title_name":"(sin agrupación)","piggy_bank":"Alcancía"},"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(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"Τι παίζει;","flash_error":"Σφάλμα!","flash_success":"Επιτυχία!","close":"Κλείσιμο","split_transaction_title":"Περιγραφή της συναλλαγής με διαχωρισμό","errors_submission":"Υπήρξε κάποιο λάθος με την υποβολή σας. Ελέγξτε τα παρακάτω σφάλματα.","split":"Διαχωρισμός","transaction_stored_link":"Η συναλλαγή #{ID} (\\"{title}\\") έχει αποθηκευτεί.","transaction_updated_link":"Η συναλλαγή #{ID} έχει ενημερωθεί.","transaction_new_stored_link":"Η συναλλαγή #{ID} έχει αποθηκευτεί.","transaction_journal_information":"Πληροφορίες συναλλαγής","no_budget_pointer":"Φαίνεται πως δεν έχετε ορίσει προϋπολογισμούς ακόμη. Πρέπει να δημιουργήσετε κάποιον στη σελίδα προϋπολογισμών. Οι προϋπολογισμοί σας βοηθούν να επιβλέπετε τις δαπάνες σας.","source_account":"Λογαριασμός προέλευσης","hidden_fields_preferences":"Μπορείτε να ενεργοποιήσετε περισσότερες επιλογές συναλλαγών στις ρυθμίσεις.","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_create_transfer":"Δημιουργείτε μια μεταφορά.","you_create_deposit":"Δημιουργείτε μια κατάθεση.","edit":"Επεξεργασία","delete":"Διαγραφή","name":"Όνομα","profile_whoops":"Ούπς!","profile_something_wrong":"Κάτι πήγε στραβά!","profile_try_again":"Κάτι πήγε στραβά. Παρακαλώ προσπαθήστε ξανά.","profile_oauth_clients":"Πελάτες OAuth","profile_oauth_no_clients":"Δεν έχετε δημιουργήσει πελάτες OAuth.","profile_oauth_clients_header":"Πελάτες","profile_oauth_client_id":"Αναγνωριστικό πελάτη","profile_oauth_client_name":"Όνομα","profile_oauth_client_secret":"Μυστικό","profile_oauth_create_new_client":"Δημιουργία νέου πελάτη","profile_oauth_create_client":"Δημιουργία πελάτη","profile_oauth_edit_client":"Επεξεργασία πελάτη","profile_oauth_name_help":"Κάτι που οι χρήστες σας θα αναγνωρίζουν και θα εμπιστεύονται.","profile_oauth_redirect_url":"URL ανακατεύθυνσης","profile_oauth_redirect_url_help":"To authorization callback URL της εφαρμογής σας.","profile_authorized_apps":"Εξουσιοδοτημένες εφαρμογές","profile_authorized_clients":"Εξουσιοδοτημένοι πελάτες","profile_scopes":"Πεδία εφαρμογής","profile_revoke":"Ανάκληση","profile_personal_access_tokens":"Διακριτικά προσωπικής πρόσβασης","profile_personal_access_token":"Διακριτικά προσωπικής πρόσβασης","profile_personal_access_token_explanation":"Εδώ είναι το νέο διακριτικό προσωπικής πρόσβασης. Αυτή είναι η μόνη φορά που θα εμφανιστεί, οπότε μη το χάσετε! Μπορείτε να χρησιμοποιείτε αυτό το διακριτικό για να κάνετε κλήσεις API.","profile_no_personal_access_token":"Δεν έχετε δημιουργήσει προσωπικά διακριτικά πρόσβασης.","profile_create_new_token":"Δημιουργία νέου διακριτικού","profile_create_token":"Δημιουργία διακριτικού","profile_create":"Δημιουργία","profile_save_changes":"Αποθήκευση αλλαγών","default_group_title_name":"(χωρίς ομάδα)","piggy_bank":"Κουμπαράς"},"form":{"interest_date":"Ημερομηνία τοκισμού","book_date":"Ημερομηνία εγγραφής","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","foreign_amount":"Ποσό σε ξένο νόμισμα","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης","internal_reference":"Εσωτερική αναφορά"},"config":{"html_language":"el"}}')},function(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"Quoi de neuf ?","flash_error":"Erreur !","flash_success":"Super !","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_stored_link":"L\'opération n°{ID} (\\"{title}\\") a été enregistrée.","transaction_updated_link":"L\'opération n°{ID} a été mise à jour.","transaction_new_stored_link":"L\'opération n°{ID} a été enregistrée.","transaction_journal_information":"Informations sur les opérations","no_budget_pointer":"Vous semblez n’avoir encore aucun budget. Vous devriez en créer un sur la page des budgets. Les budgets peuvent vous aider à garder une trace des dépenses.","source_account":"Compte source","hidden_fields_preferences":"Vous pouvez activer plus d\'options d\'opérations dans vos paramètres.","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.","edit":"Modifier","delete":"Supprimer","name":"Nom","profile_whoops":"Oups !","profile_something_wrong":"Une erreur s\'est produite !","profile_try_again":"Une erreur s’est produite. Merci d’essayer à nouveau.","profile_oauth_clients":"Clients OAuth","profile_oauth_no_clients":"Vous n’avez pas encore créé de client OAuth.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Identifiant","profile_oauth_client_name":"Nom","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Créer un nouveau client","profile_oauth_create_client":"Créer un client","profile_oauth_edit_client":"Modifier le client","profile_oauth_name_help":"Quelque chose que vos utilisateurs reconnaîtront et qui inspirera confiance.","profile_oauth_redirect_url":"URL de redirection","profile_oauth_redirect_url_help":"URL de callback de votre application.","profile_authorized_apps":"Applications autorisées","profile_authorized_clients":"Clients autorisés","profile_scopes":"Permissions","profile_revoke":"Révoquer","profile_personal_access_tokens":"Jetons d\'accès personnels","profile_personal_access_token":"Jeton d\'accès personnel","profile_personal_access_token_explanation":"Voici votre nouveau jeton d’accès personnel. Ceci est la seule fois où vous pourrez le voir, ne le perdez pas ! Vous pouvez dès à présent utiliser ce jeton pour lancer des requêtes avec l’API.","profile_no_personal_access_token":"Vous n’avez pas encore créé de jeton d’accès personnel.","profile_create_new_token":"Créer un nouveau jeton","profile_create_token":"Créer un jeton","profile_create":"Créer","profile_save_changes":"Enregistrer les modifications","default_group_title_name":"(Sans groupement)","piggy_bank":"Tirelire"},"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(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"Mi a helyzet?","flash_error":"Hiba!","flash_success":"Siker!","close":"Bezárás","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"Hiba történt a beküldés során. Kérem, javítsa az alábbi hibákat.","split":"Felosztás","transaction_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"Tranzakciós információk","no_budget_pointer":"Úgy tűnik, még nincsenek költségkeretek. Költségkereteket a költségkeretek oldalon lehet létrehozni. A költségkeretek segítenek nyomon követni a költségeket.","source_account":"Forrás számla","hidden_fields_preferences":"A beállításokban több tranzakciós beállítási lehetőség is megadható.","destination_account":"Célszámla","add_another_split":"Másik felosztás hozzáadása","submission":"Feliratkozás","create_another":"A tárolás után térjen vissza ide új létrehozásához.","reset_after":"Űrlap törlése a beküldés után","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":"Tranzakció frissítése","after_update_create_another":"A frissítés után térjen vissza ide a szerkesztés folytatásához.","store_as_new":"Tárolás új tranzakcióként frissítés helyett.","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":"(nincs malacpersely)","description":"Leírás","split_transaction_title_help":"Felosztott tranzakció létrehozásakor meg kell adni egy globális leírást a tranzakció összes felosztása részére.","destination_account_reconciliation":"Nem lehet szerkeszteni egy egyeztetett tranzakció célszámláját.","source_account_reconciliation":"Nem lehet szerkeszteni egy egyeztetett tranzakció forrásszámláját.","budget":"Költségkeret","you_create_withdrawal":"Egy költség létrehozása.","you_create_transfer":"Egy átutalás létrehozása.","you_create_deposit":"Egy bevétel létrehozása.","edit":"Szerkesztés","delete":"Törlés","name":"Név","profile_whoops":"Whoops!","profile_something_wrong":"Something went wrong!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Create New Client","profile_oauth_create_client":"Create Client","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Something your users will recognize and trust.","profile_oauth_redirect_url":"Redirect URL","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Revoke","profile_personal_access_tokens":"Personal Access Tokens","profile_personal_access_token":"Personal Access Token","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Create new token","profile_create_token":"Create token","profile_create":"Create","profile_save_changes":"Save changes","default_group_title_name":"(ungrouped)","piggy_bank":"Malacpersely"},"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":"Külföldi összeg","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma","internal_reference":"Belső hivatkozás"},"config":{"html_language":"hu"}}')},function(e){e.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_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"Informasi transaksi","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Source account","hidden_fields_preferences":"You can enable more transaction options in your settings.","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.","edit":"Edit","delete":"Menghapus","name":"Nama","profile_whoops":"Whoops!","profile_something_wrong":"Something went wrong!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Create New Client","profile_oauth_create_client":"Create Client","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Something your users will recognize and trust.","profile_oauth_redirect_url":"Redirect URL","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Revoke","profile_personal_access_tokens":"Personal Access Tokens","profile_personal_access_token":"Personal Access Token","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Create new token","profile_create_token":"Create token","profile_create":"Create","profile_save_changes":"Save changes","default_group_title_name":"(ungrouped)","piggy_bank":"Celengan"},"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(e){e.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_stored_link":"La transazione #{ID} (\\"{title}\\") è stata salvata.","transaction_updated_link":"La transazione #{ID} è stata aggiornata.","transaction_new_stored_link":"La transazione #{ID} è stata salvata.","transaction_journal_information":"Informazioni transazione","no_budget_pointer":"Sembra che tu non abbia ancora dei budget. Dovresti crearne alcuni nella pagina dei budget. I budget possono aiutarti a tenere traccia delle spese.","source_account":"Conto di origine","hidden_fields_preferences":"Puoi abilitare maggiori opzioni per le transazioni nelle tue impostazioni.","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":"Importo","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.","edit":"Modifica","delete":"Elimina","name":"Nome","profile_whoops":"Oops!","profile_something_wrong":"Qualcosa non ha funzionato!","profile_try_again":"Qualcosa non ha funzionato. Riprova.","profile_oauth_clients":"Client OAuth","profile_oauth_no_clients":"Non hai creato nessun client OAuth.","profile_oauth_clients_header":"Client","profile_oauth_client_id":"ID client","profile_oauth_client_name":"Nome","profile_oauth_client_secret":"Segreto","profile_oauth_create_new_client":"Crea nuovo client","profile_oauth_create_client":"Crea client","profile_oauth_edit_client":"Modifica client","profile_oauth_name_help":"Qualcosa di cui i tuoi utenti potranno riconoscere e fidarsi.","profile_oauth_redirect_url":"URL di reindirizzamento","profile_oauth_redirect_url_help":"L\'URL di callback dell\'autorizzazione della tua applicazione.","profile_authorized_apps":"Applicazioni autorizzate","profile_authorized_clients":"Client autorizzati","profile_scopes":"Ambiti","profile_revoke":"Revoca","profile_personal_access_tokens":"Token di acceso personale","profile_personal_access_token":"Token di acceso personale","profile_personal_access_token_explanation":"Ecco il tuo nuovo token di accesso personale. Questa è l\'unica volta che ti viene mostrato per cui non perderlo! Da adesso puoi utilizzare questo token per effettuare delle richieste API.","profile_no_personal_access_token":"Non hai creato alcun token di accesso personale.","profile_create_new_token":"Crea nuovo token","profile_create_token":"Crea token","profile_create":"Crea","profile_save_changes":"Salva modifiche","default_group_title_name":"(non in un gruppo)","piggy_bank":"Salvadanaio"},"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(e){e.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_stored_link":"Transactie #{ID} (\\"{title}\\") is opgeslagen.","transaction_updated_link":"Transactie #{ID} is geüpdatet.","transaction_new_stored_link":"Transactie #{ID} is opgeslagen.","transaction_journal_information":"Transactieinformatie","no_budget_pointer":"Je hebt nog geen budgetten. Maak er een aantal op de budgetten-pagina. Met budgetten kan je je uitgaven beter bijhouden.","source_account":"Bronrekening","hidden_fields_preferences":"Je kan meer transactieopties inschakelen in je instellingen.","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.","edit":"Wijzig","delete":"Verwijder","name":"Naam","profile_whoops":"Oeps!","profile_something_wrong":"Er is iets mis gegaan!","profile_try_again":"Er is iets misgegaan. Probeer het nogmaals.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"Je hebt nog geen OAuth-clients aangemaakt.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Naam","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Nieuwe client aanmaken","profile_oauth_create_client":"Client aanmaken","profile_oauth_edit_client":"Client bewerken","profile_oauth_name_help":"Iets dat je gebruikers herkennen en vertrouwen.","profile_oauth_redirect_url":"Redirect-URL","profile_oauth_redirect_url_help":"De authorisatie-callback-url van jouw applicatie.","profile_authorized_apps":"Geautoriseerde toepassingen","profile_authorized_clients":"Geautoriseerde clients","profile_scopes":"Scopes","profile_revoke":"Intrekken","profile_personal_access_tokens":"Persoonlijke toegangstokens","profile_personal_access_token":"Persoonlijk toegangstoken","profile_personal_access_token_explanation":"Hier is je nieuwe persoonlijke toegangstoken. Dit is de enige keer dat deze getoond wordt dus verlies deze niet! Je kan deze toegangstoken gebruiken om API-aanvragen te maken.","profile_no_personal_access_token":"Je hebt nog geen persoonlijke toegangstokens aangemaakt.","profile_create_new_token":"Nieuwe token aanmaken","profile_create_token":"Token aanmaken","profile_create":"Creër","profile_save_changes":"Aanpassingen opslaan","default_group_title_name":"(ongegroepeerd)","piggy_bank":"Spaarpotje"},"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(e){e.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(e){e.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_stored_link":"Transakcja #{ID} (\\"{title}\\") została zapisana.","transaction_updated_link":"Transakcja #{ID} została zaktualizowana.","transaction_new_stored_link":"Transakcja #{ID} została zapisana.","transaction_journal_information":"Informacje o transakcji","no_budget_pointer":"Wygląda na to że nie masz jeszcze budżetów. Powinieneś utworzyć kilka na stronie budżety. Budżety mogą Ci pomóc śledzić wydatki.","source_account":"Konto źródłowe","hidden_fields_preferences":"Możesz włączyć więcej opcji transakcji w swoich ustawieniach.","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":"Tworzysz wydatek.","you_create_transfer":"Tworzysz przelew.","you_create_deposit":"Tworzysz wpłatę.","edit":"Modyfikuj","delete":"Usuń","name":"Nazwa","profile_whoops":"Uuuups!","profile_something_wrong":"Coś poszło nie tak!","profile_try_again":"Coś poszło nie tak. Spróbuj ponownie.","profile_oauth_clients":"Klienci OAuth","profile_oauth_no_clients":"Nie utworzyłeś żadnych klientów OAuth.","profile_oauth_clients_header":"Klienci","profile_oauth_client_id":"ID klienta","profile_oauth_client_name":"Nazwa","profile_oauth_client_secret":"Sekretny klucz","profile_oauth_create_new_client":"Utwórz nowego klienta","profile_oauth_create_client":"Utwórz klienta","profile_oauth_edit_client":"Edytuj klienta","profile_oauth_name_help":"Coś, co Twoi użytkownicy będą rozpoznawać i ufać.","profile_oauth_redirect_url":"Przekierowanie URL","profile_oauth_redirect_url_help":"Adres URL wywołania zwrotnego autoryzacji aplikacji.","profile_authorized_apps":"Autoryzowane aplikacje","profile_authorized_clients":"Autoryzowani klienci","profile_scopes":"Zakresy","profile_revoke":"Unieważnij","profile_personal_access_tokens":"Osobiste tokeny dostępu","profile_personal_access_token":"Osobisty token dostępu","profile_personal_access_token_explanation":"Oto twój nowy osobisty token dostępu. Jest to jedyny raz, gdy zostanie wyświetlony, więc nie zgub go! Możesz teraz użyć tego tokenu, aby wykonać zapytania API.","profile_no_personal_access_token":"Nie utworzyłeś żadnych osobistych tokenów.","profile_create_new_token":"Utwórz nowy token","profile_create_token":"Utwórz token","profile_create":"Utwórz","profile_save_changes":"Zapisz zmiany","default_group_title_name":"(bez grupy)","piggy_bank":"Skarbonka"},"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(e){e.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_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"Tapahtumatiedot","no_budget_pointer":"Sinulla ei näyttäisi olevan vielä yhtään budjettia. Sinun kannattaisi luoda niitä budjetit-sivulla. Budjetit voivat auttaa sinua pitämään kirjaa kuluistasi.","source_account":"Lähdetili","hidden_fields_preferences":"Voit aktivoida lisää tapahtumavalintoja asetuksissa.","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.","edit":"Muokkaa","delete":"Poista","name":"Nimi","profile_whoops":"Hupsis!","profile_something_wrong":"Jokin meni vikaan!","profile_try_again":"Jokin meni vikaan. Yritä uudelleen.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Asiakasohjelmat","profile_oauth_client_id":"Asiakastunnus","profile_oauth_client_name":"Nimi","profile_oauth_client_secret":"Salaisuus","profile_oauth_create_new_client":"Luo Uusi Asiakas","profile_oauth_create_client":"Luo Asiakas","profile_oauth_edit_client":"Muokkaa asiakasta","profile_oauth_name_help":"Jotain käyttäjillesi tuttua ja luotettavaa.","profile_oauth_redirect_url":"URL:n uudelleenohjaus","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Peruuta","profile_personal_access_tokens":"Henkilökohtaiset Käyttöoikeuskoodit","profile_personal_access_token":"Henkilökohtainen Käyttöoikeuskoodi","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Luo uusi tunnus","profile_create_token":"Luo tunnus","profile_create":"Luo","profile_save_changes":"Tallenna muutokset","default_group_title_name":"(ryhmittelemättömät)","piggy_bank":"Säästöpossu"},"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(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"O que está acontecendo?","flash_error":"Erro!","flash_success":"Sucesso!","close":"Fechar","split_transaction_title":"Descrição da transação dividida","errors_submission":"Tem alguma coisa de errada com o seu envio. Por favor, cheque os erros abaixo.","split":"Dividir","transaction_stored_link":"Transação #{ID} (\\"{title}\\") foi salva.","transaction_updated_link":"Transação #{ID} foi atualizada.","transaction_new_stored_link":"Transação #{ID} foi salva.","transaction_journal_information":"Informação da transação","no_budget_pointer":"Parece que você ainda não tem orçamentos. Você deve criar alguns na página de orçamentos. Orçamentos podem ajudá-lo a manter o controle das despesas.","source_account":"Conta origem","hidden_fields_preferences":"Você pode ativar mais opções de transações em suas configurações.","destination_account":"Conta destino","add_another_split":"Adicionar outra divisão","submission":"Envio","create_another":"Depois de armazenar, retorne aqui para criar outro.","reset_after":"Resetar o formulário após o envio","submit":"Enviar","amount":"Valor","date":"Data","tags":"Tags","no_budget":"(sem orçamento)","category":"Categoria","attachments":"Anexos","notes":"Notas","update_transaction":"Atualizar transação","after_update_create_another":"Depois de atualizar, retorne aqui para continuar editando.","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":"Se você criar uma transação dividida, deve haver uma descrição global para todas as partes da transação.","destination_account_reconciliation":"Você não pode editar a conta de origem de uma transação de reconciliação.","source_account_reconciliation":"Você não pode editar a conta de origem de uma transação de reconciliação.","budget":"Orçamento","you_create_withdrawal":"Você está criando uma retirada.","you_create_transfer":"Você está criando uma transferência.","you_create_deposit":"Você está criando um deposito.","edit":"Editar","delete":"Apagar","name":"Nome","profile_whoops":"Ops!","profile_something_wrong":"Alguma coisa deu errado!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"Clientes OAuth","profile_oauth_no_clients":"Você não criou nenhum cliente OAuth.","profile_oauth_clients_header":"Clientes","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Nome","profile_oauth_client_secret":"Segredo","profile_oauth_create_new_client":"Criar um novo cliente","profile_oauth_create_client":"Criar um cliente","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Alguma coisa que seus usuários vão reconhecer e identificar.","profile_oauth_redirect_url":"URL de redirecionamento","profile_oauth_redirect_url_help":"A URL de retorno da sua solicitação de autorização.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Clientes autorizados","profile_scopes":"Escopos","profile_revoke":"Revogar","profile_personal_access_tokens":"Tokens de acesso pessoal","profile_personal_access_token":"Token de acesso pessoal","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"Você não criou nenhum token de acesso pessoal.","profile_create_new_token":"Criar novo token","profile_create_token":"Criar token","profile_create":"Criar","profile_save_changes":"Salvar alterações","default_group_title_name":"(não agrupado)","piggy_bank":"Cofrinho"},"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(e){e.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_stored_link":"Tranzacția #{ID} (\\"{title}\\") a fost stocată.","transaction_updated_link":"Tranzacția #{ID} a fost actualizată.","transaction_new_stored_link":"Tranzacția #{ID} a fost stocată.","transaction_journal_information":"Informații despre tranzacții","no_budget_pointer":"Se pare că nu aveți încă bugete. Ar trebui să creați câteva pe pagina bugete. Bugetele vă pot ajuta să țineți evidența cheltuielilor.","source_account":"Contul sursă","hidden_fields_preferences":"Puteți activa mai multe opțiuni de tranzacție în setările dvs.","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":"Creezi o retragere.","you_create_transfer":"Creezi un transfer.","you_create_deposit":"Creezi un depozit.","edit":"Editează","delete":"Șterge","name":"Nume","profile_whoops":"Hopaa!","profile_something_wrong":"A apărut o eroare!","profile_try_again":"A apărut o problemă. Încercați din nou.","profile_oauth_clients":"Clienți OAuth","profile_oauth_no_clients":"Nu ați creat niciun client OAuth.","profile_oauth_clients_header":"Clienți","profile_oauth_client_id":"ID Client","profile_oauth_client_name":"Nume","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Creare client nou","profile_oauth_create_client":"Creare client","profile_oauth_edit_client":"Editare client","profile_oauth_name_help":"Ceva ce utilizatorii vor recunoaște și vor avea încredere.","profile_oauth_redirect_url":"Redirectioneaza URL","profile_oauth_redirect_url_help":"URL-ul de retroapelare al aplicației dvs.","profile_authorized_apps":"Aplicațiile dvs autorizate","profile_authorized_clients":"Clienți autorizați","profile_scopes":"Domenii","profile_revoke":"Revocați","profile_personal_access_tokens":"Token de acces personal","profile_personal_access_token":"Token de acces personal","profile_personal_access_token_explanation":"Aici este noul dvs. token de acces personal. Este singura dată când va fi afișat așa că nu îl pierde! Acum poți folosi acest token pentru a face cereri API.","profile_no_personal_access_token":"Nu aţi creat nici un token personal de acces.","profile_create_new_token":"Crează un nou token","profile_create_token":"Crează token","profile_create":"Crează","profile_save_changes":"Salvează modificările","default_group_title_name":"(ungrouped)","piggy_bank":"Pușculiță"},"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(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"Что происходит с моими финансами?","flash_error":"Ошибка!","flash_success":"Успешно!","close":"Закрыть","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке произошла ошибка. Пожалуйста, проверьте ошибки ниже.","split":"Разделить","transaction_stored_link":"Транзакция #{ID} (\\"{title}\\") сохранена.","transaction_updated_link":"Транзакция #{ID} обновлена.","transaction_new_stored_link":"Транзакция #{ID} сохранена.","transaction_journal_information":"Информация о транзакции","no_budget_pointer":"Похоже, у вас пока нет бюджетов. Вы должны создать их в разделе Бюджеты. Бюджеты могут помочь вам отслеживать расходы.","source_account":"Счёт-источник","hidden_fields_preferences":"Вы можете включить больше параметров транзакции на странице настроек.","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_create_transfer":"Вы создаёте перевод.","you_create_deposit":"Вы создаёте доход.","edit":"Изменить","delete":"Удалить","name":"Название","profile_whoops":"Ууупс!","profile_something_wrong":"Что-то пошло не так!","profile_try_again":"Произошла ошибка. Пожалуйста, попробуйте снова.","profile_oauth_clients":"Клиенты OAuth","profile_oauth_no_clients":"У вас пока нет клиентов OAuth.","profile_oauth_clients_header":"Клиенты","profile_oauth_client_id":"ID клиента","profile_oauth_client_name":"Название","profile_oauth_client_secret":"Секретный ключ","profile_oauth_create_new_client":"Создать нового клиента","profile_oauth_create_client":"Создать клиента","profile_oauth_edit_client":"Изменить клиента","profile_oauth_name_help":"Что-то, что ваши пользователи знают, и чему доверяют.","profile_oauth_redirect_url":"URL редиректа","profile_oauth_redirect_url_help":"URL обратного вызова для вашего приложения.","profile_authorized_apps":"Авторизованные приложения","profile_authorized_clients":"Авторизованные клиенты","profile_scopes":"Разрешения","profile_revoke":"Отключить","profile_personal_access_tokens":"Персональные Access Tokens","profile_personal_access_token":"Персональный Access Token","profile_personal_access_token_explanation":"Вот ваш новый персональный токен доступа. Он будет показан вам только сейчас, поэтому не потеряйте его! Теперь вы можете использовать этот токен, чтобы делать запросы по API.","profile_no_personal_access_token":"Вы не создали ни одного персонального токена доступа.","profile_create_new_token":"Создать новый токен","profile_create_token":"Создать токен","profile_create":"Создать","profile_save_changes":"Сохранить изменения","default_group_title_name":"(без группировки)","piggy_bank":"Копилка"},"form":{"interest_date":"Дата выплаты","book_date":"Дата бронирования","process_date":"Дата обработки","due_date":"Срок","foreign_amount":"Сумма в иностранной валюте","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта","internal_reference":"Внутренняя ссылка"},"config":{"html_language":"ru"}}')},function(e){e.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(e){e.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_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"交易資訊","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Source account","hidden_fields_preferences":"You can enable more transaction options in your settings.","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.","edit":"編輯","delete":"刪除","name":"名稱","profile_whoops":"Whoops!","profile_something_wrong":"Something went wrong!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Create New Client","profile_oauth_create_client":"Create Client","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Something your users will recognize and trust.","profile_oauth_redirect_url":"Redirect URL","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Revoke","profile_personal_access_tokens":"Personal Access Tokens","profile_personal_access_token":"Personal Access Token","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Create new token","profile_create_token":"Create token","profile_create":"Create","profile_save_changes":"Save changes","default_group_title_name":"(ungrouped)","piggy_bank":"小豬撲滿"},"form":{"interest_date":"利率日期","book_date":"登記日期","process_date":"處理日期","due_date":"到期日","foreign_amount":"外幣金額","payment_date":"付款日期","invoice_date":"發票日期","internal_reference":"內部參考"},"config":{"html_language":"zh-tw"}}')},function(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"今天理财了吗?","flash_error":"错误!","flash_success":"成功!","close":"关闭","split_transaction_title":"拆分交易的描述","errors_submission":"您的提交有误,请查看下面输出的错误信息。","split":"分割","transaction_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"交易资讯","no_budget_pointer":"您似乎还没有任何预算。您应该在 预算页面上创建他们。预算可以帮助您跟踪费用。","source_account":"来源帐户","hidden_fields_preferences":"您可以在 设置中启用更多的交易选项。","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_create_transfer":"您正在创建一个转账","you_create_deposit":"您正在创建一个存款","edit":"编辑","delete":"删除","name":"名称","profile_whoops":"Whoops!","profile_something_wrong":"Something went wrong!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Create New Client","profile_oauth_create_client":"Create Client","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Something your users will recognize and trust.","profile_oauth_redirect_url":"Redirect URL","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Revoke","profile_personal_access_tokens":"Personal Access Tokens","profile_personal_access_token":"Personal Access Token","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Create new token","profile_create_token":"Create token","profile_create":"Create","profile_save_changes":"Save changes","default_group_title_name":"(ungrouped)","piggy_bank":"存钱罐"},"form":{"interest_date":"利率日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","foreign_amount":"外币金额","payment_date":"付款日期","invoice_date":"发票日期","internal_reference":"内部参考"},"config":{"html_language":"zh-cn"}}')},function(e){e.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_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"Transaktionsinformation","no_budget_pointer":"Du verkar inte ha några budgetar än. Du bör skapa några på budgetar-sidan. Budgetar kan hjälpa dig att hålla reda på utgifter.","source_account":"Från konto","hidden_fields_preferences":"You can enable more transaction options in your settings.","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.","edit":"Redigera","delete":"Ta bort","name":"Namn","profile_whoops":"Hoppsan!","profile_something_wrong":"Något gick fel!","profile_try_again":"Något gick fel. Försök igen.","profile_oauth_clients":"OAuth klienter","profile_oauth_no_clients":"Du har inte skapat några OAuth klienter.","profile_oauth_clients_header":"Klienter","profile_oauth_client_id":"Klient ID","profile_oauth_client_name":"Namn","profile_oauth_client_secret":"Hemlighet","profile_oauth_create_new_client":"Skapa ny klient","profile_oauth_create_client":"Skapa klient","profile_oauth_edit_client":"Redigera klient","profile_oauth_name_help":"Något som dina användare kommer att känna igen och lita på.","profile_oauth_redirect_url":"Omdirigera URL","profile_oauth_redirect_url_help":"Din applikations auktorisering callback URL.","profile_authorized_apps":"Auktoriserade applikationer","profile_authorized_clients":"Auktoriserade klienter","profile_scopes":"Omfattningar","profile_revoke":"Återkalla","profile_personal_access_tokens":"Personliga åtkomst-Tokens","profile_personal_access_token":"Personlig åtkomsttoken","profile_personal_access_token_explanation":"Här är din nya personliga tillgångs token. Detta är den enda gången det kommer att visas så förlora inte det! Du kan nu använda denna token för att göra API-förfrågningar.","profile_no_personal_access_token":"Du har inte skapat några personliga åtkomsttokens.","profile_create_new_token":"Skapa ny token","profile_create_token":"Skapa token","profile_create":"Skapa","profile_save_changes":"Spara ändringar","default_group_title_name":"(ungrouped)","piggy_bank":"Spargris"},"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(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"Chào mừng trở lại?","flash_error":"Lỗi!","flash_success":"Thành công!","close":"Đóng","split_transaction_title":"Mô tả giao dịch tách","errors_submission":"Có gì đó sai. Vui lòng kiểm tra các lỗi dưới đây.","split":"Chia ra","transaction_stored_link":"Giao dịch #{ID} (\\"{title}\\") đã được lưu trữ.","transaction_updated_link":"Giao dịch#{ID} đã được cập nhật.","transaction_new_stored_link":" Giao dịch #{ID} đã được lưu trữ.","transaction_journal_information":"Thông tin giao dịch","no_budget_pointer":"Bạn dường như chưa có ngân sách. Bạn nên tạo một cái trên budgets-page. Ngân sách có thể giúp bạn theo dõi chi phí.","source_account":"Nguồn tài khoản","hidden_fields_preferences":"Bạn có thể kích hoạt thêm tùy chọn giao dịch trong settings.","destination_account":"Tài khoản đích","add_another_split":"Thêm một phân chia khác","submission":"Gửi","create_another":"Sau khi lưu trữ, quay trở lại đây để tạo một cái khác.","reset_after":"Đặt lại mẫu sau khi gửi","submit":"Gửi","amount":"Số tiền","date":"Ngày","tags":"Nhãn","no_budget":"(không có ngân sách)","category":"Danh mục","attachments":"Tệp đính kèm","notes":"Ghi chú","update_transaction":"Cập nhật giao dịch","after_update_create_another":"Sau khi cập nhật, quay lại đây để tiếp tục chỉnh sửa.","store_as_new":"Lưu trữ như một giao dịch mới thay vì cập nhật.","split_title_help":"Nếu bạn tạo một giao dịch phân tách, phải có một mô tả toàn cầu cho tất cả các phân chia của giao dịch.","none_in_select_list":"(Trống)","no_piggy_bank":"(chưa có heo đất)","description":"Sự miêu tả","split_transaction_title_help":"Nếu bạn tạo một giao dịch phân tách, phải có một mô tả toàn cầu cho tất cả các phân chia của giao dịch.","destination_account_reconciliation":"Bạn không thể chỉnh sửa tài khoản đích của giao dịch đối chiếu.","source_account_reconciliation":"Bạn không thể chỉnh sửa tài khoản nguồn của giao dịch đối chiếu.","budget":"Ngân sách","you_create_withdrawal":"Bạn đang tạo một rút tiền.","you_create_transfer":"Bạn đang tạo một chuyển khoản.","you_create_deposit":"Bạn đang tạo một tiền gửi.","edit":"Sửa","delete":"Xóa","name":"Tên","profile_whoops":"Rất tiếc!","profile_something_wrong":"Có lỗi xảy ra!","profile_try_again":"Xảy ra lỗi. Vui lòng thử lại.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"Bạn đã không tạo ra bất kỳ OAuth clients nào.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Tên","profile_oauth_client_secret":"Mã bí mật","profile_oauth_create_new_client":"Tạo mới Client","profile_oauth_create_client":"Tạo Client","profile_oauth_edit_client":"Sửa Client","profile_oauth_name_help":"Một cái gì đó người dùng của bạn sẽ nhận ra và tin tưởng.","profile_oauth_redirect_url":"URL chuyển tiếp","profile_oauth_redirect_url_help":"URL gọi lại ủy quyền của ứng dụng của bạn.","profile_authorized_apps":"Uỷ quyền ứng dụng","profile_authorized_clients":"Client ủy quyền","profile_scopes":"Phạm vi","profile_revoke":"Thu hồi","profile_personal_access_tokens":"Mã truy cập cá nhân","profile_personal_access_token":"Mã truy cập cá nhân","profile_personal_access_token_explanation":"Đây là mã thông báo truy cập cá nhân mới của bạn. Đây là lần duy nhất nó sẽ được hiển thị vì vậy đừng đánh mất nó! Bây giờ bạn có thể sử dụng mã thông báo này để thực hiện API.","profile_no_personal_access_token":"Bạn chưa tạo bất kỳ mã thông báo truy cập cá nhân nào.","profile_create_new_token":"Tạo mã mới","profile_create_token":"Tạo mã","profile_create":"Tạo","profile_save_changes":"Lưu thay đổi","default_group_title_name":"(chưa nhóm)","piggy_bank":"Heo đất"},"form":{"interest_date":"Ngày lãi","book_date":"Ngày đặt sách","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","foreign_amount":"Ngoại tệ","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn","internal_reference":"Tài liệu tham khảo nội bộ"},"config":{"html_language":"vi"}}')},function(e,t,n){window,e.exports=function(e){var t={};function n(a){if(t[a])return t[a].exports;var o=t[a]={i:a,l:!1,exports:{}};return e[a].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(a,o,function(t){return e[t]}.bind(null,o));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=6)}([function(e,t,n){var a=n(8);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(4).default)("7ec05f6c",a,!1,{})},function(e,t,n){var a=n(10);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(4).default)("3453d19d",a,!1,{})},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,a=e[1]||"",o=e[3];if(!o)return a;if(t&&"function"==typeof btoa){var i=(n=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),r=o.sources.map((function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"}));return[a].concat(r).concat([i]).join("\n")}return[a].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var a={},o=0;on.parts.length&&(a.parts.length=n.parts.length)}else{var r=[];for(o=0;o 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(e,t,n){"use strict";e.exports=function(e){return"string"!=typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),/["'() \t\n]/.test(e)?'"'+e.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':e)}},function(e,t){e.exports="data:font/ttf;base64,AAEAAAALAIAAAwAwT1MvMg8SBawAAAC8AAAAYGNtYXAXVtKJAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZqWfozAAAAF4AAAA/GhlYWQPxZgIAAACdAAAADZoaGVhB4ADyAAAAqwAAAAkaG10eBIAAb4AAALQAAAAHGxvY2EAkgDiAAAC7AAAABBtYXhwAAkAHwAAAvwAAAAgbmFtZZlKCfsAAAMcAAABhnBvc3QAAwAAAAAEpAAAACAAAwOAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpAgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6QL//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAFYBAQO+AoEAHAAAATIXHgEXFhcHJicuAScmIyIGBxchERc2Nz4BNzYCFkpDQ28pKRdkECAfVTM0OT9wLZz+gJgdIiJLKSgCVRcYUjg5QiAzKys+ERIrJZoBgJoZFRQcCAgAAQDWAIEDKgLVAAsAAAEHFwcnByc3JzcXNwMq7u487u487u487u4Cme7uPO7uPO7uPO7uAAEAkgCBA4ACvQAFAAAlARcBJzcBgAHEPP4A7jz5AcQ8/gDuPAAAAAABAAAAAAAAH8nTUV8PPPUACwQAAAAAANZ1KhsAAAAA1nUqGwAAAAADvgLVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAO+AAEAAAAAAAAAAAAAAAAAAAAHBAAAAAAAAAAAAAAAAgAAAAQAAFYEAADWBAAAkgAAAAAACgAUAB4AUABqAH4AAQAAAAcAHQABAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGljb21vb24AaQBjAG8AbQBvAG8AblZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGljb21vb24AaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AblJlZ3VsYXIAUgBlAGcAdQBsAGEAcmljb21vb24AaQBjAG8AbQBvAG8AbkZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="},function(e,t){e.exports="data:font/woff;base64,d09GRgABAAAAAAUQAAsAAAAABMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIFrGNtYXAAAAFoAAAAVAAAAFQXVtKJZ2FzcAAAAbwAAAAIAAAACAAAABBnbHlmAAABxAAAAPwAAAD8pZ+jMGhlYWQAAALAAAAANgAAADYPxZgIaGhlYQAAAvgAAAAkAAAAJAeAA8hobXR4AAADHAAAABwAAAAcEgABvmxvY2EAAAM4AAAAEAAAABAAkgDibWF4cAAAA0gAAAAgAAAAIAAJAB9uYW1lAAADaAAAAYYAAAGGmUoJ+3Bvc3QAAATwAAAAIAAAACAAAwAAAAMDgAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA6QIDwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADgAAAAKAAgAAgACAAEAIOkC//3//wAAAAAAIOkA//3//wAB/+MXBAADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQBWAQEDvgKBABwAAAEyFx4BFxYXByYnLgEnJiMiBgcXIREXNjc+ATc2AhZKQ0NvKSkXZBAgH1UzNDk/cC2c/oCYHSIiSykoAlUXGFI4OUIgMysrPhESKyWaAYCaGRUUHAgIAAEA1gCBAyoC1QALAAABBxcHJwcnNyc3FzcDKu7uPO7uPO7uPO7uApnu7jzu7jzu7jzu7gABAJIAgQOAAr0ABQAAJQEXASc3AYABxDz+AO48+QHEPP4A7jwAAAAAAQAAAAAAAB/J01FfDzz1AAsEAAAAAADWdSobAAAAANZ1KhsAAAAAA74C1QAAAAgAAgAAAAAAAAABAAADwP/AAAAEAAAAAAADvgABAAAAAAAAAAAAAAAAAAAABwQAAAAAAAAAAAAAAAIAAAAEAABWBAAA1gQAAJIAAAAAAAoAFAAeAFAAagB+AAEAAAAHAB0AAQAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAHAAAAAQAAAAAAAgAHAGAAAQAAAAAAAwAHADYAAQAAAAAABAAHAHUAAQAAAAAABQALABUAAQAAAAAABgAHAEsAAQAAAAAACgAaAIoAAwABBAkAAQAOAAcAAwABBAkAAgAOAGcAAwABBAkAAwAOAD0AAwABBAkABAAOAHwAAwABBAkABQAWACAAAwABBAkABgAOAFIAAwABBAkACgA0AKRpY29tb29uAGkAYwBvAG0AbwBvAG5WZXJzaW9uIDEuMABWAGUAcgBzAGkAbwBuACAAMQAuADBpY29tb29uAGkAYwBvAG0AbwBvAG5pY29tb29uAGkAYwBvAG0AbwBvAG5SZWd1bGFyAFIAZQBnAHUAbABhAHJpY29tb29uAGkAYwBvAG0AbwBvAG5Gb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vue-tags-input",class:[{"ti-disabled":e.disabled},{"ti-focus":e.focused}]},[n("div",{staticClass:"ti-input"},[e.tagsCopy?n("ul",{staticClass:"ti-tags"},[e._l(e.tagsCopy,(function(t,a){return n("li",{key:a,staticClass:"ti-tag",class:[{"ti-editing":e.tagsEditStatus[a]},t.tiClasses,t.classes,{"ti-deletion-mark":e.isMarked(a)}],style:t.style,attrs:{tabindex:"0"},on:{click:function(n){return e.$emit("tag-clicked",{tag:t,index:a})}}},[n("div",{staticClass:"ti-content"},[e.$scopedSlots["tag-left"]?n("div",{staticClass:"ti-tag-left"},[e._t("tag-left",null,{tag:t,index:a,edit:e.tagsEditStatus[a],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(a)})],2):e._e(),e._v(" "),n("div",{ref:"tagCenter",refInFor:!0,staticClass:"ti-tag-center"},[e.$scopedSlots["tag-center"]?e._e():n("span",{class:{"ti-hidden":e.tagsEditStatus[a]},on:{click:function(t){return e.performEditTag(a)}}},[e._v(e._s(t.text))]),e._v(" "),e.$scopedSlots["tag-center"]?e._e():n("tag-input",{attrs:{scope:{edit:e.tagsEditStatus[a],maxlength:e.maxlength,tag:t,index:a,validateTag:e.createChangedTag,performCancelEdit:e.cancelEdit,performSaveEdit:e.performSaveTag}}}),e._v(" "),e._t("tag-center",null,{tag:t,index:a,maxlength:e.maxlength,edit:e.tagsEditStatus[a],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,validateTag:e.createChangedTag,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(a)})],2),e._v(" "),e.$scopedSlots["tag-right"]?n("div",{staticClass:"ti-tag-right"},[e._t("tag-right",null,{tag:t,index:a,edit:e.tagsEditStatus[a],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(a)})],2):e._e()]),e._v(" "),n("div",{staticClass:"ti-actions"},[e.$scopedSlots["tag-actions"]?e._e():n("i",{directives:[{name:"show",rawName:"v-show",value:e.tagsEditStatus[a],expression:"tagsEditStatus[index]"}],staticClass:"ti-icon-undo",on:{click:function(t){return e.cancelEdit(a)}}}),e._v(" "),e.$scopedSlots["tag-actions"]?e._e():n("i",{directives:[{name:"show",rawName:"v-show",value:!e.tagsEditStatus[a],expression:"!tagsEditStatus[index]"}],staticClass:"ti-icon-close",on:{click:function(t){return e.performDeleteTag(a)}}}),e._v(" "),e.$scopedSlots["tag-actions"]?e._t("tag-actions",null,{tag:t,index:a,edit:e.tagsEditStatus[a],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(a)}):e._e()],2)])})),e._v(" "),n("li",{staticClass:"ti-new-tag-input-wrapper"},[n("input",e._b({ref:"newTagInput",staticClass:"ti-new-tag-input",class:[e.createClasses(e.newTag,e.tags,e.validation,e.isDuplicate)],attrs:{placeholder:e.placeholder,maxlength:e.maxlength,disabled:e.disabled,type:"text",size:"1"},domProps:{value:e.newTag},on:{keydown:[function(t){return e.performAddTags(e.filteredAutocompleteItems[e.selectedItem]||e.newTag,t)},function(t){return t.type.indexOf("key")||8===t.keyCode?e.invokeDelete(t):null},function(t){return t.type.indexOf("key")||9===t.keyCode?e.performBlur(t):null},function(t){return t.type.indexOf("key")||38===t.keyCode?e.selectItem(t,"before"):null},function(t){return t.type.indexOf("key")||40===t.keyCode?e.selectItem(t,"after"):null}],paste:e.addTagsFromPaste,input:e.updateNewTag,blur:function(t){return e.$emit("blur",t)},focus:function(t){e.focused=!0,e.$emit("focus",t)},click:function(t){!e.addOnlyFromAutocomplete&&(e.selectedItem=null)}}},"input",e.$attrs,!1))])],2):e._e()]),e._v(" "),e._t("between-elements"),e._v(" "),e.autocompleteOpen?n("div",{staticClass:"ti-autocomplete",on:{mouseout:function(t){e.selectedItem=null}}},[e._t("autocomplete-header"),e._v(" "),n("ul",e._l(e.filteredAutocompleteItems,(function(t,a){return n("li",{key:a,staticClass:"ti-item",class:[t.tiClasses,t.classes,{"ti-selected-item":e.isSelected(a)}],style:t.style,on:{mouseover:function(t){!e.disabled&&(e.selectedItem=a)}}},[e.$scopedSlots["autocomplete-item"]?e._t("autocomplete-item",null,{item:t,index:a,performAdd:function(t){return e.performAddTags(t,void 0,"autocomplete")},selected:e.isSelected(a)}):n("div",{on:{click:function(n){return e.performAddTags(t,void 0,"autocomplete")}}},[e._v("\n "+e._s(t.text)+"\n ")])],2)})),0),e._v(" "),e._t("autocomplete-footer")],2):e._e()],2)};a._withStripped=!0;var o=n(5),i=n.n(o),r=function(e){return JSON.parse(JSON.stringify(e))},s=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3?arguments[3]:void 0;void 0===e.text&&(e={text:e});var o=function(e,t){return t.filter((function(t){var n=e.text;return"string"==typeof t.rule?!new RegExp(t.rule).test(n):t.rule instanceof RegExp?!t.rule.test(n):"[object Function]"==={}.toString.call(t.rule)?t.rule(e):void 0})).map((function(e){return e.classes}))}(e,n),i=function(e,t){for(var n=0;n1?n-1:0),o=1;o1?t-1:0),a=1;a=this.autocompleteMinLength&&this.filteredAutocompleteItems.length>0&&this.focused},filteredAutocompleteItems:function(){var e=this,t=this.autocompleteItems.map((function(t){return c(t,e.tags,e.validation,e.isDuplicate)}));return this.autocompleteFilterDuplicates?t.filter(this.duplicateFilter):t}},methods:{createClasses:s,getSelectedIndex:function(e){var t=this.filteredAutocompleteItems,n=this.selectedItem,a=t.length-1;if(0!==t.length)return null===n?0:"before"===e&&0===n?a:"after"===e&&n===a?0:"after"===e?n+1:n-1},selectDefaultItem:function(){this.addOnlyFromAutocomplete&&this.filteredAutocompleteItems.length>0?this.selectedItem=0:this.selectedItem=null},selectItem:function(e,t){e.preventDefault(),this.selectedItem=this.getSelectedIndex(t)},isSelected:function(e){return this.selectedItem===e},isMarked:function(e){return this.deletionMark===e},invokeDelete:function(){var e=this;if(this.deleteOnBackspace&&!(this.newTag.length>0)){var t=this.tagsCopy.length-1;null===this.deletionMark?(this.deletionMarkTime=setTimeout((function(){return e.deletionMark=null}),1e3),this.deletionMark=t):this.performDeleteTag(t)}},addTagsFromPaste:function(){var e=this;this.addFromPaste&&setTimeout((function(){return e.performAddTags(e.newTag)}),10)},performEditTag:function(e){var t=this;this.allowEditTags&&(this._events["before-editing-tag"]||this.editTag(e),this.$emit("before-editing-tag",{index:e,tag:this.tagsCopy[e],editTag:function(){return t.editTag(e)}}))},editTag:function(e){this.allowEditTags&&(this.toggleEditMode(e),this.focus(e))},toggleEditMode:function(e){this.allowEditTags&&!this.disabled&&this.$set(this.tagsEditStatus,e,!this.tagsEditStatus[e])},createChangedTag:function(e,t){var n=this.tagsCopy[e];n.text=t?t.target.value:this.tagsCopy[e].text,this.$set(this.tagsCopy,e,c(n,this.tagsCopy,this.validation,this.isDuplicate))},focus:function(e){var t=this;this.$nextTick((function(){var n=t.$refs.tagCenter[e].querySelector("input.ti-tag-input");n&&n.focus()}))},quote:function(e){return e.replace(/([()[{*+.$^\\|?])/g,"\\$1")},cancelEdit:function(e){this.tags[e]&&(this.tagsCopy[e]=r(c(this.tags[e],this.tags,this.validation,this.isDuplicate)),this.$set(this.tagsEditStatus,e,!1))},hasForbiddingAddRule:function(e){var t=this;return e.some((function(e){var n=t.validation.find((function(t){return e===t.classes}));return!!n&&n.disableAdd}))},createTagTexts:function(e){var t=this,n=new RegExp(this.separators.map((function(e){return t.quote(e)})).join("|"));return e.split(n).map((function(e){return{text:e}}))},performDeleteTag:function(e){var t=this;this._events["before-deleting-tag"]||this.deleteTag(e),this.$emit("before-deleting-tag",{index:e,tag:this.tagsCopy[e],deleteTag:function(){return t.deleteTag(e)}})},deleteTag:function(e){this.disabled||(this.deletionMark=null,clearTimeout(this.deletionMarkTime),this.tagsCopy.splice(e,1),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},noTriggerKey:function(e,t){var n=-1!==this[t].indexOf(e.keyCode)||-1!==this[t].indexOf(e.key);return n&&e.preventDefault(),!n},performAddTags:function(e,t,n){var a=this;if(!(this.disabled||t&&this.noTriggerKey(t,"addOnKey"))){var o=[];"object"===m(e)&&(o=[e]),"string"==typeof e&&(o=this.createTagTexts(e)),(o=o.filter((function(e){return e.text.trim().length>0}))).forEach((function(e){e=c(e,a.tags,a.validation,a.isDuplicate),a._events["before-adding-tag"]||a.addTag(e,n),a.$emit("before-adding-tag",{tag:e,addTag:function(){return a.addTag(e,n)}})}))}},duplicateFilter:function(e){return this.isDuplicate?!this.isDuplicate(this.tagsCopy,e):!this.tagsCopy.find((function(t){return t.text===e.text}))},addTag:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"new-tag-input",a=this.filteredAutocompleteItems.map((function(e){return e.text}));this.addOnlyFromAutocomplete&&-1===a.indexOf(e.text)||this.$nextTick((function(){return t.maxTags&&t.maxTags<=t.tagsCopy.length?t.$emit("max-tags-reached",e):t.avoidAddingDuplicates&&!t.duplicateFilter(e)?t.$emit("adding-duplicate",e):void(t.hasForbiddingAddRule(e.tiClasses)||(t.$emit("input",""),t.tagsCopy.push(e),t._events["update:tags"]&&t.$emit("update:tags",t.tagsCopy),"autocomplete"===n&&t.$refs.newTagInput.focus(),t.$emit("tags-changed",t.tagsCopy)))}))},performSaveTag:function(e,t){var n=this,a=this.tagsCopy[e];this.disabled||t&&this.noTriggerKey(t,"addOnKey")||0!==a.text.trim().length&&(this._events["before-saving-tag"]||this.saveTag(e,a),this.$emit("before-saving-tag",{index:e,tag:a,saveTag:function(){return n.saveTag(e,a)}}))},saveTag:function(e,t){if(this.avoidAddingDuplicates){var n=r(this.tagsCopy),a=n.splice(e,1)[0];if(this.isDuplicate?this.isDuplicate(n,a):-1!==n.map((function(e){return e.text})).indexOf(a.text))return this.$emit("saving-duplicate",t)}this.hasForbiddingAddRule(t.tiClasses)||(this.$set(this.tagsCopy,e,t),this.toggleEditMode(e),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},tagsEqual:function(){var e=this;return!this.tagsCopy.some((function(t,n){return!i()(t,e.tags[n])}))},updateNewTag:function(e){var t=e.target.value;this.newTag=t,this.$emit("input",t)},initTags:function(){this.tagsCopy=l(this.tags,this.validation,this.isDuplicate),this.tagsEditStatus=r(this.tags).map((function(){return!1})),this._events["update:tags"]&&!this.tagsEqual()&&this.$emit("update:tags",this.tagsCopy)},blurredOnClick:function(e){this.$el.contains(e.target)||this.$el.contains(document.activeElement)||this.performBlur(e)},performBlur:function(){this.addOnBlur&&this.focused&&this.performAddTags(this.newTag),this.focused=!1}},watch:{value:function(e){this.addOnlyFromAutocomplete||(this.selectedItem=null),this.newTag=e},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),p(v,a,[],!1,null,"61d92e31",null));y.options.__file="vue-tags-input/vue-tags-input.vue";var b=y.exports;n.d(t,"VueTagsInput",(function(){return b})),n.d(t,"createClasses",(function(){return s})),n.d(t,"createTag",(function(){return c})),n.d(t,"createTags",(function(){return l})),n.d(t,"TagInput",(function(){return A})),b.install=function(e){return e.component(b.name,b)},"undefined"!=typeof window&&window.Vue&&window.Vue.use(b),t.default=b}])},function(e,t,n){"use strict";var a={name:"CustomAttachments",props:{title:String,name:String,error:Array},methods:{clearAtt:function(){this.$refs.input.value=""},hasError:function(){return this.error.length>0}}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{multiple:"multiple",autocomplete:"off",placeholder:e.title,title:e.title,name:e.name,type:"file"}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:e.clearAtt}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"25a774c0",null);t.a=i.exports},function(e,t,n){"use strict";var a={name:"CustomDate",props:{value:String,title:String,name:String,error:Array},methods:{handleInput:function(e){this.$emit("input",this.$refs.date.value)},hasError:function(){return this.error.length>0},clearDate:function(){this.name="",this.$refs.date.value="",this.$emit("input",this.$refs.date.value)}}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"date",staticClass:"form-control",attrs:{type:"date",name:e.name,title:e.title,autocomplete:"off",placeholder:e.title},domProps:{value:e.value?e.value.substr(0,10):""},on:{input:e.handleInput}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearDate}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"7a261844",null);t.a=i.exports},function(e,t,n){"use strict";var a={name:"CustomString",props:{title:String,name:String,value:String,error:Array},methods:{handleInput:function(e){this.$emit("input",this.$refs.str.value)},clearField:function(){this.name="",this.$refs.str.value="",this.$emit("input",this.$refs.str.value)},hasError:function(){return this.error.length>0}}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"str",staticClass:"form-control",attrs:{type:"text",name:e.name,title:e.title,autocomplete:"off",placeholder:e.title},domProps:{value:e.value},on:{input:e.handleInput}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearField}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"ada77346",null);t.a=i.exports},function(e,t,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(e){this.$emit("input",this.$refs.str.value)},hasError:function(){return this.error.length>0}}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.textValue,expression:"textValue"}],ref:"str",staticClass:"form-control",attrs:{name:e.name,title:e.title,autocomplete:"off",rows:"8",placeholder:e.title},domProps:{value:e.textValue},on:{input:[function(t){t.target.composing||(e.textValue=t.target.value)},e.handleInput]}}),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"40389097",null);t.a=i.exports},function(e,t,n){"use strict";var a={props:["error","value","index"],name:"StandardDate",methods:{hasError:function(){return this.error.length>0},handleInput:function(e){this.$emit("input",this.$refs.date.value)},clearDate:function(){this.name="",this.$refs.date.value="",this.$emit("input",this.$refs.date.value),this.$emit("clear:date")}}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.date"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"date",staticClass:"form-control",attrs:{type:"date",name:"date[]",title:e.$t("firefly.date"),autocomplete:"off",disabled:e.index>0,placeholder:e.$t("firefly.date")},domProps:{value:e.value},on:{input:e.handleInput}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearDate}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"4e877916",null);t.a=i.exports},function(e,t,n){"use strict";var a={props:["error","value","index"],name:"GroupDescription",methods:{hasError:function(){return this.error.length>0},handleInput:function(e){this.$emit("input",this.$refs.descr.value)},clearField:function(){this.name="",this.$refs.descr.value="",this.$emit("input",this.$refs.descr.value)}}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.split_transaction_title"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"descr",staticClass:"form-control",attrs:{type:"text",name:"group_title",title:e.$t("firefly.split_transaction_title"),autocomplete:"off",placeholder:e.$t("firefly.split_transaction_title")},domProps:{value:e.value},on:{input:e.handleInput}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearField}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),0===e.error.length?n("p",{staticClass:"help-block"},[e._v("\n "+e._s(e.$t("firefly.split_transaction_title_help"))+"\n ")]):e._e(),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"2666c561",null);t.a=i.exports},function(e,t,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=",this.$refs.descr.focus()},components:{},data:function(){return{descriptionAutoCompleteURI:null,name:null,description:null,target:null}},methods:{search:function(e){return["ab","cd"]},hasError:function(){return this.error.length>0},clearDescription:function(){this.description="",this.$refs.descr.value="",this.$emit("input",this.$refs.descr.value),this.$emit("clear:description")},handleInput:function(e){this.$emit("input",this.$refs.descr.value)},handleEnter:function(e){e.keyCode},selectedItem:function(e){void 0!==this.name&&"string"!=typeof this.name&&(this.$refs.descr.value=this.name.description,this.$emit("input",this.$refs.descr.value))}}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.description"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"descr",staticClass:"form-control",attrs:{type:"text",name:"description[]",title:e.$t("firefly.description"),autocomplete:"off",placeholder:e.$t("firefly.description")},domProps:{value:e.value},on:{keypress:e.handleEnter,submit:function(e){e.preventDefault()},input:e.handleInput}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearDescription}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":e.descriptionAutoCompleteURI,target:e.target,"item-key":"description"},on:{input:e.selectedItem},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}}),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"dfd3d572",null);t.a=i.exports},function(e,t,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(e){this.$emit("input",this.value)},getPreference:function(){var e=this,t=document.getElementsByTagName("base")[0].href+"api/v1/preferences/transaction_journal_optional_fields";axios.get(t).then((function(t){e.fields=t.data.data.attributes.data})).catch((function(){return console.warn("Oh. Something went wrong loading custom transaction fields.")}))}}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("p",{staticClass:"help-block",domProps:{innerHTML:e._s(e.$t("firefly.hidden_fields_preferences"))}}),e._v(" "),this.fields.interest_date?n(e.dateComponent,{tag:"component",attrs:{error:e.error.interest_date,name:"interest_date[]",title:e.$t("form.interest_date")},model:{value:e.value.interest_date,callback:function(t){e.$set(e.value,"interest_date",t)},expression:"value.interest_date"}}):e._e(),e._v(" "),this.fields.book_date?n(e.dateComponent,{tag:"component",attrs:{error:e.error.book_date,name:"book_date[]",title:e.$t("form.book_date")},model:{value:e.value.book_date,callback:function(t){e.$set(e.value,"book_date",t)},expression:"value.book_date"}}):e._e(),e._v(" "),this.fields.process_date?n(e.dateComponent,{tag:"component",attrs:{error:e.error.process_date,name:"process_date[]",title:e.$t("form.process_date")},model:{value:e.value.process_date,callback:function(t){e.$set(e.value,"process_date",t)},expression:"value.process_date"}}):e._e(),e._v(" "),this.fields.due_date?n(e.dateComponent,{tag:"component",attrs:{error:e.error.due_date,name:"due_date[]",title:e.$t("form.due_date")},model:{value:e.value.due_date,callback:function(t){e.$set(e.value,"due_date",t)},expression:"value.due_date"}}):e._e(),e._v(" "),this.fields.payment_date?n(e.dateComponent,{tag:"component",attrs:{error:e.error.payment_date,name:"payment_date[]",title:e.$t("form.payment_date")},model:{value:e.value.payment_date,callback:function(t){e.$set(e.value,"payment_date",t)},expression:"value.payment_date"}}):e._e(),e._v(" "),this.fields.invoice_date?n(e.dateComponent,{tag:"component",attrs:{error:e.error.invoice_date,name:"invoice_date[]",title:e.$t("form.invoice_date")},model:{value:e.value.invoice_date,callback:function(t){e.$set(e.value,"invoice_date",t)},expression:"value.invoice_date"}}):e._e(),e._v(" "),this.fields.internal_reference?n(e.stringComponent,{tag:"component",attrs:{error:e.error.internal_reference,name:"internal_reference[]",title:e.$t("form.internal_reference")},model:{value:e.value.internal_reference,callback:function(t){e.$set(e.value,"internal_reference",t)},expression:"value.internal_reference"}}):e._e(),e._v(" "),this.fields.attachments?n(e.attachmentComponent,{tag:"component",attrs:{error:e.error.attachments,name:"attachments[]",title:e.$t("firefly.attachments")},model:{value:e.value.attachments,callback:function(t){e.$set(e.value,"attachments",t)},expression:"value.attachments"}}):e._e(),e._v(" "),this.fields.notes?n(e.textareaComponent,{tag:"component",attrs:{error:e.error.notes,name:"notes[]",title:e.$t("firefly.notes")},model:{value:e.value.notes,callback:function(t){e.$set(e.value,"notes",t)},expression:"value.notes"}}):e._e()],1)}),[],!1,null,"c24d33ba",null);t.a=i.exports},function(e,t,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(e){this.$emit("input",this.$refs.piggy.value)},hasError:function(){return this.error.length>0},loadPiggies:function(){var e=this,t=document.getElementsByTagName("base")[0].href+"json/piggy-banks";axios.get(t,{}).then((function(t){var n={0:{group:{title:e.$t("firefly.default_group_title_name")},piggies:[{name_with_amount:e.no_piggy_bank,id:0}]}};for(var a in t.data)if(t.data.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var o=t.data[a];if(o.objectGroup){var i=o.objectGroup.order;n[i]||(n[i]={group:{title:o.objectGroup.title},piggies:[]}),n[i].piggies.push({name_with_amount:o.name_with_amount,id:o.id})}o.objectGroup||n[0].piggies.push({name_with_amount:o.name_with_amount,id:o.id}),e.piggies.push(t.data[a])}var r={};Object.keys(n).sort().forEach((function(e){var t=n[e].group.title;r[t]=n[e]})),e.piggies=r,console.log(r)}))}}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return void 0!==this.transactionType&&"Transfer"===this.transactionType?n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.piggy_bank"))+"\n\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("select",{ref:"piggy",staticClass:"form-control",attrs:{name:"piggy_bank[]"},on:{input:e.handleInput}},e._l(this.piggies,(function(t,a){return n("optgroup",{attrs:{label:a}},e._l(t.piggies,(function(t){return n("option",{attrs:{label:t.name_with_amount},domProps:{value:t.id}},[e._v(e._s(t.name_with_amount))])})),0)})),0),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)]):e._e()}),[],!1,null,"fa000966",null);t.a=i.exports},function(e,t,n){"use strict";var a=n(3),o=n.n(a),i=n(51),r={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(e){this.autocompleteItems=[],this.tags=e,this.$emit("input",this.tags)},clearTags:function(){this.tags=[]},hasError:function(){return this.error.length>0},initItems:function(){var e=this;if(!(this.tag.length<2)){var t=document.getElementsByTagName("base")[0].href+"json/tags?search=".concat(this.tag);clearTimeout(this.debounce),this.debounce=setTimeout((function(){o.a.get(t).then((function(t){e.autocompleteItems=t.data.map((function(e){return{text:e.tag}}))})).catch((function(){return console.warn("Oh. Something went wrong loading tags.")}))}),600)}}}},s=n(0),c=Object(s.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.tags"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("vue-tags-input",{attrs:{tags:e.tags,title:e.$t("firefly.tags"),classes:"form-input","autocomplete-items":e.autocompleteItems,"add-only-from-autocomplete":!1,placeholder:e.$t("firefly.tags")},on:{"tags-changed":e.update},model:{value:e.tag,callback:function(t){e.tag=t},expression:"tag"}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearTags}},[n("i",{staticClass:"fa fa-trash-o"})])])],1)]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)}),[],!1,null,"4f8ece50",null);t.a=c.exports},function(e,t,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+"api/v1/autocomplete/categories?query="},methods:{hasError:function(){return this.error.length>0},aSyncFunction:function(e,t){axios.get(this.categoryAutoCompleteURI+e).then((function(e){t(e.data)})).catch((function(e){}))},handleInput:function(e){"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(e){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(e){e.keyCode}}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.category"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{type:"text",placeholder:e.$t("firefly.category"),autocomplete:"off","data-role":"input",name:"category[]",title:e.$t("firefly.category")},domProps:{value:e.value},on:{input:e.handleInput,keypress:e.handleEnter,submit:function(e){e.preventDefault()}}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:e.clearCategory}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-function":e.aSyncFunction,target:e.target,"item-key":"name"},on:{input:e.selectedItem},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}}),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"02c70491",null);t.a=i.exports},function(e,t,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(e){this.$emit("input",this.$refs.amount.value)},clearAmount:function(){this.$refs.amount.value="",this.$emit("input",this.$refs.amount.value),this.$emit("clear:amount")},hasError:function(){return this.error.length>0},changeData:function(){var e=this.transactionType;e||this.source.name||this.destination.name?(null===e&&(e=""),""!==e||""===this.source.currency_name?""!==e||""===this.destination.currency_name?"withdrawal"!==e.toLowerCase()&&"reconciliation"!==e.toLowerCase()&&"transfer"!==e.toLowerCase()?("deposit"===e.toLowerCase()&&"debt"!==this.source.type.toLowerCase()&&"loan"!==this.source.type.toLowerCase()&&"mortgage"!==this.source.type.toLowerCase()&&$(this.$refs.cur).text(this.destination.currency_name),"deposit"!==e.toLowerCase()||"debt"!==this.source.type.toLowerCase()&&"loan"!==this.source.type.toLowerCase()&&"mortgage"!==this.source.type.toLowerCase()||$(this.$refs.cur).text(this.source.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()}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-8 col-sm-offset-4 text-sm"},[e._v("\n "+e._s(e.$t("firefly.amount"))+"\n ")]),e._v(" "),n("label",{ref:"cur",staticClass:"col-sm-4 control-label"}),e._v(" "),n("div",{staticClass:"col-sm-8"},[n("div",{staticClass:"input-group"},[n("input",{ref:"amount",staticClass:"form-control",attrs:{type:"number",step:"any",name:"amount[]",title:e.$t("firefly.amount"),autocomplete:"off",placeholder:e.$t("firefly.amount")},domProps:{value:e.value},on:{input:e.handleInput}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearAmount}},[n("i",{staticClass:"fa fa-trash-o"})])])])]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)}),[],!1,null,"440928b9",null);t.a=i.exports},function(e,t,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:{clearAmount:function(){this.$refs.amount.value="",this.$emit("input",this.$refs.amount.value),this.$emit("clear:amount")},hasError:function(){return this.error.length>0},handleInput:function(e){var t={amount:this.$refs.amount.value,currency_id:this.$refs.currency_select.value};this.$emit("input",t)},changeData:function(){this.enabledCurrencies=[];var e=this.destination.type?this.destination.type.toLowerCase():"invalid",t=this.source.type?this.source.type.toLowerCase():"invalid",n=this.transactionType?this.transactionType.toLowerCase():"invalid",a=["loan","debt","mortgage"],o=-1!==a.indexOf(t),i=-1!==a.indexOf(e);if("transfer"===n||i||o)for(var r in this.liability=!0,this.currencies)this.currencies.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294&&this.currencies[r].id===this.destination.currency_id&&this.enabledCurrencies.push(this.currencies[r]);else if("withdrawal"===n&&this.source&&!1===o)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 l in this.currencies)this.currencies.hasOwnProperty(l)&&/^0$|^[1-9]\d*$/.test(l)&&l<=4294967294&&this.enabledCurrencies.push(this.currencies[l])},loadCurrencies:function(){var e=this,t=document.getElementsByTagName("base")[0].href+"json/currencies";axios.get(t,{}).then((function(t){for(var n in e.currencies=[{name:e.no_currency,id:0,enabled:!0}],e.enabledCurrencies=[{name:e.no_currency,id:0,enabled:!0}],t.data)t.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&t.data[n].enabled&&(e.currencies.push(t.data[n]),e.enabledCurrencies.push(t.data[n]))}))}}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return this.enabledCurrencies.length>=1?n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-8 col-sm-offset-4 text-sm"},[e._v("\n "+e._s(e.$t("form.foreign_amount"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-4"},[n("select",{ref:"currency_select",staticClass:"form-control",attrs:{name:"foreign_currency[]"},on:{input:e.handleInput}},e._l(this.enabledCurrencies,(function(t){return t.enabled?n("option",{attrs:{label:t.name},domProps:{value:t.id,selected:e.value.currency_id===t.id}},[e._v("\n "+e._s(t.name)+"\n ")]):e._e()})),0)]),e._v(" "),n("div",{staticClass:"col-sm-8"},[n("div",{staticClass:"input-group"},[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:e.value.amount},on:{input:e.handleInput}}):e._e(),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearAmount}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)]):e._e()}),[],!1,null,"37601284",null);t.a=i.exports},function(e,t,n){"use strict";var a={props:{source:String,destination:String,type:String},methods:{changeValue:function(){if(this.source&&this.destination){var e="";window.accountToTypes[this.source]?window.accountToTypes[this.source][this.destination]?e=window.accountToTypes[this.source][this.destination]:console.warn("User selected an impossible destination."):console.warn("User selected an impossible source."),""!==e&&(this.transactionType=e,this.sentence=this.$t("firefly.you_create_"+e.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"},o=n(0),i=Object(o.a)(a,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-group"},[t("div",{staticClass:"col-sm-12"},[""!==this.sentence?t("label",{staticClass:"control-label text-info"},[this._v("\n "+this._s(this.sentence)+"\n ")]):this._e()])])}),[],!1,null,"0539dc1a",null);t.a=i.exports},function(e,t,n){"use strict";var a={props:{inputName:String,inputDescription: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,this.updateACURI(this.allowedTypes.join(",")),this.name=this.accountName,this.triggerTransactionType()},watch:{transactionType:function(){this.triggerTransactionType()},accountName:function(){this.name=this.accountName},accountTypeFilters:function(){var e=this.accountTypeFilters.join(",");0===this.accountTypeFilters.length&&(e=this.defaultAccountTypeFilters.join(",")),this.updateACURI(e)},name:function(){}},methods:{aSyncFunction:function(e,t){axios.get(this.accountAutoCompleteURI+e).then((function(e){t(e.data)})).catch((function(e){}))},updateACURI:function(e){this.accountAutoCompleteURI=document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/accounts?types="+e+"&query=",console.log("Auto complete URI is now "+this.accountAutoCompleteURI)},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(e){void 0!==this.name&&("string"==typeof this.name&&this.$emit("clear:value"),this.$emit("select:account",this.name))},clearSource:function(e){this.name="",this.$emit("clear:value")},handleEnter:function(e){e.keyCode}}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.inputDescription)+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{type:"text",placeholder:e.inputDescription,"data-index":e.index,autocomplete:"off","data-role":"input",disabled:e.inputDisabled,name:e.inputName,title:e.inputDescription},on:{keypress:e.handleEnter,submit:function(e){e.preventDefault()}}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearSource}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-function":e.aSyncFunction,target:e.target,"item-key":"name_with_balance"},on:{input:e.selectedItem},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}}),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"7a24c7ce",null);t.a=i.exports},function(e,t,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(e){this.$emit("input",this.$refs.budget.value)},handleInput:function(e){this.$emit("input",this.$refs.budget.value)},hasError:function(){return this.error.length>0},loadBudgets:function(){var e=this,t=document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/budgets";axios.get(t,{}).then((function(t){for(var n in e.budgets=[{name:e.no_budget,id:0}],t.data)t.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&e.budgets.push(t.data[n])}))}}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return void 0===this.transactionType||"withdrawal"===this.transactionType||"Withdrawal"===this.transactionType||""===this.transactionType||null===this.transactionType?n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.budget"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[this.budgets.length>0?n("select",{directives:[{name:"model",rawName:"v-model",value:e.selected,expression:"selected"}],ref:"budget",staticClass:"form-control",attrs:{name:"budget[]",title:e.$t("firefly.budget")},on:{input:e.handleInput,change:[function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.selected=t.target.multiple?n:n[0]},e.signalChange]}},e._l(this.budgets,(function(t){return n("option",{attrs:{label:t.name},domProps:{value:t.id}},[e._v(e._s(t.name)+"\n ")])})),0):e._e(),e._v(" "),1===this.budgets.length?n("p",{staticClass:"help-block",domProps:{innerHTML:e._s(e.$t("firefly.no_budget_pointer"))}}):e._e(),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)]):e._e()}),[],!1,null,"e2ce9e94",null);t.a=i.exports},,,,,,,,,,,,,,,function(e,t,n){e.exports=n(93)},,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var a=n(52),o={name:"CreateTransaction",components:{},mounted:function(){var e=this;this.addTransactionToArray(),document.onreadystatechange=function(){"complete"===document.readyState&&(e.prefillSourceAccount(),e.prefillDestinationAccount())}},methods:{prefillSourceAccount:function(){0!==window.sourceId&&this.getAccount(window.sourceId,"source_account")},prefillDestinationAccount:function(){0!==destinationId&&this.getAccount(window.destinationId,"destination_account")},getAccount:function(e,t){var n=this,a="./api/v1/accounts/"+e+"?_token="+document.head.querySelector('meta[name="csrf-token"]').content;axios.get(a).then((function(e){var a=e.data.data.attributes;a.type=n.fullAccountType(a.type,a.liability_type),a.id=parseInt(e.data.data.id),"source_account"===t&&n.selectedSourceAccount(0,a),"destination_account"===t&&n.selectedDestinationAccount(0,a)})).catch((function(e){console.warn("Could not auto fill account"),console.warn(e)}))},fullAccountType:function(e,t){var n,a=e;"liabilities"===e&&(a=t);return null!==(n={asset:"Asset account",loan:"Loan",debt:"Debt",mortgage:"Mortgage"}[a])&&void 0!==n?n:a},convertData:function(){var e,t,n,a={transactions:[]};for(var o in this.transactions.length>1&&(a.group_title=this.group_title),e=this.transactionType?this.transactionType.toLowerCase():"invalid",t=this.transactions[0].source_account.type,n=this.transactions[0].destination_account.type,"invalid"===e&&["asset","Asset account","Loan","Debt","Mortgage"].includes(t)&&(e="withdrawal"),"invalid"===e&&["asset","Asset account","Loan","Debt","Mortgage"].includes(n)&&(e="deposit"),this.transactions)this.transactions.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294&&a.transactions.push(this.convertDataRow(this.transactions[o],o,e));return""===a.group_title&&a.transactions.length>1&&(a.group_title=a.transactions[0].description),a},convertDataRow:function(e,t,n){var a,o,i,r,s,c,l=[],u=null,d=null;for(var p in o=e.source_account.id,i=e.source_account.name,r=e.destination_account.id,s=e.destination_account.name,c=e.date,t>0&&(c=this.transactions[0].date),"withdrawal"===n&&""===s&&(r=window.cashAccountId),"deposit"===n&&""===i&&(o=window.cashAccountId),t>0&&("withdrawal"===n.toLowerCase()||"transfer"===n.toLowerCase())&&(o=this.transactions[0].source_account.id,i=this.transactions[0].source_account.name),t>0&&("deposit"===n.toLowerCase()||"transfer"===n.toLowerCase())&&(r=this.transactions[0].destination_account.id,s=this.transactions[0].destination_account.name),l=[],u=null,d=null,e.tags)e.tags.hasOwnProperty(p)&&/^0$|^[1-9]\d*$/.test(p)&&p<=4294967294&&l.push(e.tags[p].text);return""!==e.foreign_amount.amount&&0!==parseFloat(e.foreign_amount.amount)&&(u=e.foreign_amount.amount,d=e.foreign_amount.currency_id),d===e.currency_id&&(u=null,d=null),0===r&&(r=null),0===o&&(o=null),1===(e.amount.match(/\,/g)||[]).length&&(e.amount=e.amount.replace(",",".")),a={type:n,date:c,amount:e.amount,currency_id:e.currency_id,description:e.description,source_id:o,source_name:i,destination_id:r,destination_name:s,category_name:e.category,interest_date:e.custom_fields.interest_date,book_date:e.custom_fields.book_date,process_date:e.custom_fields.process_date,due_date:e.custom_fields.due_date,payment_date:e.custom_fields.payment_date,invoice_date:e.custom_fields.invoice_date,internal_reference:e.custom_fields.internal_reference,notes:e.custom_fields.notes},l.length>0&&(a.tags=l),null!==u&&(a.foreign_amount=u,a.foreign_currency_id=d),parseInt(e.budget)>0&&(a.budget_id=parseInt(e.budget)),parseInt(e.piggy_bank)>0&&(a.piggy_bank_id=parseInt(e.piggy_bank)),a},submit:function(e){var t=this,n="./api/v1/transactions?_token="+document.head.querySelector('meta[name="csrf-token"]').content,a=this.convertData(),o=$("#submitButton");o.prop("disabled",!0),axios.post(n,a).then((function(e){0===t.collectAttachmentData(e)&&t.redirectUser(e.data.data.id,e.data.data)})).catch((function(e){console.error("Error in transaction submission."),console.error(e),t.parseErrors(e.response.data),console.log("enable button again."),o.removeAttr("disabled")})),e&&e.preventDefault()},escapeHTML:function(e){var t=document.createElement("div");return t.innerText=e,t.innerHTML},redirectUser:function(e,t){var n=this,a=null===t.attributes.group_title?t.attributes.transactions[0].description:t.attributes.group_title;this.createAnother?(this.success_message=this.$t("firefly.transaction_stored_link",{ID:e,title:a}),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="+e+"&message=created"},collectAttachmentData:function(e){var t=this,n=e.data.data.id,a=[],o=[],i=$('input[name="attachments[]"]');for(var r in i)if(i.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294)for(var s in i[r].files)i[r].files.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294&&a.push({journal:e.data.data.attributes.transactions[r].transaction_journal_id,file:i[r].files[s]});var c=a.length,l=function(i){var r,s,l;a.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294&&(r=a[i],s=t,(l=new FileReader).onloadend=function(t){t.target.readyState===FileReader.DONE&&(o.push({name:a[i].file.name,journal:a[i].journal,content:new Blob([t.target.result])}),o.length===c&&s.uploadFiles(o,n,e.data.data))},l.readAsArrayBuffer(r.file))};for(var u in a)l(u);return c},uploadFiles:function(e,t,n){var a=this,o=e.length,i=0,r=function(r){if(e.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294){var s={filename:e[r].name,attachable_type:"TransactionJournal",attachable_id:e[r].journal};axios.post("./api/v1/attachments",s).then((function(s){var c="./api/v1/attachments/"+s.data.data.id+"/upload";axios.post(c,e[r].content).then((function(e){return++i===o&&a.redirectUser(t,n),!0})).catch((function(e){return console.error("Could not upload"),console.error(e),++i===o&&a.redirectUser(t,n),!1}))})).catch((function(e){return console.error("Could not create upload."),console.error(e),++i===o&&a.redirectUser(t,n),!1}))}};for(var s in e)r(s)},setDefaultErrors:function(){for(var e in this.transactions)this.transactions.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&(this.transactions[e].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(e){var t,n;for(var a in this.setDefaultErrors(),this.error_message="",void 0===e.errors?this.error_message=e.message:this.error_message=this.$t("firefly.errors_submission"),e.errors)if(e.errors.hasOwnProperty(a)){if("group_title"===a&&(this.group_title_errors=e.errors[a]),"group_title"!==a)switch(t=parseInt(a.split(".")[1]),n=a.split(".")[2]){case"amount":case"date":case"budget_id":case"description":case"tags":this.transactions[t].errors[n]=e.errors[a];break;case"source_name":case"source_id":this.transactions[t].errors.source_account=this.transactions[t].errors.source_account.concat(e.errors[a]);break;case"destination_name":case"destination_id":this.transactions[t].errors.destination_account=this.transactions[t].errors.destination_account.concat(e.errors[a]);break;case"foreign_amount":case"foreign_currency_id":this.transactions[t].errors.foreign_amount=this.transactions[t].errors.foreign_amount.concat(e.errors[a])}void 0!==this.transactions[t]&&(this.transactions[t].errors.source_account=Array.from(new Set(this.transactions[t].errors.source_account)),this.transactions[t].errors.destination_account=Array.from(new Set(this.transactions[t].errors.destination_account)))}},resetTransactions:function(){this.transactions=[]},addTransactionToArray:function(e){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 t=new Date;this.transactions[0].date=t.getFullYear()+"-"+("0"+(t.getMonth()+1)).slice(-2)+"-"+("0"+t.getDate()).slice(-2)}e&&e.preventDefault()},setTransactionType:function(e){this.transactionType=e},deleteTransaction:function(e,t){for(var n in t.preventDefault(),this.transactions)this.transactions.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n);for(var a in this.transactions.splice(e,1),this.transactions)this.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)},limitSourceType:function(e){var t;for(t=0;t1?n("span",[e._v(e._s(e.$t("firefly.split"))+" "+e._s(a+1)+" / "+e._s(e.transactions.length))]):e._e(),e._v(" "),1===e.transactions.length?n("span",[e._v(e._s(e.$t("firefly.transaction_journal_information")))]):e._e()]),e._v(" "),e.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(t){return e.deleteTransaction(a,t)}}},[n("i",{staticClass:"fa fa-trash"})])]):e._e()]),e._v(" "),n("div",{staticClass:"box-body"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-4"},[n("transaction-description",{attrs:{index:a,error:t.errors.description},model:{value:t.description,callback:function(n){e.$set(t,"description",n)},expression:"transaction.description"}}),e._v(" "),n("account-select",{attrs:{inputName:"source[]",inputDescription:e.$t("firefly.source_account"),accountName:t.source_account.name,accountTypeFilters:t.source_account.allowed_types,defaultAccountTypeFilters:t.source_account.default_allowed_types,transactionType:e.transactionType,index:a,error:t.errors.source_account},on:{"clear:value":function(t){return e.clearSource(a)},"select:account":function(t){return e.selectedSourceAccount(a,t)}}}),e._v(" "),n("account-select",{attrs:{inputName:"destination[]",inputDescription:e.$t("firefly.destination_account"),accountName:t.destination_account.name,accountTypeFilters:t.destination_account.allowed_types,defaultAccountTypeFilters:t.destination_account.default_allowed_types,transactionType:e.transactionType,index:a,error:t.errors.destination_account},on:{"clear:value":function(t){return e.clearDestination(a)},"select:account":function(t){return e.selectedDestinationAccount(a,t)}}}),e._v(" "),0===a?n("standard-date",{attrs:{index:a,error:t.errors.date},model:{value:t.date,callback:function(n){e.$set(t,"date",n)},expression:"transaction.date"}}):e._e(),e._v(" "),0===a?n("div",[n("transaction-type",{attrs:{source:t.source_account.type,destination:t.destination_account.type},on:{"set:transactionType":function(t){return e.setTransactionType(t)},"act:limitSourceType":function(t){return e.limitSourceType(t)},"act:limitDestinationType":function(t){return e.limitDestinationType(t)}}})],1):e._e()],1),e._v(" "),n("div",{staticClass:"col-lg-4"},[n("amount",{attrs:{source:t.source_account,destination:t.destination_account,error:t.errors.amount,transactionType:e.transactionType},model:{value:t.amount,callback:function(n){e.$set(t,"amount",n)},expression:"transaction.amount"}}),e._v(" "),n("foreign-amount",{attrs:{source:t.source_account,destination:t.destination_account,transactionType:e.transactionType,error:t.errors.foreign_amount,title:e.$t("form.foreign_amount")},model:{value:t.foreign_amount,callback:function(n){e.$set(t,"foreign_amount",n)},expression:"transaction.foreign_amount"}})],1),e._v(" "),n("div",{staticClass:"col-lg-4"},[n("budget",{attrs:{transactionType:e.transactionType,error:t.errors.budget_id,no_budget:e.$t("firefly.none_in_select_list")},model:{value:t.budget,callback:function(n){e.$set(t,"budget",n)},expression:"transaction.budget"}}),e._v(" "),n("category",{attrs:{transactionType:e.transactionType,error:t.errors.category},model:{value:t.category,callback:function(n){e.$set(t,"category",n)},expression:"transaction.category"}}),e._v(" "),n("piggy-bank",{attrs:{transactionType:e.transactionType,error:t.errors.piggy_bank,no_piggy_bank:e.$t("firefly.no_piggy_bank")},model:{value:t.piggy_bank,callback:function(n){e.$set(t,"piggy_bank",n)},expression:"transaction.piggy_bank"}}),e._v(" "),n("tags",{attrs:{error:t.errors.tags},model:{value:t.tags,callback:function(n){e.$set(t,"tags",n)},expression:"transaction.tags"}}),e._v(" "),n("custom-transaction-fields",{attrs:{error:t.errors.custom_errors},model:{value:t.custom_fields,callback:function(n){e.$set(t,"custom_fields",n)},expression:"transaction.custom_fields"}})],1)])]),e._v(" "),e.transactions.length-1===a?n("div",{staticClass:"box-footer"},[n("button",{staticClass:"split_add_btn btn btn-default",attrs:{type:"button"},on:{click:e.addTransactionToArray}},[e._v(e._s(e.$t("firefly.add_another_split")))])]):e._e()])])])})),0),e._v(" "),e.transactions.length>1?n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-6 col-md-6 col-sm-12 col-xs-12"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title"},[e._v("\n "+e._s(e.$t("firefly.split_transaction_title"))+"\n ")])]),e._v(" "),n("div",{staticClass:"box-body"},[n("group-description",{attrs:{error:e.group_title_errors},model:{value:e.group_title,callback:function(t){e.group_title=t},expression:"group_title"}})],1)])])]):e._e(),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-6 col-md-6 col-sm-12 col-xs-12"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title"},[e._v("\n "+e._s(e.$t("firefly.submission"))+"\n ")])]),e._v(" "),n("div",{staticClass:"box-body"},[n("div",{staticClass:"checkbox"},[n("label",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.createAnother,expression:"createAnother"}],attrs:{name:"create_another",type:"checkbox"},domProps:{checked:Array.isArray(e.createAnother)?e._i(e.createAnother,null)>-1:e.createAnother},on:{change:function(t){var n=e.createAnother,a=t.target,o=!!a.checked;if(Array.isArray(n)){var i=e._i(n,null);a.checked?i<0&&(e.createAnother=n.concat([null])):i>-1&&(e.createAnother=n.slice(0,i).concat(n.slice(i+1)))}else e.createAnother=o}}}),e._v("\n "+e._s(e.$t("firefly.create_another"))+"\n ")])]),e._v(" "),n("div",{staticClass:"checkbox"},[n("label",{class:{"text-muted":!1===this.createAnother}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.resetFormAfter,expression:"resetFormAfter"}],attrs:{disabled:!1===this.createAnother,name:"reset_form",type:"checkbox"},domProps:{checked:Array.isArray(e.resetFormAfter)?e._i(e.resetFormAfter,null)>-1:e.resetFormAfter},on:{change:function(t){var n=e.resetFormAfter,a=t.target,o=!!a.checked;if(Array.isArray(n)){var i=e._i(n,null);a.checked?i<0&&(e.resetFormAfter=n.concat([null])):i>-1&&(e.resetFormAfter=n.slice(0,i).concat(n.slice(i+1)))}else e.resetFormAfter=o}}}),e._v("\n "+e._s(e.$t("firefly.reset_after"))+"\n\n ")])])]),e._v(" "),n("div",{staticClass:"box-footer"},[n("div",{staticClass:"btn-group"},[n("button",{staticClass:"btn btn-success",attrs:{id:"submitButton"},on:{click:e.submit}},[e._v(e._s(e.$t("firefly.submit")))])])])])])])])}),[],!1,null,"6c963051",null).exports,s=n(53),c=n(54),l=n(55),u=n(56),d=n(57),p=n(58),_=n(59),A=n(60),f=n(61),h=n(62),g=n(63),m=n(64),v=n(65),y=n(66),b=n(67);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",l.a),Vue.component("standard-date",u.a),Vue.component("group-description",d.a),Vue.component("transaction-description",p.a),Vue.component("custom-transaction-fields",_.a),Vue.component("piggy-bank",A.a),Vue.component("tags",f.a),Vue.component("category",h.a),Vue.component("amount",g.a),Vue.component("foreign-amount",m.a),Vue.component("transaction-type",v.a),Vue.component("account-select",y.a),Vue.component("create-transaction",r);var k=n(29),w={};new Vue({i18n:k,el:"#create_transaction",render:function(e){return e(r,{props:w})}})}]); \ No newline at end of file +!function(e){var t={};function n(a){if(t[a])return t[a].exports;var o=t[a]={i:a,l:!1,exports:{}};return e[a].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(a,o,function(t){return e[t]}.bind(null,o));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=82)}([function(e,t,n){"use strict";function a(e,t,n,a,o,i,r,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),a&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),r?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},l._ssrRegister=c):o&&(c=s?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";var a=n(5),o=n(12),i=Object.prototype.toString;function r(e){return"[object Array]"===i.call(e)}function s(e){return null!==e&&"object"==typeof e}function c(e){return"[object Function]"===i.call(e)}function l(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),r(e))for(var n=0,a=e.length;n=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},a.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),a.forEach(["post","put","patch"],(function(e){c.headers[e]=a.merge(i)})),e.exports=c}).call(this,n(10))},function(e,t,n){e.exports=n(11)},,function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),a=0;a1)for(var n=1;n=0)return;r[t]="set-cookie"===t?(r[t]?r[t]:[]).concat([n]):r[t]?r[t]+", "+n:n}})),r):r}},function(e,t,n){"use strict";var a=n(1);e.exports=a.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var a=e;return t&&(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 e=o(window.location.href),function(t){var n=a.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var a=n(1);e.exports=a.isStandardBrowserEnv()?{write:function(e,t,n,o,i,r){var s=[];s.push(e+"="+encodeURIComponent(t)),a.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),a.isString(o)&&s.push("path="+o),a.isString(i)&&s.push("domain="+i),!0===r&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var a=n(1);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){a.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},function(e,t,n){"use strict";var a=n(1),o=n(23),i=n(8),r=n(2),s=n(24),c=n(25);function l(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return l(e),e.baseURL&&!s(e.url)&&(e.url=c(e.baseURL,e.url)),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=a.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),a.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||r.adapter)(e).then((function(t){return l(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(l(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,n){"use strict";var a=n(1);e.exports=function(e,t,n){return a.forEach(n,(function(n){e=n(e,t)})),e}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var a=n(9);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new a(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,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(e,t,n){e.exports=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{cs:n(30),de:n(31),en:n(32),es:n(33),el:n(34),fr:n(35),hu:n(36),id:n(37),it:n(38),nl:n(39),no:n(40),pl:n(41),fi:n(42),"pt-br":n(43),ro:n(44),ru:n(45),zh:n(46),"zh-tw":n(47),"zh-cn":n(48),sv:n(49),vi:n(50)}})},function(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"Jak to jde?","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_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"Informace o transakci","no_budget_pointer":"Zdá se, že zatím nemáte žádné rozpočty. Na stránce rozpočty byste nějaké měli vytvořit. Rozpočty mohou pomoci udržet si přehled ve výdajích.","source_account":"Zdrojový účet","hidden_fields_preferences":"You can enable more transaction options in your settings.","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":"(žádná pokladnička)","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.","edit":"Upravit","delete":"Odstranit","name":"Název","profile_whoops":"Whoops!","profile_something_wrong":"Something went wrong!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Create New Client","profile_oauth_create_client":"Create Client","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Something your users will recognize and trust.","profile_oauth_redirect_url":"Redirect URL","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Revoke","profile_personal_access_tokens":"Personal Access Tokens","profile_personal_access_token":"Personal Access Token","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Create new token","profile_create_token":"Create token","profile_create":"Create","profile_save_changes":"Save changes","default_group_title_name":"(ungrouped)","piggy_bank":"Pokladnička"},"form":{"interest_date":"Úrokové datum","book_date":"Datum rezervace","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(e){e.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_stored_link":"Buchung #{ID} (\\"{title}\\") wurde gespeichert.","transaction_updated_link":"Buchung#{ID} wurde aktualisiert.","transaction_new_stored_link":"Buchung #{ID} wurde gespeichert.","transaction_journal_information":"Transaktionsinformationen","no_budget_pointer":"Sie scheinen noch keine Kostenrahmen festgelegt zu haben. Sie sollten einige davon auf der Seite „Kostenrahmen” anlegen. Kostenrahmen können Ihnen dabei helfen, den Überblick über die Ausgaben zu behalten.","source_account":"Quellkonto","hidden_fields_preferences":"Sie können weitere Buchungsoptionen in Ihren Einstellungen aktivieren.","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.","edit":"Bearbeiten","delete":"Löschen","name":"Name","profile_whoops":"Huch!","profile_something_wrong":"Ein Problem ist aufgetreten!","profile_try_again":"Ein Problem ist aufgetreten. Bitte versuchen Sie es erneut.","profile_oauth_clients":"OAuth-Clients","profile_oauth_no_clients":"Sie haben noch keine OAuth-Clients erstellt.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client-ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Geheimnis","profile_oauth_create_new_client":"Neuen Client erstellen","profile_oauth_create_client":"Client erstellen","profile_oauth_edit_client":"Client bearbeiten","profile_oauth_name_help":"Etwas das Ihre Nutzer erkennen und dem sie vertrauen.","profile_oauth_redirect_url":"Weiterleitungs-URL","profile_oauth_redirect_url_help":"Die Authorisierungs-Callback-URL Ihrer Anwendung.","profile_authorized_apps":"Autorisierte Anwendungen","profile_authorized_clients":"Autorisierte Clients","profile_scopes":"Bereiche","profile_revoke":"Widerrufen","profile_personal_access_tokens":"Persönliche Zugangs-Tokens","profile_personal_access_token":"Persönlicher Zugangs-Token","profile_personal_access_token_explanation":"Hier ist Ihr neues persönlicher Zugangsschlüssel. Dies ist das einzige Mal, dass er angezeigt wird, also verlieren Sie ihn nicht! Sie können dieses Token jetzt verwenden, um API-Anfragen zu stellen.","profile_no_personal_access_token":"Sie haben keine persönlichen Zugangsschlüssel erstellt.","profile_create_new_token":"Neuen Schlüssel erstellen","profile_create_token":"Schlüssel erstellen","profile_create":"Erstellen","profile_save_changes":"Änderungen speichern","default_group_title_name":"(ohne Gruppierung)","piggy_bank":"Sparschwein"},"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(e){e.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_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"Transaction information","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Source account","hidden_fields_preferences":"You can enable more transaction options in your settings.","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.","edit":"Edit","delete":"Delete","name":"Name","profile_whoops":"Whoops!","profile_something_wrong":"Something went wrong!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Create New Client","profile_oauth_create_client":"Create Client","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Something your users will recognize and trust.","profile_oauth_redirect_url":"Redirect URL","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Revoke","profile_personal_access_tokens":"Personal Access Tokens","profile_personal_access_token":"Personal Access Token","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Create new token","profile_create_token":"Create token","profile_create":"Create","profile_save_changes":"Save changes","default_group_title_name":"(ungrouped)","piggy_bank":"Piggy bank"},"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(e){e.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_stored_link":"La transacción #{ID} (\\"{title}\\") ha sido almacenada.","transaction_updated_link":"La transacción #{ID} ha sido actualizada.","transaction_new_stored_link":"La transacción #{ID} ha sido guardada.","transaction_journal_information":"Información de transacción","no_budget_pointer":"Parece que aún no tiene presupuestos. Debe crear algunos en la página presupuestos. Los presupuestos pueden ayudarle a realizar un seguimiento de los gastos.","source_account":"Cuenta origen","hidden_fields_preferences":"Puede habilitar más opciones de transacción en sus ajustes .","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.","edit":"Editar","delete":"Eliminar","name":"Nombre","profile_whoops":"¡Ups!","profile_something_wrong":"¡Algo salió mal!","profile_try_again":"Algo salió mal. Por favor, vuelva a intentarlo.","profile_oauth_clients":"Clientes de OAuth","profile_oauth_no_clients":"No ha creado ningún cliente OAuth.","profile_oauth_clients_header":"Clientes","profile_oauth_client_id":"ID del cliente","profile_oauth_client_name":"Nombre","profile_oauth_client_secret":"Secreto","profile_oauth_create_new_client":"Crear un Nuevo Cliente","profile_oauth_create_client":"Crear Cliente","profile_oauth_edit_client":"Editar Cliente","profile_oauth_name_help":"Algo que sus usuarios reconocerán y confiarán.","profile_oauth_redirect_url":"Redirigir URL","profile_oauth_redirect_url_help":"La URL de devolución de autorización de su aplicación.","profile_authorized_apps":"Aplicaciones autorizadas","profile_authorized_clients":"Clientes autorizados","profile_scopes":"Ámbitos","profile_revoke":"Revocar","profile_personal_access_tokens":"Tokens de acceso personal","profile_personal_access_token":"Token de acceso personal","profile_personal_access_token_explanation":"Aquí está su nuevo token de acceso personal. Esta es la única vez que se mostrará así que ¡no lo pierda! Ahora puede usar este token para hacer solicitudes de la API.","profile_no_personal_access_token":"No ha creado ningún token de acceso personal.","profile_create_new_token":"Crear nuevo token","profile_create_token":"Crear token","profile_create":"Crear","profile_save_changes":"Guardar cambios","default_group_title_name":"(sin agrupación)","piggy_bank":"Alcancía"},"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(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"Τι παίζει;","flash_error":"Σφάλμα!","flash_success":"Επιτυχία!","close":"Κλείσιμο","split_transaction_title":"Περιγραφή της συναλλαγής με διαχωρισμό","errors_submission":"Υπήρξε κάποιο λάθος με την υποβολή σας. Ελέγξτε τα παρακάτω σφάλματα.","split":"Διαχωρισμός","transaction_stored_link":"Η συναλλαγή #{ID} (\\"{title}\\") έχει αποθηκευτεί.","transaction_updated_link":"Η συναλλαγή #{ID} έχει ενημερωθεί.","transaction_new_stored_link":"Η συναλλαγή #{ID} έχει αποθηκευτεί.","transaction_journal_information":"Πληροφορίες συναλλαγής","no_budget_pointer":"Φαίνεται πως δεν έχετε ορίσει προϋπολογισμούς ακόμη. Πρέπει να δημιουργήσετε κάποιον στη σελίδα προϋπολογισμών. Οι προϋπολογισμοί σας βοηθούν να επιβλέπετε τις δαπάνες σας.","source_account":"Λογαριασμός προέλευσης","hidden_fields_preferences":"Μπορείτε να ενεργοποιήσετε περισσότερες επιλογές συναλλαγών στις ρυθμίσεις.","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_create_transfer":"Δημιουργείτε μια μεταφορά.","you_create_deposit":"Δημιουργείτε μια κατάθεση.","edit":"Επεξεργασία","delete":"Διαγραφή","name":"Όνομα","profile_whoops":"Ούπς!","profile_something_wrong":"Κάτι πήγε στραβά!","profile_try_again":"Κάτι πήγε στραβά. Παρακαλώ προσπαθήστε ξανά.","profile_oauth_clients":"Πελάτες OAuth","profile_oauth_no_clients":"Δεν έχετε δημιουργήσει πελάτες OAuth.","profile_oauth_clients_header":"Πελάτες","profile_oauth_client_id":"Αναγνωριστικό πελάτη","profile_oauth_client_name":"Όνομα","profile_oauth_client_secret":"Μυστικό","profile_oauth_create_new_client":"Δημιουργία νέου πελάτη","profile_oauth_create_client":"Δημιουργία πελάτη","profile_oauth_edit_client":"Επεξεργασία πελάτη","profile_oauth_name_help":"Κάτι που οι χρήστες σας θα αναγνωρίζουν και θα εμπιστεύονται.","profile_oauth_redirect_url":"URL ανακατεύθυνσης","profile_oauth_redirect_url_help":"To authorization callback URL της εφαρμογής σας.","profile_authorized_apps":"Εξουσιοδοτημένες εφαρμογές","profile_authorized_clients":"Εξουσιοδοτημένοι πελάτες","profile_scopes":"Πεδία εφαρμογής","profile_revoke":"Ανάκληση","profile_personal_access_tokens":"Διακριτικά προσωπικής πρόσβασης","profile_personal_access_token":"Διακριτικά προσωπικής πρόσβασης","profile_personal_access_token_explanation":"Εδώ είναι το νέο διακριτικό προσωπικής πρόσβασης. Αυτή είναι η μόνη φορά που θα εμφανιστεί, οπότε μη το χάσετε! Μπορείτε να χρησιμοποιείτε αυτό το διακριτικό για να κάνετε κλήσεις API.","profile_no_personal_access_token":"Δεν έχετε δημιουργήσει προσωπικά διακριτικά πρόσβασης.","profile_create_new_token":"Δημιουργία νέου διακριτικού","profile_create_token":"Δημιουργία διακριτικού","profile_create":"Δημιουργία","profile_save_changes":"Αποθήκευση αλλαγών","default_group_title_name":"(χωρίς ομάδα)","piggy_bank":"Κουμπαράς"},"form":{"interest_date":"Ημερομηνία τοκισμού","book_date":"Ημερομηνία εγγραφής","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","foreign_amount":"Ποσό σε ξένο νόμισμα","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης","internal_reference":"Εσωτερική αναφορά"},"config":{"html_language":"el"}}')},function(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"Quoi de neuf ?","flash_error":"Erreur !","flash_success":"Super !","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_stored_link":"L\'opération n°{ID} (\\"{title}\\") a été enregistrée.","transaction_updated_link":"L\'opération n°{ID} a été mise à jour.","transaction_new_stored_link":"L\'opération n°{ID} a été enregistrée.","transaction_journal_information":"Informations sur les opérations","no_budget_pointer":"Vous semblez n’avoir encore aucun budget. Vous devriez en créer un sur la page des budgets. Les budgets peuvent vous aider à garder une trace des dépenses.","source_account":"Compte source","hidden_fields_preferences":"Vous pouvez activer plus d\'options d\'opérations dans vos paramètres.","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.","edit":"Modifier","delete":"Supprimer","name":"Nom","profile_whoops":"Oups !","profile_something_wrong":"Une erreur s\'est produite !","profile_try_again":"Une erreur s’est produite. Merci d’essayer à nouveau.","profile_oauth_clients":"Clients OAuth","profile_oauth_no_clients":"Vous n’avez pas encore créé de client OAuth.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Identifiant","profile_oauth_client_name":"Nom","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Créer un nouveau client","profile_oauth_create_client":"Créer un client","profile_oauth_edit_client":"Modifier le client","profile_oauth_name_help":"Quelque chose que vos utilisateurs reconnaîtront et qui inspirera confiance.","profile_oauth_redirect_url":"URL de redirection","profile_oauth_redirect_url_help":"URL de callback de votre application.","profile_authorized_apps":"Applications autorisées","profile_authorized_clients":"Clients autorisés","profile_scopes":"Permissions","profile_revoke":"Révoquer","profile_personal_access_tokens":"Jetons d\'accès personnels","profile_personal_access_token":"Jeton d\'accès personnel","profile_personal_access_token_explanation":"Voici votre nouveau jeton d’accès personnel. Ceci est la seule fois où vous pourrez le voir, ne le perdez pas ! Vous pouvez dès à présent utiliser ce jeton pour lancer des requêtes avec l’API.","profile_no_personal_access_token":"Vous n’avez pas encore créé de jeton d’accès personnel.","profile_create_new_token":"Créer un nouveau jeton","profile_create_token":"Créer un jeton","profile_create":"Créer","profile_save_changes":"Enregistrer les modifications","default_group_title_name":"(Sans groupement)","piggy_bank":"Tirelire"},"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(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"Mi a helyzet?","flash_error":"Hiba!","flash_success":"Siker!","close":"Bezárás","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"Hiba történt a beküldés során. Kérem, javítsa az alábbi hibákat.","split":"Felosztás","transaction_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"Tranzakciós információk","no_budget_pointer":"Úgy tűnik, még nincsenek költségkeretek. Költségkereteket a költségkeretek oldalon lehet létrehozni. A költségkeretek segítenek nyomon követni a költségeket.","source_account":"Forrás számla","hidden_fields_preferences":"A beállításokban több tranzakciós beállítási lehetőség is megadható.","destination_account":"Célszámla","add_another_split":"Másik felosztás hozzáadása","submission":"Feliratkozás","create_another":"A tárolás után térjen vissza ide új létrehozásához.","reset_after":"Űrlap törlése a beküldés után","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":"Tranzakció frissítése","after_update_create_another":"A frissítés után térjen vissza ide a szerkesztés folytatásához.","store_as_new":"Tárolás új tranzakcióként frissítés helyett.","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":"(nincs malacpersely)","description":"Leírás","split_transaction_title_help":"Felosztott tranzakció létrehozásakor meg kell adni egy globális leírást a tranzakció összes felosztása részére.","destination_account_reconciliation":"Nem lehet szerkeszteni egy egyeztetett tranzakció célszámláját.","source_account_reconciliation":"Nem lehet szerkeszteni egy egyeztetett tranzakció forrásszámláját.","budget":"Költségkeret","you_create_withdrawal":"Egy költség létrehozása.","you_create_transfer":"Egy átutalás létrehozása.","you_create_deposit":"Egy bevétel létrehozása.","edit":"Szerkesztés","delete":"Törlés","name":"Név","profile_whoops":"Whoops!","profile_something_wrong":"Something went wrong!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Create New Client","profile_oauth_create_client":"Create Client","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Something your users will recognize and trust.","profile_oauth_redirect_url":"Redirect URL","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Revoke","profile_personal_access_tokens":"Personal Access Tokens","profile_personal_access_token":"Personal Access Token","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Create new token","profile_create_token":"Create token","profile_create":"Create","profile_save_changes":"Save changes","default_group_title_name":"(ungrouped)","piggy_bank":"Malacpersely"},"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":"Külföldi összeg","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma","internal_reference":"Belső hivatkozás"},"config":{"html_language":"hu"}}')},function(e){e.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_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"Informasi transaksi","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Source account","hidden_fields_preferences":"You can enable more transaction options in your settings.","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.","edit":"Edit","delete":"Menghapus","name":"Nama","profile_whoops":"Whoops!","profile_something_wrong":"Something went wrong!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Create New Client","profile_oauth_create_client":"Create Client","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Something your users will recognize and trust.","profile_oauth_redirect_url":"Redirect URL","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Revoke","profile_personal_access_tokens":"Personal Access Tokens","profile_personal_access_token":"Personal Access Token","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Create new token","profile_create_token":"Create token","profile_create":"Create","profile_save_changes":"Save changes","default_group_title_name":"(ungrouped)","piggy_bank":"Celengan"},"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(e){e.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_stored_link":"La transazione #{ID} (\\"{title}\\") è stata salvata.","transaction_updated_link":"La transazione #{ID} è stata aggiornata.","transaction_new_stored_link":"La transazione #{ID} è stata salvata.","transaction_journal_information":"Informazioni transazione","no_budget_pointer":"Sembra che tu non abbia ancora dei budget. Dovresti crearne alcuni nella pagina dei budget. I budget possono aiutarti a tenere traccia delle spese.","source_account":"Conto di origine","hidden_fields_preferences":"Puoi abilitare maggiori opzioni per le transazioni nelle tue impostazioni.","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":"Importo","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.","edit":"Modifica","delete":"Elimina","name":"Nome","profile_whoops":"Oops!","profile_something_wrong":"Qualcosa non ha funzionato!","profile_try_again":"Qualcosa non ha funzionato. Riprova.","profile_oauth_clients":"Client OAuth","profile_oauth_no_clients":"Non hai creato nessun client OAuth.","profile_oauth_clients_header":"Client","profile_oauth_client_id":"ID client","profile_oauth_client_name":"Nome","profile_oauth_client_secret":"Segreto","profile_oauth_create_new_client":"Crea nuovo client","profile_oauth_create_client":"Crea client","profile_oauth_edit_client":"Modifica client","profile_oauth_name_help":"Qualcosa di cui i tuoi utenti potranno riconoscere e fidarsi.","profile_oauth_redirect_url":"URL di reindirizzamento","profile_oauth_redirect_url_help":"L\'URL di callback dell\'autorizzazione della tua applicazione.","profile_authorized_apps":"Applicazioni autorizzate","profile_authorized_clients":"Client autorizzati","profile_scopes":"Ambiti","profile_revoke":"Revoca","profile_personal_access_tokens":"Token di acceso personale","profile_personal_access_token":"Token di acceso personale","profile_personal_access_token_explanation":"Ecco il tuo nuovo token di accesso personale. Questa è l\'unica volta che ti viene mostrato per cui non perderlo! Da adesso puoi utilizzare questo token per effettuare delle richieste API.","profile_no_personal_access_token":"Non hai creato alcun token di accesso personale.","profile_create_new_token":"Crea nuovo token","profile_create_token":"Crea token","profile_create":"Crea","profile_save_changes":"Salva modifiche","default_group_title_name":"(non in un gruppo)","piggy_bank":"Salvadanaio"},"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(e){e.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_stored_link":"Transactie #{ID} (\\"{title}\\") is opgeslagen.","transaction_updated_link":"Transactie #{ID} is geüpdatet.","transaction_new_stored_link":"Transactie #{ID} is opgeslagen.","transaction_journal_information":"Transactieinformatie","no_budget_pointer":"Je hebt nog geen budgetten. Maak er een aantal op de budgetten-pagina. Met budgetten kan je je uitgaven beter bijhouden.","source_account":"Bronrekening","hidden_fields_preferences":"Je kan meer transactieopties inschakelen in je instellingen.","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.","edit":"Wijzig","delete":"Verwijder","name":"Naam","profile_whoops":"Oeps!","profile_something_wrong":"Er is iets mis gegaan!","profile_try_again":"Er is iets misgegaan. Probeer het nogmaals.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"Je hebt nog geen OAuth-clients aangemaakt.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Naam","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Nieuwe client aanmaken","profile_oauth_create_client":"Client aanmaken","profile_oauth_edit_client":"Client bewerken","profile_oauth_name_help":"Iets dat je gebruikers herkennen en vertrouwen.","profile_oauth_redirect_url":"Redirect-URL","profile_oauth_redirect_url_help":"De authorisatie-callback-url van jouw applicatie.","profile_authorized_apps":"Geautoriseerde toepassingen","profile_authorized_clients":"Geautoriseerde clients","profile_scopes":"Scopes","profile_revoke":"Intrekken","profile_personal_access_tokens":"Persoonlijke toegangstokens","profile_personal_access_token":"Persoonlijk toegangstoken","profile_personal_access_token_explanation":"Hier is je nieuwe persoonlijke toegangstoken. Dit is de enige keer dat deze getoond wordt dus verlies deze niet! Je kan deze toegangstoken gebruiken om API-aanvragen te maken.","profile_no_personal_access_token":"Je hebt nog geen persoonlijke toegangstokens aangemaakt.","profile_create_new_token":"Nieuwe token aanmaken","profile_create_token":"Token aanmaken","profile_create":"Creër","profile_save_changes":"Aanpassingen opslaan","default_group_title_name":"(ongegroepeerd)","piggy_bank":"Spaarpotje"},"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(e){e.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(e){e.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_stored_link":"Transakcja #{ID} (\\"{title}\\") została zapisana.","transaction_updated_link":"Transakcja #{ID} została zaktualizowana.","transaction_new_stored_link":"Transakcja #{ID} została zapisana.","transaction_journal_information":"Informacje o transakcji","no_budget_pointer":"Wygląda na to że nie masz jeszcze budżetów. Powinieneś utworzyć kilka na stronie budżety. Budżety mogą Ci pomóc śledzić wydatki.","source_account":"Konto źródłowe","hidden_fields_preferences":"Możesz włączyć więcej opcji transakcji w swoich ustawieniach.","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":"Tworzysz wydatek.","you_create_transfer":"Tworzysz przelew.","you_create_deposit":"Tworzysz wpłatę.","edit":"Modyfikuj","delete":"Usuń","name":"Nazwa","profile_whoops":"Uuuups!","profile_something_wrong":"Coś poszło nie tak!","profile_try_again":"Coś poszło nie tak. Spróbuj ponownie.","profile_oauth_clients":"Klienci OAuth","profile_oauth_no_clients":"Nie utworzyłeś żadnych klientów OAuth.","profile_oauth_clients_header":"Klienci","profile_oauth_client_id":"ID klienta","profile_oauth_client_name":"Nazwa","profile_oauth_client_secret":"Sekretny klucz","profile_oauth_create_new_client":"Utwórz nowego klienta","profile_oauth_create_client":"Utwórz klienta","profile_oauth_edit_client":"Edytuj klienta","profile_oauth_name_help":"Coś, co Twoi użytkownicy będą rozpoznawać i ufać.","profile_oauth_redirect_url":"Przekierowanie URL","profile_oauth_redirect_url_help":"Adres URL wywołania zwrotnego autoryzacji aplikacji.","profile_authorized_apps":"Autoryzowane aplikacje","profile_authorized_clients":"Autoryzowani klienci","profile_scopes":"Zakresy","profile_revoke":"Unieważnij","profile_personal_access_tokens":"Osobiste tokeny dostępu","profile_personal_access_token":"Osobisty token dostępu","profile_personal_access_token_explanation":"Oto twój nowy osobisty token dostępu. Jest to jedyny raz, gdy zostanie wyświetlony, więc nie zgub go! Możesz teraz użyć tego tokenu, aby wykonać zapytania API.","profile_no_personal_access_token":"Nie utworzyłeś żadnych osobistych tokenów.","profile_create_new_token":"Utwórz nowy token","profile_create_token":"Utwórz token","profile_create":"Utwórz","profile_save_changes":"Zapisz zmiany","default_group_title_name":"(bez grupy)","piggy_bank":"Skarbonka"},"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(e){e.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_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"Tapahtumatiedot","no_budget_pointer":"Sinulla ei näyttäisi olevan vielä yhtään budjettia. Sinun kannattaisi luoda niitä budjetit-sivulla. Budjetit voivat auttaa sinua pitämään kirjaa kuluistasi.","source_account":"Lähdetili","hidden_fields_preferences":"Voit aktivoida lisää tapahtumavalintoja asetuksissa.","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.","edit":"Muokkaa","delete":"Poista","name":"Nimi","profile_whoops":"Hupsis!","profile_something_wrong":"Jokin meni vikaan!","profile_try_again":"Jokin meni vikaan. Yritä uudelleen.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Asiakasohjelmat","profile_oauth_client_id":"Asiakastunnus","profile_oauth_client_name":"Nimi","profile_oauth_client_secret":"Salaisuus","profile_oauth_create_new_client":"Luo Uusi Asiakas","profile_oauth_create_client":"Luo Asiakas","profile_oauth_edit_client":"Muokkaa asiakasta","profile_oauth_name_help":"Jotain käyttäjillesi tuttua ja luotettavaa.","profile_oauth_redirect_url":"URL:n uudelleenohjaus","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Peruuta","profile_personal_access_tokens":"Henkilökohtaiset Käyttöoikeuskoodit","profile_personal_access_token":"Henkilökohtainen Käyttöoikeuskoodi","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Luo uusi tunnus","profile_create_token":"Luo tunnus","profile_create":"Luo","profile_save_changes":"Tallenna muutokset","default_group_title_name":"(ryhmittelemättömät)","piggy_bank":"Säästöpossu"},"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(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"O que está acontecendo?","flash_error":"Erro!","flash_success":"Sucesso!","close":"Fechar","split_transaction_title":"Descrição da transação dividida","errors_submission":"Tem alguma coisa de errada com o seu envio. Por favor, cheque os erros abaixo.","split":"Dividir","transaction_stored_link":"Transação #{ID} (\\"{title}\\") foi salva.","transaction_updated_link":"Transação #{ID} foi atualizada.","transaction_new_stored_link":"Transação #{ID} foi salva.","transaction_journal_information":"Informação da transação","no_budget_pointer":"Parece que você ainda não tem orçamentos. Você deve criar alguns na página de orçamentos. Orçamentos podem ajudá-lo a manter o controle das despesas.","source_account":"Conta origem","hidden_fields_preferences":"Você pode ativar mais opções de transações em suas configurações.","destination_account":"Conta destino","add_another_split":"Adicionar outra divisão","submission":"Envio","create_another":"Depois de armazenar, retorne aqui para criar outro.","reset_after":"Resetar o formulário após o envio","submit":"Enviar","amount":"Valor","date":"Data","tags":"Tags","no_budget":"(sem orçamento)","category":"Categoria","attachments":"Anexos","notes":"Notas","update_transaction":"Atualizar transação","after_update_create_another":"Depois de atualizar, retorne aqui para continuar editando.","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":"Se você criar uma transação dividida, deve haver uma descrição global para todas as partes da transação.","destination_account_reconciliation":"Você não pode editar a conta de origem de uma transação de reconciliação.","source_account_reconciliation":"Você não pode editar a conta de origem de uma transação de reconciliação.","budget":"Orçamento","you_create_withdrawal":"Você está criando uma retirada.","you_create_transfer":"Você está criando uma transferência.","you_create_deposit":"Você está criando um deposito.","edit":"Editar","delete":"Apagar","name":"Nome","profile_whoops":"Ops!","profile_something_wrong":"Alguma coisa deu errado!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"Clientes OAuth","profile_oauth_no_clients":"Você não criou nenhum cliente OAuth.","profile_oauth_clients_header":"Clientes","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Nome","profile_oauth_client_secret":"Segredo","profile_oauth_create_new_client":"Criar um novo cliente","profile_oauth_create_client":"Criar um cliente","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Alguma coisa que seus usuários vão reconhecer e identificar.","profile_oauth_redirect_url":"URL de redirecionamento","profile_oauth_redirect_url_help":"A URL de retorno da sua solicitação de autorização.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Clientes autorizados","profile_scopes":"Escopos","profile_revoke":"Revogar","profile_personal_access_tokens":"Tokens de acesso pessoal","profile_personal_access_token":"Token de acesso pessoal","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"Você não criou nenhum token de acesso pessoal.","profile_create_new_token":"Criar novo token","profile_create_token":"Criar token","profile_create":"Criar","profile_save_changes":"Salvar alterações","default_group_title_name":"(não agrupado)","piggy_bank":"Cofrinho"},"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(e){e.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_stored_link":"Tranzacția #{ID} (\\"{title}\\") a fost stocată.","transaction_updated_link":"Tranzacția #{ID} a fost actualizată.","transaction_new_stored_link":"Tranzacția #{ID} a fost stocată.","transaction_journal_information":"Informații despre tranzacții","no_budget_pointer":"Se pare că nu aveți încă bugete. Ar trebui să creați câteva pe pagina bugete. Bugetele vă pot ajuta să țineți evidența cheltuielilor.","source_account":"Contul sursă","hidden_fields_preferences":"Puteți activa mai multe opțiuni de tranzacție în setările dvs.","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":"Creezi o retragere.","you_create_transfer":"Creezi un transfer.","you_create_deposit":"Creezi un depozit.","edit":"Editează","delete":"Șterge","name":"Nume","profile_whoops":"Hopaa!","profile_something_wrong":"A apărut o eroare!","profile_try_again":"A apărut o problemă. Încercați din nou.","profile_oauth_clients":"Clienți OAuth","profile_oauth_no_clients":"Nu ați creat niciun client OAuth.","profile_oauth_clients_header":"Clienți","profile_oauth_client_id":"ID Client","profile_oauth_client_name":"Nume","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Creare client nou","profile_oauth_create_client":"Creare client","profile_oauth_edit_client":"Editare client","profile_oauth_name_help":"Ceva ce utilizatorii vor recunoaște și vor avea încredere.","profile_oauth_redirect_url":"Redirectioneaza URL","profile_oauth_redirect_url_help":"URL-ul de retroapelare al aplicației dvs.","profile_authorized_apps":"Aplicațiile dvs autorizate","profile_authorized_clients":"Clienți autorizați","profile_scopes":"Domenii","profile_revoke":"Revocați","profile_personal_access_tokens":"Token de acces personal","profile_personal_access_token":"Token de acces personal","profile_personal_access_token_explanation":"Aici este noul dvs. token de acces personal. Este singura dată când va fi afișat așa că nu îl pierde! Acum poți folosi acest token pentru a face cereri API.","profile_no_personal_access_token":"Nu aţi creat nici un token personal de acces.","profile_create_new_token":"Crează un nou token","profile_create_token":"Crează token","profile_create":"Crează","profile_save_changes":"Salvează modificările","default_group_title_name":"(ungrouped)","piggy_bank":"Pușculiță"},"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(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"Что происходит с моими финансами?","flash_error":"Ошибка!","flash_success":"Успешно!","close":"Закрыть","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке произошла ошибка. Пожалуйста, проверьте ошибки ниже.","split":"Разделить","transaction_stored_link":"Транзакция #{ID} (\\"{title}\\") сохранена.","transaction_updated_link":"Транзакция #{ID} обновлена.","transaction_new_stored_link":"Транзакция #{ID} сохранена.","transaction_journal_information":"Информация о транзакции","no_budget_pointer":"Похоже, у вас пока нет бюджетов. Вы должны создать их в разделе Бюджеты. Бюджеты могут помочь вам отслеживать расходы.","source_account":"Счёт-источник","hidden_fields_preferences":"Вы можете включить больше параметров транзакции на странице настроек.","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_create_transfer":"Вы создаёте перевод.","you_create_deposit":"Вы создаёте доход.","edit":"Изменить","delete":"Удалить","name":"Название","profile_whoops":"Ууупс!","profile_something_wrong":"Что-то пошло не так!","profile_try_again":"Произошла ошибка. Пожалуйста, попробуйте снова.","profile_oauth_clients":"Клиенты OAuth","profile_oauth_no_clients":"У вас пока нет клиентов OAuth.","profile_oauth_clients_header":"Клиенты","profile_oauth_client_id":"ID клиента","profile_oauth_client_name":"Название","profile_oauth_client_secret":"Секретный ключ","profile_oauth_create_new_client":"Создать нового клиента","profile_oauth_create_client":"Создать клиента","profile_oauth_edit_client":"Изменить клиента","profile_oauth_name_help":"Что-то, что ваши пользователи знают, и чему доверяют.","profile_oauth_redirect_url":"URL редиректа","profile_oauth_redirect_url_help":"URL обратного вызова для вашего приложения.","profile_authorized_apps":"Авторизованные приложения","profile_authorized_clients":"Авторизованные клиенты","profile_scopes":"Разрешения","profile_revoke":"Отключить","profile_personal_access_tokens":"Персональные Access Tokens","profile_personal_access_token":"Персональный Access Token","profile_personal_access_token_explanation":"Вот ваш новый персональный токен доступа. Он будет показан вам только сейчас, поэтому не потеряйте его! Теперь вы можете использовать этот токен, чтобы делать запросы по API.","profile_no_personal_access_token":"Вы не создали ни одного персонального токена доступа.","profile_create_new_token":"Создать новый токен","profile_create_token":"Создать токен","profile_create":"Создать","profile_save_changes":"Сохранить изменения","default_group_title_name":"(без группировки)","piggy_bank":"Копилка"},"form":{"interest_date":"Дата выплаты","book_date":"Дата бронирования","process_date":"Дата обработки","due_date":"Срок","foreign_amount":"Сумма в иностранной валюте","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта","internal_reference":"Внутренняя ссылка"},"config":{"html_language":"ru"}}')},function(e){e.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(e){e.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_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"交易資訊","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Source account","hidden_fields_preferences":"You can enable more transaction options in your settings.","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.","edit":"編輯","delete":"刪除","name":"名稱","profile_whoops":"Whoops!","profile_something_wrong":"Something went wrong!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Create New Client","profile_oauth_create_client":"Create Client","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Something your users will recognize and trust.","profile_oauth_redirect_url":"Redirect URL","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Revoke","profile_personal_access_tokens":"Personal Access Tokens","profile_personal_access_token":"Personal Access Token","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Create new token","profile_create_token":"Create token","profile_create":"Create","profile_save_changes":"Save changes","default_group_title_name":"(ungrouped)","piggy_bank":"小豬撲滿"},"form":{"interest_date":"利率日期","book_date":"登記日期","process_date":"處理日期","due_date":"到期日","foreign_amount":"外幣金額","payment_date":"付款日期","invoice_date":"發票日期","internal_reference":"內部參考"},"config":{"html_language":"zh-tw"}}')},function(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"今天理财了吗?","flash_error":"错误!","flash_success":"成功!","close":"关闭","split_transaction_title":"拆分交易的描述","errors_submission":"您的提交有误,请查看下面输出的错误信息。","split":"分割","transaction_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"交易资讯","no_budget_pointer":"您似乎还没有任何预算。您应该在 预算页面上创建他们。预算可以帮助您跟踪费用。","source_account":"来源帐户","hidden_fields_preferences":"您可以在 设置中启用更多的交易选项。","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_create_transfer":"您正在创建一个转账","you_create_deposit":"您正在创建一个存款","edit":"编辑","delete":"删除","name":"名称","profile_whoops":"Whoops!","profile_something_wrong":"Something went wrong!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Create New Client","profile_oauth_create_client":"Create Client","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Something your users will recognize and trust.","profile_oauth_redirect_url":"Redirect URL","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Revoke","profile_personal_access_tokens":"Personal Access Tokens","profile_personal_access_token":"Personal Access Token","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Create new token","profile_create_token":"Create token","profile_create":"Create","profile_save_changes":"Save changes","default_group_title_name":"(ungrouped)","piggy_bank":"存钱罐"},"form":{"interest_date":"利率日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","foreign_amount":"外币金额","payment_date":"付款日期","invoice_date":"发票日期","internal_reference":"内部参考"},"config":{"html_language":"zh-cn"}}')},function(e){e.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_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"Transaktionsinformation","no_budget_pointer":"Du verkar inte ha några budgetar än. Du bör skapa några på budgetar-sidan. Budgetar kan hjälpa dig att hålla reda på utgifter.","source_account":"Från konto","hidden_fields_preferences":"You can enable more transaction options in your settings.","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.","edit":"Redigera","delete":"Ta bort","name":"Namn","profile_whoops":"Hoppsan!","profile_something_wrong":"Något gick fel!","profile_try_again":"Något gick fel. Försök igen.","profile_oauth_clients":"OAuth klienter","profile_oauth_no_clients":"Du har inte skapat några OAuth klienter.","profile_oauth_clients_header":"Klienter","profile_oauth_client_id":"Klient ID","profile_oauth_client_name":"Namn","profile_oauth_client_secret":"Hemlighet","profile_oauth_create_new_client":"Skapa ny klient","profile_oauth_create_client":"Skapa klient","profile_oauth_edit_client":"Redigera klient","profile_oauth_name_help":"Något som dina användare kommer att känna igen och lita på.","profile_oauth_redirect_url":"Omdirigera URL","profile_oauth_redirect_url_help":"Din applikations auktorisering callback URL.","profile_authorized_apps":"Auktoriserade applikationer","profile_authorized_clients":"Auktoriserade klienter","profile_scopes":"Omfattningar","profile_revoke":"Återkalla","profile_personal_access_tokens":"Personliga åtkomst-Tokens","profile_personal_access_token":"Personlig åtkomsttoken","profile_personal_access_token_explanation":"Här är din nya personliga tillgångs token. Detta är den enda gången det kommer att visas så förlora inte det! Du kan nu använda denna token för att göra API-förfrågningar.","profile_no_personal_access_token":"Du har inte skapat några personliga åtkomsttokens.","profile_create_new_token":"Skapa ny token","profile_create_token":"Skapa token","profile_create":"Skapa","profile_save_changes":"Spara ändringar","default_group_title_name":"(ungrouped)","piggy_bank":"Spargris"},"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(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"Chào mừng trở lại?","flash_error":"Lỗi!","flash_success":"Thành công!","close":"Đóng","split_transaction_title":"Mô tả giao dịch tách","errors_submission":"Có gì đó sai. Vui lòng kiểm tra các lỗi dưới đây.","split":"Chia ra","transaction_stored_link":"Giao dịch #{ID} (\\"{title}\\") đã được lưu trữ.","transaction_updated_link":"Giao dịch#{ID} đã được cập nhật.","transaction_new_stored_link":" Giao dịch #{ID} đã được lưu trữ.","transaction_journal_information":"Thông tin giao dịch","no_budget_pointer":"Bạn dường như chưa có ngân sách. Bạn nên tạo một cái trên budgets-page. Ngân sách có thể giúp bạn theo dõi chi phí.","source_account":"Nguồn tài khoản","hidden_fields_preferences":"Bạn có thể kích hoạt thêm tùy chọn giao dịch trong settings.","destination_account":"Tài khoản đích","add_another_split":"Thêm một phân chia khác","submission":"Gửi","create_another":"Sau khi lưu trữ, quay trở lại đây để tạo một cái khác.","reset_after":"Đặt lại mẫu sau khi gửi","submit":"Gửi","amount":"Số tiền","date":"Ngày","tags":"Nhãn","no_budget":"(không có ngân sách)","category":"Danh mục","attachments":"Tệp đính kèm","notes":"Ghi chú","update_transaction":"Cập nhật giao dịch","after_update_create_another":"Sau khi cập nhật, quay lại đây để tiếp tục chỉnh sửa.","store_as_new":"Lưu trữ như một giao dịch mới thay vì cập nhật.","split_title_help":"Nếu bạn tạo một giao dịch phân tách, phải có một mô tả toàn cầu cho tất cả các phân chia của giao dịch.","none_in_select_list":"(Trống)","no_piggy_bank":"(chưa có heo đất)","description":"Sự miêu tả","split_transaction_title_help":"Nếu bạn tạo một giao dịch phân tách, phải có một mô tả toàn cầu cho tất cả các phân chia của giao dịch.","destination_account_reconciliation":"Bạn không thể chỉnh sửa tài khoản đích của giao dịch đối chiếu.","source_account_reconciliation":"Bạn không thể chỉnh sửa tài khoản nguồn của giao dịch đối chiếu.","budget":"Ngân sách","you_create_withdrawal":"Bạn đang tạo một rút tiền.","you_create_transfer":"Bạn đang tạo một chuyển khoản.","you_create_deposit":"Bạn đang tạo một tiền gửi.","edit":"Sửa","delete":"Xóa","name":"Tên","profile_whoops":"Rất tiếc!","profile_something_wrong":"Có lỗi xảy ra!","profile_try_again":"Xảy ra lỗi. Vui lòng thử lại.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"Bạn đã không tạo ra bất kỳ OAuth clients nào.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Tên","profile_oauth_client_secret":"Mã bí mật","profile_oauth_create_new_client":"Tạo mới Client","profile_oauth_create_client":"Tạo Client","profile_oauth_edit_client":"Sửa Client","profile_oauth_name_help":"Một cái gì đó người dùng của bạn sẽ nhận ra và tin tưởng.","profile_oauth_redirect_url":"URL chuyển tiếp","profile_oauth_redirect_url_help":"URL gọi lại ủy quyền của ứng dụng của bạn.","profile_authorized_apps":"Uỷ quyền ứng dụng","profile_authorized_clients":"Client ủy quyền","profile_scopes":"Phạm vi","profile_revoke":"Thu hồi","profile_personal_access_tokens":"Mã truy cập cá nhân","profile_personal_access_token":"Mã truy cập cá nhân","profile_personal_access_token_explanation":"Đây là mã thông báo truy cập cá nhân mới của bạn. Đây là lần duy nhất nó sẽ được hiển thị vì vậy đừng đánh mất nó! Bây giờ bạn có thể sử dụng mã thông báo này để thực hiện API.","profile_no_personal_access_token":"Bạn chưa tạo bất kỳ mã thông báo truy cập cá nhân nào.","profile_create_new_token":"Tạo mã mới","profile_create_token":"Tạo mã","profile_create":"Tạo","profile_save_changes":"Lưu thay đổi","default_group_title_name":"(chưa nhóm)","piggy_bank":"Heo đất"},"form":{"interest_date":"Ngày lãi","book_date":"Ngày đặt sách","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","foreign_amount":"Ngoại tệ","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn","internal_reference":"Tài liệu tham khảo nội bộ"},"config":{"html_language":"vi"}}')},function(e,t,n){window,e.exports=function(e){var t={};function n(a){if(t[a])return t[a].exports;var o=t[a]={i:a,l:!1,exports:{}};return e[a].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(a,o,function(t){return e[t]}.bind(null,o));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=6)}([function(e,t,n){var a=n(8);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(4).default)("7ec05f6c",a,!1,{})},function(e,t,n){var a=n(10);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(4).default)("3453d19d",a,!1,{})},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,a=e[1]||"",o=e[3];if(!o)return a;if(t&&"function"==typeof btoa){var i=(n=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),r=o.sources.map((function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"}));return[a].concat(r).concat([i]).join("\n")}return[a].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var a={},o=0;on.parts.length&&(a.parts.length=n.parts.length)}else{var r=[];for(o=0;o 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(e,t,n){"use strict";e.exports=function(e){return"string"!=typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),/["'() \t\n]/.test(e)?'"'+e.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':e)}},function(e,t){e.exports="data:font/ttf;base64,AAEAAAALAIAAAwAwT1MvMg8SBawAAAC8AAAAYGNtYXAXVtKJAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZqWfozAAAAF4AAAA/GhlYWQPxZgIAAACdAAAADZoaGVhB4ADyAAAAqwAAAAkaG10eBIAAb4AAALQAAAAHGxvY2EAkgDiAAAC7AAAABBtYXhwAAkAHwAAAvwAAAAgbmFtZZlKCfsAAAMcAAABhnBvc3QAAwAAAAAEpAAAACAAAwOAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpAgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6QL//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAFYBAQO+AoEAHAAAATIXHgEXFhcHJicuAScmIyIGBxchERc2Nz4BNzYCFkpDQ28pKRdkECAfVTM0OT9wLZz+gJgdIiJLKSgCVRcYUjg5QiAzKys+ERIrJZoBgJoZFRQcCAgAAQDWAIEDKgLVAAsAAAEHFwcnByc3JzcXNwMq7u487u487u487u4Cme7uPO7uPO7uPO7uAAEAkgCBA4ACvQAFAAAlARcBJzcBgAHEPP4A7jz5AcQ8/gDuPAAAAAABAAAAAAAAH8nTUV8PPPUACwQAAAAAANZ1KhsAAAAA1nUqGwAAAAADvgLVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAO+AAEAAAAAAAAAAAAAAAAAAAAHBAAAAAAAAAAAAAAAAgAAAAQAAFYEAADWBAAAkgAAAAAACgAUAB4AUABqAH4AAQAAAAcAHQABAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGljb21vb24AaQBjAG8AbQBvAG8AblZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGljb21vb24AaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AblJlZ3VsYXIAUgBlAGcAdQBsAGEAcmljb21vb24AaQBjAG8AbQBvAG8AbkZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="},function(e,t){e.exports="data:font/woff;base64,d09GRgABAAAAAAUQAAsAAAAABMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIFrGNtYXAAAAFoAAAAVAAAAFQXVtKJZ2FzcAAAAbwAAAAIAAAACAAAABBnbHlmAAABxAAAAPwAAAD8pZ+jMGhlYWQAAALAAAAANgAAADYPxZgIaGhlYQAAAvgAAAAkAAAAJAeAA8hobXR4AAADHAAAABwAAAAcEgABvmxvY2EAAAM4AAAAEAAAABAAkgDibWF4cAAAA0gAAAAgAAAAIAAJAB9uYW1lAAADaAAAAYYAAAGGmUoJ+3Bvc3QAAATwAAAAIAAAACAAAwAAAAMDgAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA6QIDwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADgAAAAKAAgAAgACAAEAIOkC//3//wAAAAAAIOkA//3//wAB/+MXBAADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQBWAQEDvgKBABwAAAEyFx4BFxYXByYnLgEnJiMiBgcXIREXNjc+ATc2AhZKQ0NvKSkXZBAgH1UzNDk/cC2c/oCYHSIiSykoAlUXGFI4OUIgMysrPhESKyWaAYCaGRUUHAgIAAEA1gCBAyoC1QALAAABBxcHJwcnNyc3FzcDKu7uPO7uPO7uPO7uApnu7jzu7jzu7jzu7gABAJIAgQOAAr0ABQAAJQEXASc3AYABxDz+AO48+QHEPP4A7jwAAAAAAQAAAAAAAB/J01FfDzz1AAsEAAAAAADWdSobAAAAANZ1KhsAAAAAA74C1QAAAAgAAgAAAAAAAAABAAADwP/AAAAEAAAAAAADvgABAAAAAAAAAAAAAAAAAAAABwQAAAAAAAAAAAAAAAIAAAAEAABWBAAA1gQAAJIAAAAAAAoAFAAeAFAAagB+AAEAAAAHAB0AAQAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAHAAAAAQAAAAAAAgAHAGAAAQAAAAAAAwAHADYAAQAAAAAABAAHAHUAAQAAAAAABQALABUAAQAAAAAABgAHAEsAAQAAAAAACgAaAIoAAwABBAkAAQAOAAcAAwABBAkAAgAOAGcAAwABBAkAAwAOAD0AAwABBAkABAAOAHwAAwABBAkABQAWACAAAwABBAkABgAOAFIAAwABBAkACgA0AKRpY29tb29uAGkAYwBvAG0AbwBvAG5WZXJzaW9uIDEuMABWAGUAcgBzAGkAbwBuACAAMQAuADBpY29tb29uAGkAYwBvAG0AbwBvAG5pY29tb29uAGkAYwBvAG0AbwBvAG5SZWd1bGFyAFIAZQBnAHUAbABhAHJpY29tb29uAGkAYwBvAG0AbwBvAG5Gb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vue-tags-input",class:[{"ti-disabled":e.disabled},{"ti-focus":e.focused}]},[n("div",{staticClass:"ti-input"},[e.tagsCopy?n("ul",{staticClass:"ti-tags"},[e._l(e.tagsCopy,(function(t,a){return n("li",{key:a,staticClass:"ti-tag",class:[{"ti-editing":e.tagsEditStatus[a]},t.tiClasses,t.classes,{"ti-deletion-mark":e.isMarked(a)}],style:t.style,attrs:{tabindex:"0"},on:{click:function(n){return e.$emit("tag-clicked",{tag:t,index:a})}}},[n("div",{staticClass:"ti-content"},[e.$scopedSlots["tag-left"]?n("div",{staticClass:"ti-tag-left"},[e._t("tag-left",null,{tag:t,index:a,edit:e.tagsEditStatus[a],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(a)})],2):e._e(),e._v(" "),n("div",{ref:"tagCenter",refInFor:!0,staticClass:"ti-tag-center"},[e.$scopedSlots["tag-center"]?e._e():n("span",{class:{"ti-hidden":e.tagsEditStatus[a]},on:{click:function(t){return e.performEditTag(a)}}},[e._v(e._s(t.text))]),e._v(" "),e.$scopedSlots["tag-center"]?e._e():n("tag-input",{attrs:{scope:{edit:e.tagsEditStatus[a],maxlength:e.maxlength,tag:t,index:a,validateTag:e.createChangedTag,performCancelEdit:e.cancelEdit,performSaveEdit:e.performSaveTag}}}),e._v(" "),e._t("tag-center",null,{tag:t,index:a,maxlength:e.maxlength,edit:e.tagsEditStatus[a],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,validateTag:e.createChangedTag,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(a)})],2),e._v(" "),e.$scopedSlots["tag-right"]?n("div",{staticClass:"ti-tag-right"},[e._t("tag-right",null,{tag:t,index:a,edit:e.tagsEditStatus[a],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(a)})],2):e._e()]),e._v(" "),n("div",{staticClass:"ti-actions"},[e.$scopedSlots["tag-actions"]?e._e():n("i",{directives:[{name:"show",rawName:"v-show",value:e.tagsEditStatus[a],expression:"tagsEditStatus[index]"}],staticClass:"ti-icon-undo",on:{click:function(t){return e.cancelEdit(a)}}}),e._v(" "),e.$scopedSlots["tag-actions"]?e._e():n("i",{directives:[{name:"show",rawName:"v-show",value:!e.tagsEditStatus[a],expression:"!tagsEditStatus[index]"}],staticClass:"ti-icon-close",on:{click:function(t){return e.performDeleteTag(a)}}}),e._v(" "),e.$scopedSlots["tag-actions"]?e._t("tag-actions",null,{tag:t,index:a,edit:e.tagsEditStatus[a],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(a)}):e._e()],2)])})),e._v(" "),n("li",{staticClass:"ti-new-tag-input-wrapper"},[n("input",e._b({ref:"newTagInput",staticClass:"ti-new-tag-input",class:[e.createClasses(e.newTag,e.tags,e.validation,e.isDuplicate)],attrs:{placeholder:e.placeholder,maxlength:e.maxlength,disabled:e.disabled,type:"text",size:"1"},domProps:{value:e.newTag},on:{keydown:[function(t){return e.performAddTags(e.filteredAutocompleteItems[e.selectedItem]||e.newTag,t)},function(t){return t.type.indexOf("key")||8===t.keyCode?e.invokeDelete(t):null},function(t){return t.type.indexOf("key")||9===t.keyCode?e.performBlur(t):null},function(t){return t.type.indexOf("key")||38===t.keyCode?e.selectItem(t,"before"):null},function(t){return t.type.indexOf("key")||40===t.keyCode?e.selectItem(t,"after"):null}],paste:e.addTagsFromPaste,input:e.updateNewTag,blur:function(t){return e.$emit("blur",t)},focus:function(t){e.focused=!0,e.$emit("focus",t)},click:function(t){!e.addOnlyFromAutocomplete&&(e.selectedItem=null)}}},"input",e.$attrs,!1))])],2):e._e()]),e._v(" "),e._t("between-elements"),e._v(" "),e.autocompleteOpen?n("div",{staticClass:"ti-autocomplete",on:{mouseout:function(t){e.selectedItem=null}}},[e._t("autocomplete-header"),e._v(" "),n("ul",e._l(e.filteredAutocompleteItems,(function(t,a){return n("li",{key:a,staticClass:"ti-item",class:[t.tiClasses,t.classes,{"ti-selected-item":e.isSelected(a)}],style:t.style,on:{mouseover:function(t){!e.disabled&&(e.selectedItem=a)}}},[e.$scopedSlots["autocomplete-item"]?e._t("autocomplete-item",null,{item:t,index:a,performAdd:function(t){return e.performAddTags(t,void 0,"autocomplete")},selected:e.isSelected(a)}):n("div",{on:{click:function(n){return e.performAddTags(t,void 0,"autocomplete")}}},[e._v("\n "+e._s(t.text)+"\n ")])],2)})),0),e._v(" "),e._t("autocomplete-footer")],2):e._e()],2)};a._withStripped=!0;var o=n(5),i=n.n(o),r=function(e){return JSON.parse(JSON.stringify(e))},s=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3?arguments[3]:void 0;void 0===e.text&&(e={text:e});var o=function(e,t){return t.filter((function(t){var n=e.text;return"string"==typeof t.rule?!new RegExp(t.rule).test(n):t.rule instanceof RegExp?!t.rule.test(n):"[object Function]"==={}.toString.call(t.rule)?t.rule(e):void 0})).map((function(e){return e.classes}))}(e,n),i=function(e,t){for(var n=0;n1?n-1:0),o=1;o1?t-1:0),a=1;a=this.autocompleteMinLength&&this.filteredAutocompleteItems.length>0&&this.focused},filteredAutocompleteItems:function(){var e=this,t=this.autocompleteItems.map((function(t){return c(t,e.tags,e.validation,e.isDuplicate)}));return this.autocompleteFilterDuplicates?t.filter(this.duplicateFilter):t}},methods:{createClasses:s,getSelectedIndex:function(e){var t=this.filteredAutocompleteItems,n=this.selectedItem,a=t.length-1;if(0!==t.length)return null===n?0:"before"===e&&0===n?a:"after"===e&&n===a?0:"after"===e?n+1:n-1},selectDefaultItem:function(){this.addOnlyFromAutocomplete&&this.filteredAutocompleteItems.length>0?this.selectedItem=0:this.selectedItem=null},selectItem:function(e,t){e.preventDefault(),this.selectedItem=this.getSelectedIndex(t)},isSelected:function(e){return this.selectedItem===e},isMarked:function(e){return this.deletionMark===e},invokeDelete:function(){var e=this;if(this.deleteOnBackspace&&!(this.newTag.length>0)){var t=this.tagsCopy.length-1;null===this.deletionMark?(this.deletionMarkTime=setTimeout((function(){return e.deletionMark=null}),1e3),this.deletionMark=t):this.performDeleteTag(t)}},addTagsFromPaste:function(){var e=this;this.addFromPaste&&setTimeout((function(){return e.performAddTags(e.newTag)}),10)},performEditTag:function(e){var t=this;this.allowEditTags&&(this._events["before-editing-tag"]||this.editTag(e),this.$emit("before-editing-tag",{index:e,tag:this.tagsCopy[e],editTag:function(){return t.editTag(e)}}))},editTag:function(e){this.allowEditTags&&(this.toggleEditMode(e),this.focus(e))},toggleEditMode:function(e){this.allowEditTags&&!this.disabled&&this.$set(this.tagsEditStatus,e,!this.tagsEditStatus[e])},createChangedTag:function(e,t){var n=this.tagsCopy[e];n.text=t?t.target.value:this.tagsCopy[e].text,this.$set(this.tagsCopy,e,c(n,this.tagsCopy,this.validation,this.isDuplicate))},focus:function(e){var t=this;this.$nextTick((function(){var n=t.$refs.tagCenter[e].querySelector("input.ti-tag-input");n&&n.focus()}))},quote:function(e){return e.replace(/([()[{*+.$^\\|?])/g,"\\$1")},cancelEdit:function(e){this.tags[e]&&(this.tagsCopy[e]=r(c(this.tags[e],this.tags,this.validation,this.isDuplicate)),this.$set(this.tagsEditStatus,e,!1))},hasForbiddingAddRule:function(e){var t=this;return e.some((function(e){var n=t.validation.find((function(t){return e===t.classes}));return!!n&&n.disableAdd}))},createTagTexts:function(e){var t=this,n=new RegExp(this.separators.map((function(e){return t.quote(e)})).join("|"));return e.split(n).map((function(e){return{text:e}}))},performDeleteTag:function(e){var t=this;this._events["before-deleting-tag"]||this.deleteTag(e),this.$emit("before-deleting-tag",{index:e,tag:this.tagsCopy[e],deleteTag:function(){return t.deleteTag(e)}})},deleteTag:function(e){this.disabled||(this.deletionMark=null,clearTimeout(this.deletionMarkTime),this.tagsCopy.splice(e,1),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},noTriggerKey:function(e,t){var n=-1!==this[t].indexOf(e.keyCode)||-1!==this[t].indexOf(e.key);return n&&e.preventDefault(),!n},performAddTags:function(e,t,n){var a=this;if(!(this.disabled||t&&this.noTriggerKey(t,"addOnKey"))){var o=[];"object"===m(e)&&(o=[e]),"string"==typeof e&&(o=this.createTagTexts(e)),(o=o.filter((function(e){return e.text.trim().length>0}))).forEach((function(e){e=c(e,a.tags,a.validation,a.isDuplicate),a._events["before-adding-tag"]||a.addTag(e,n),a.$emit("before-adding-tag",{tag:e,addTag:function(){return a.addTag(e,n)}})}))}},duplicateFilter:function(e){return this.isDuplicate?!this.isDuplicate(this.tagsCopy,e):!this.tagsCopy.find((function(t){return t.text===e.text}))},addTag:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"new-tag-input",a=this.filteredAutocompleteItems.map((function(e){return e.text}));this.addOnlyFromAutocomplete&&-1===a.indexOf(e.text)||this.$nextTick((function(){return t.maxTags&&t.maxTags<=t.tagsCopy.length?t.$emit("max-tags-reached",e):t.avoidAddingDuplicates&&!t.duplicateFilter(e)?t.$emit("adding-duplicate",e):void(t.hasForbiddingAddRule(e.tiClasses)||(t.$emit("input",""),t.tagsCopy.push(e),t._events["update:tags"]&&t.$emit("update:tags",t.tagsCopy),"autocomplete"===n&&t.$refs.newTagInput.focus(),t.$emit("tags-changed",t.tagsCopy)))}))},performSaveTag:function(e,t){var n=this,a=this.tagsCopy[e];this.disabled||t&&this.noTriggerKey(t,"addOnKey")||0!==a.text.trim().length&&(this._events["before-saving-tag"]||this.saveTag(e,a),this.$emit("before-saving-tag",{index:e,tag:a,saveTag:function(){return n.saveTag(e,a)}}))},saveTag:function(e,t){if(this.avoidAddingDuplicates){var n=r(this.tagsCopy),a=n.splice(e,1)[0];if(this.isDuplicate?this.isDuplicate(n,a):-1!==n.map((function(e){return e.text})).indexOf(a.text))return this.$emit("saving-duplicate",t)}this.hasForbiddingAddRule(t.tiClasses)||(this.$set(this.tagsCopy,e,t),this.toggleEditMode(e),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},tagsEqual:function(){var e=this;return!this.tagsCopy.some((function(t,n){return!i()(t,e.tags[n])}))},updateNewTag:function(e){var t=e.target.value;this.newTag=t,this.$emit("input",t)},initTags:function(){this.tagsCopy=l(this.tags,this.validation,this.isDuplicate),this.tagsEditStatus=r(this.tags).map((function(){return!1})),this._events["update:tags"]&&!this.tagsEqual()&&this.$emit("update:tags",this.tagsCopy)},blurredOnClick:function(e){this.$el.contains(e.target)||this.$el.contains(document.activeElement)||this.performBlur(e)},performBlur:function(){this.addOnBlur&&this.focused&&this.performAddTags(this.newTag),this.focused=!1}},watch:{value:function(e){this.addOnlyFromAutocomplete||(this.selectedItem=null),this.newTag=e},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),p(v,a,[],!1,null,"61d92e31",null));y.options.__file="vue-tags-input/vue-tags-input.vue";var b=y.exports;n.d(t,"VueTagsInput",(function(){return b})),n.d(t,"createClasses",(function(){return s})),n.d(t,"createTag",(function(){return c})),n.d(t,"createTags",(function(){return l})),n.d(t,"TagInput",(function(){return A})),b.install=function(e){return e.component(b.name,b)},"undefined"!=typeof window&&window.Vue&&window.Vue.use(b),t.default=b}])},function(e,t,n){"use strict";var a={name:"CustomAttachments",props:{title:String,name:String,error:Array},methods:{clearAtt:function(){this.$refs.input.value=""},hasError:function(){return this.error.length>0}}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{multiple:"multiple",autocomplete:"off",placeholder:e.title,title:e.title,name:e.name,type:"file"}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:e.clearAtt}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"25a774c0",null);t.a=i.exports},function(e,t,n){"use strict";var a={name:"CustomDate",props:{value:String,title:String,name:String,error:Array},methods:{handleInput:function(e){this.$emit("input",this.$refs.date.value)},hasError:function(){return this.error.length>0},clearDate:function(){this.name="",this.$refs.date.value="",this.$emit("input",this.$refs.date.value)}}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"date",staticClass:"form-control",attrs:{type:"date",name:e.name,title:e.title,autocomplete:"off",placeholder:e.title},domProps:{value:e.value?e.value.substr(0,10):""},on:{input:e.handleInput}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearDate}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"7a261844",null);t.a=i.exports},function(e,t,n){"use strict";var a={name:"CustomString",props:{title:String,name:String,value:String,error:Array},methods:{handleInput:function(e){this.$emit("input",this.$refs.str.value)},clearField:function(){this.name="",this.$refs.str.value="",this.$emit("input",this.$refs.str.value)},hasError:function(){return this.error.length>0}}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"str",staticClass:"form-control",attrs:{type:"text",name:e.name,title:e.title,autocomplete:"off",placeholder:e.title},domProps:{value:e.value},on:{input:e.handleInput}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearField}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"ada77346",null);t.a=i.exports},function(e,t,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(e){this.$emit("input",this.$refs.str.value)},hasError:function(){return this.error.length>0}}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.textValue,expression:"textValue"}],ref:"str",staticClass:"form-control",attrs:{name:e.name,title:e.title,autocomplete:"off",rows:"8",placeholder:e.title},domProps:{value:e.textValue},on:{input:[function(t){t.target.composing||(e.textValue=t.target.value)},e.handleInput]}}),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"40389097",null);t.a=i.exports},function(e,t,n){"use strict";var a={props:["error","value","index"],name:"StandardDate",methods:{hasError:function(){return this.error.length>0},handleInput:function(e){this.$emit("input",this.$refs.date.value)},clearDate:function(){this.name="",this.$refs.date.value="",this.$emit("input",this.$refs.date.value),this.$emit("clear:date")}}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.date"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"date",staticClass:"form-control",attrs:{type:"date",name:"date[]",title:e.$t("firefly.date"),autocomplete:"off",disabled:e.index>0,placeholder:e.$t("firefly.date")},domProps:{value:e.value},on:{input:e.handleInput}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearDate}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"4e877916",null);t.a=i.exports},function(e,t,n){"use strict";var a={props:["error","value","index"],name:"GroupDescription",methods:{hasError:function(){return this.error.length>0},handleInput:function(e){this.$emit("input",this.$refs.descr.value)},clearField:function(){this.name="",this.$refs.descr.value="",this.$emit("input",this.$refs.descr.value)}}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.split_transaction_title"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"descr",staticClass:"form-control",attrs:{type:"text",name:"group_title",title:e.$t("firefly.split_transaction_title"),autocomplete:"off",placeholder:e.$t("firefly.split_transaction_title")},domProps:{value:e.value},on:{input:e.handleInput}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearField}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),0===e.error.length?n("p",{staticClass:"help-block"},[e._v("\n "+e._s(e.$t("firefly.split_transaction_title_help"))+"\n ")]):e._e(),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"2666c561",null);t.a=i.exports},function(e,t,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+"api/v1/autocomplete/transactions?query=",this.$refs.descr.focus()},components:{},data:function(){return{descriptionAutoCompleteURI:null,name:null,description:null,target:null}},methods:{search:function(e){return["ab","cd"]},hasError:function(){return this.error.length>0},clearDescription:function(){this.description="",this.$refs.descr.value="",this.$emit("input",this.$refs.descr.value),this.$emit("clear:description")},handleInput:function(e){this.$emit("input",this.$refs.descr.value)},handleEnter:function(e){e.keyCode},selectedItem:function(e){void 0!==this.name&&"string"!=typeof this.name&&(this.$refs.descr.value=this.name.description,this.$emit("input",this.$refs.descr.value))}}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.description"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"descr",staticClass:"form-control",attrs:{type:"text",name:"description[]",title:e.$t("firefly.description"),autocomplete:"off",placeholder:e.$t("firefly.description")},domProps:{value:e.value},on:{keypress:e.handleEnter,submit:function(e){e.preventDefault()},input:e.handleInput}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearDescription}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":e.descriptionAutoCompleteURI,target:e.target,"item-key":"description"},on:{input:e.selectedItem},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}}),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"d7c74274",null);t.a=i.exports},function(e,t,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(e){this.$emit("input",this.value)},getPreference:function(){var e=this,t=document.getElementsByTagName("base")[0].href+"api/v1/preferences/transaction_journal_optional_fields";axios.get(t).then((function(t){e.fields=t.data.data.attributes.data})).catch((function(){return console.warn("Oh. Something went wrong loading custom transaction fields.")}))}}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("p",{staticClass:"help-block",domProps:{innerHTML:e._s(e.$t("firefly.hidden_fields_preferences"))}}),e._v(" "),this.fields.interest_date?n(e.dateComponent,{tag:"component",attrs:{error:e.error.interest_date,name:"interest_date[]",title:e.$t("form.interest_date")},model:{value:e.value.interest_date,callback:function(t){e.$set(e.value,"interest_date",t)},expression:"value.interest_date"}}):e._e(),e._v(" "),this.fields.book_date?n(e.dateComponent,{tag:"component",attrs:{error:e.error.book_date,name:"book_date[]",title:e.$t("form.book_date")},model:{value:e.value.book_date,callback:function(t){e.$set(e.value,"book_date",t)},expression:"value.book_date"}}):e._e(),e._v(" "),this.fields.process_date?n(e.dateComponent,{tag:"component",attrs:{error:e.error.process_date,name:"process_date[]",title:e.$t("form.process_date")},model:{value:e.value.process_date,callback:function(t){e.$set(e.value,"process_date",t)},expression:"value.process_date"}}):e._e(),e._v(" "),this.fields.due_date?n(e.dateComponent,{tag:"component",attrs:{error:e.error.due_date,name:"due_date[]",title:e.$t("form.due_date")},model:{value:e.value.due_date,callback:function(t){e.$set(e.value,"due_date",t)},expression:"value.due_date"}}):e._e(),e._v(" "),this.fields.payment_date?n(e.dateComponent,{tag:"component",attrs:{error:e.error.payment_date,name:"payment_date[]",title:e.$t("form.payment_date")},model:{value:e.value.payment_date,callback:function(t){e.$set(e.value,"payment_date",t)},expression:"value.payment_date"}}):e._e(),e._v(" "),this.fields.invoice_date?n(e.dateComponent,{tag:"component",attrs:{error:e.error.invoice_date,name:"invoice_date[]",title:e.$t("form.invoice_date")},model:{value:e.value.invoice_date,callback:function(t){e.$set(e.value,"invoice_date",t)},expression:"value.invoice_date"}}):e._e(),e._v(" "),this.fields.internal_reference?n(e.stringComponent,{tag:"component",attrs:{error:e.error.internal_reference,name:"internal_reference[]",title:e.$t("form.internal_reference")},model:{value:e.value.internal_reference,callback:function(t){e.$set(e.value,"internal_reference",t)},expression:"value.internal_reference"}}):e._e(),e._v(" "),this.fields.attachments?n(e.attachmentComponent,{tag:"component",attrs:{error:e.error.attachments,name:"attachments[]",title:e.$t("firefly.attachments")},model:{value:e.value.attachments,callback:function(t){e.$set(e.value,"attachments",t)},expression:"value.attachments"}}):e._e(),e._v(" "),this.fields.notes?n(e.textareaComponent,{tag:"component",attrs:{error:e.error.notes,name:"notes[]",title:e.$t("firefly.notes")},model:{value:e.value.notes,callback:function(t){e.$set(e.value,"notes",t)},expression:"value.notes"}}):e._e()],1)}),[],!1,null,"c24d33ba",null);t.a=i.exports},function(e,t,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(e){this.$emit("input",this.$refs.piggy.value)},hasError:function(){return this.error.length>0},loadPiggies:function(){var e=this,t=document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/piggy-banks-with-balance";axios.get(t,{}).then((function(t){var n={0:{group:{title:e.$t("firefly.default_group_title_name")},piggies:[{name_with_balance:e.no_piggy_bank,id:0}]}};for(var a in t.data)if(t.data.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var o=t.data[a];if(o.objectGroup){var i=o.objectGroup.order;n[i]||(n[i]={group:{title:o.objectGroup.title},piggies:[]}),n[i].piggies.push({name_with_balance:o.name_with_balance,id:o.id})}o.objectGroup||n[0].piggies.push({name_with_balance:o.name_with_balance,id:o.id}),e.piggies.push(t.data[a])}var r={};Object.keys(n).sort().forEach((function(e){var t=n[e].group.title;r[t]=n[e]})),e.piggies=r,console.log(r)}))}}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return void 0!==this.transactionType&&"Transfer"===this.transactionType?n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.piggy_bank"))+"\n\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("select",{ref:"piggy",staticClass:"form-control",attrs:{name:"piggy_bank[]"},on:{input:e.handleInput}},e._l(this.piggies,(function(t,a){return n("optgroup",{attrs:{label:a}},e._l(t.piggies,(function(t){return n("option",{attrs:{label:t.name_with_balance},domProps:{value:t.id}},[e._v(e._s(t.name_with_balance))])})),0)})),0),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)]):e._e()}),[],!1,null,"8a36bd0c",null);t.a=i.exports},function(e,t,n){"use strict";var a=n(3),o=n.n(a),i=n(51),r={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(e){this.autocompleteItems=[],this.tags=e,this.$emit("input",this.tags)},clearTags:function(){this.tags=[]},hasError:function(){return this.error.length>0},initItems:function(){var e=this;if(!(this.tag.length<2)){var t=document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/tags?query=".concat(this.tag);clearTimeout(this.debounce),this.debounce=setTimeout((function(){o.a.get(t).then((function(t){e.autocompleteItems=t.data.map((function(e){return{text:e.tag}}))})).catch((function(){return console.warn("Oh. Something went wrong loading tags.")}))}),600)}}}},s=n(0),c=Object(s.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.tags"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("vue-tags-input",{attrs:{tags:e.tags,title:e.$t("firefly.tags"),classes:"form-input","autocomplete-items":e.autocompleteItems,"add-only-from-autocomplete":!1,placeholder:e.$t("firefly.tags")},on:{"tags-changed":e.update},model:{value:e.tag,callback:function(t){e.tag=t},expression:"tag"}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearTags}},[n("i",{staticClass:"fa fa-trash-o"})])])],1)]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)}),[],!1,null,"7b121252",null);t.a=c.exports},function(e,t,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+"api/v1/autocomplete/categories?query="},methods:{hasError:function(){return this.error.length>0},aSyncFunction:function(e,t){axios.get(this.categoryAutoCompleteURI+e).then((function(e){t(e.data)})).catch((function(e){}))},handleInput:function(e){"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(e){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(e){e.keyCode}}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.category"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{type:"text",placeholder:e.$t("firefly.category"),autocomplete:"off","data-role":"input",name:"category[]",title:e.$t("firefly.category")},domProps:{value:e.value},on:{input:e.handleInput,keypress:e.handleEnter,submit:function(e){e.preventDefault()}}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:e.clearCategory}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-function":e.aSyncFunction,target:e.target,"item-key":"name"},on:{input:e.selectedItem},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}}),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"02c70491",null);t.a=i.exports},function(e,t,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(e){this.$emit("input",this.$refs.amount.value)},clearAmount:function(){this.$refs.amount.value="",this.$emit("input",this.$refs.amount.value),this.$emit("clear:amount")},hasError:function(){return this.error.length>0},changeData:function(){var e=this.transactionType;e||this.source.name||this.destination.name?(null===e&&(e=""),""!==e||""===this.source.currency_name?""!==e||""===this.destination.currency_name?"withdrawal"!==e.toLowerCase()&&"reconciliation"!==e.toLowerCase()&&"transfer"!==e.toLowerCase()?("deposit"===e.toLowerCase()&&"debt"!==this.source.type.toLowerCase()&&"loan"!==this.source.type.toLowerCase()&&"mortgage"!==this.source.type.toLowerCase()&&$(this.$refs.cur).text(this.destination.currency_name),"deposit"!==e.toLowerCase()||"debt"!==this.source.type.toLowerCase()&&"loan"!==this.source.type.toLowerCase()&&"mortgage"!==this.source.type.toLowerCase()||$(this.$refs.cur).text(this.source.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()}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-8 col-sm-offset-4 text-sm"},[e._v("\n "+e._s(e.$t("firefly.amount"))+"\n ")]),e._v(" "),n("label",{ref:"cur",staticClass:"col-sm-4 control-label"}),e._v(" "),n("div",{staticClass:"col-sm-8"},[n("div",{staticClass:"input-group"},[n("input",{ref:"amount",staticClass:"form-control",attrs:{type:"number",step:"any",name:"amount[]",title:e.$t("firefly.amount"),autocomplete:"off",placeholder:e.$t("firefly.amount")},domProps:{value:e.value},on:{input:e.handleInput}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearAmount}},[n("i",{staticClass:"fa fa-trash-o"})])])])]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)}),[],!1,null,"440928b9",null);t.a=i.exports},function(e,t,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:{clearAmount:function(){this.$refs.amount.value="",this.$emit("input",this.$refs.amount.value),this.$emit("clear:amount")},hasError:function(){return this.error.length>0},handleInput:function(e){var t={amount:this.$refs.amount.value,currency_id:this.$refs.currency_select.value};this.$emit("input",t)},changeData:function(){this.enabledCurrencies=[];var e=this.destination.type?this.destination.type.toLowerCase():"invalid",t=this.source.type?this.source.type.toLowerCase():"invalid",n=this.transactionType?this.transactionType.toLowerCase():"invalid",a=["loan","debt","mortgage"],o=-1!==a.indexOf(t),i=-1!==a.indexOf(e);if("transfer"===n||i||o)for(var r in this.liability=!0,this.currencies)this.currencies.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294&&this.currencies[r].id===this.destination.currency_id&&this.enabledCurrencies.push(this.currencies[r]);else if("withdrawal"===n&&this.source&&!1===o)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 l in this.currencies)this.currencies.hasOwnProperty(l)&&/^0$|^[1-9]\d*$/.test(l)&&l<=4294967294&&this.enabledCurrencies.push(this.currencies[l])},loadCurrencies:function(){var e=this,t=document.getElementsByTagName("base")[0].href+"api/v1/currencies";axios.get(t,{}).then((function(t){for(var n in e.currencies=[{id:0,attributes:{name:e.no_currency,enabled:!0}}],e.enabledCurrencies=[{attributes:{name:e.no_currency,enabled:!0},id:0}],t.data.data)t.data.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&t.data.data[n].attributes.enabled&&(console.log(t.data.data[n].attributes),e.currencies.push(t.data.data[n]),e.enabledCurrencies.push(t.data.data[n]))}))}}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return this.enabledCurrencies.length>=1?n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-8 col-sm-offset-4 text-sm"},[e._v("\n "+e._s(e.$t("form.foreign_amount"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-4"},[n("select",{ref:"currency_select",staticClass:"form-control",attrs:{name:"foreign_currency[]"},on:{input:e.handleInput}},e._l(this.enabledCurrencies,(function(t){return n("option",{attrs:{label:t.attributes.name},domProps:{value:t.id,selected:e.value.currency_id===t.id}},[e._v("\n "+e._s(t.attributes.name)+"\n ")])})),0)]),e._v(" "),n("div",{staticClass:"col-sm-8"},[n("div",{staticClass:"input-group"},[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:e.value.amount},on:{input:e.handleInput}}):e._e(),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearAmount}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)]):e._e()}),[],!1,null,"2fa97eb6",null);t.a=i.exports},function(e,t,n){"use strict";var a={props:{source:String,destination:String,type:String},methods:{changeValue:function(){if(this.source&&this.destination){var e="";window.accountToTypes[this.source]?window.accountToTypes[this.source][this.destination]?e=window.accountToTypes[this.source][this.destination]:console.warn("User selected an impossible destination."):console.warn("User selected an impossible source."),""!==e&&(this.transactionType=e,this.sentence=this.$t("firefly.you_create_"+e.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"},o=n(0),i=Object(o.a)(a,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-group"},[t("div",{staticClass:"col-sm-12"},[""!==this.sentence?t("label",{staticClass:"control-label text-info"},[this._v("\n "+this._s(this.sentence)+"\n ")]):this._e()])])}),[],!1,null,"0539dc1a",null);t.a=i.exports},function(e,t,n){"use strict";var a={props:{inputName:String,inputDescription: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,this.updateACURI(this.allowedTypes.join(",")),this.name=this.accountName,this.triggerTransactionType()},watch:{transactionType:function(){this.triggerTransactionType()},accountName:function(){this.name=this.accountName},accountTypeFilters:function(){var e=this.accountTypeFilters.join(",");0===this.accountTypeFilters.length&&(e=this.defaultAccountTypeFilters.join(",")),this.updateACURI(e)},name:function(){}},methods:{aSyncFunction:function(e,t){axios.get(this.accountAutoCompleteURI+e).then((function(e){t(e.data)})).catch((function(e){}))},updateACURI:function(e){this.accountAutoCompleteURI=document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/accounts?types="+e+"&query=",console.log("Auto complete URI is now "+this.accountAutoCompleteURI)},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(e){void 0!==this.name&&("string"==typeof this.name&&this.$emit("clear:value"),this.$emit("select:account",this.name))},clearSource:function(e){this.name="",this.$emit("clear:value")},handleEnter:function(e){e.keyCode}}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.inputDescription)+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{type:"text",placeholder:e.inputDescription,"data-index":e.index,autocomplete:"off","data-role":"input",disabled:e.inputDisabled,name:e.inputName,title:e.inputDescription},on:{keypress:e.handleEnter,submit:function(e){e.preventDefault()}}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearSource}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-function":e.aSyncFunction,target:e.target,"item-key":"name_with_balance"},on:{input:e.selectedItem},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}}),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"7a24c7ce",null);t.a=i.exports},function(e,t,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(e){this.$emit("input",this.$refs.budget.value)},handleInput:function(e){this.$emit("input",this.$refs.budget.value)},hasError:function(){return this.error.length>0},loadBudgets:function(){var e=this,t=document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/budgets";axios.get(t,{}).then((function(t){for(var n in e.budgets=[{name:e.no_budget,id:0}],t.data)t.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&e.budgets.push(t.data[n])}))}}},o=n(0),i=Object(o.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return void 0===this.transactionType||"withdrawal"===this.transactionType||"Withdrawal"===this.transactionType||""===this.transactionType||null===this.transactionType?n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.budget"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[this.budgets.length>0?n("select",{directives:[{name:"model",rawName:"v-model",value:e.selected,expression:"selected"}],ref:"budget",staticClass:"form-control",attrs:{name:"budget[]",title:e.$t("firefly.budget")},on:{input:e.handleInput,change:[function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.selected=t.target.multiple?n:n[0]},e.signalChange]}},e._l(this.budgets,(function(t){return n("option",{attrs:{label:t.name},domProps:{value:t.id}},[e._v(e._s(t.name)+"\n ")])})),0):e._e(),e._v(" "),1===this.budgets.length?n("p",{staticClass:"help-block",domProps:{innerHTML:e._s(e.$t("firefly.no_budget_pointer"))}}):e._e(),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)]):e._e()}),[],!1,null,"e2ce9e94",null);t.a=i.exports},,,,,,,,,,,,,,,function(e,t,n){e.exports=n(93)},,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var a=n(52),o={name:"CreateTransaction",components:{},mounted:function(){var e=this;this.addTransactionToArray(),document.onreadystatechange=function(){"complete"===document.readyState&&(e.prefillSourceAccount(),e.prefillDestinationAccount())}},methods:{prefillSourceAccount:function(){0!==window.sourceId&&this.getAccount(window.sourceId,"source_account")},prefillDestinationAccount:function(){0!==destinationId&&this.getAccount(window.destinationId,"destination_account")},getAccount:function(e,t){var n=this,a="./api/v1/accounts/"+e+"?_token="+document.head.querySelector('meta[name="csrf-token"]').content;axios.get(a).then((function(e){var a=e.data.data.attributes;a.type=n.fullAccountType(a.type,a.liability_type),a.id=parseInt(e.data.data.id),"source_account"===t&&n.selectedSourceAccount(0,a),"destination_account"===t&&n.selectedDestinationAccount(0,a)})).catch((function(e){console.warn("Could not auto fill account"),console.warn(e)}))},fullAccountType:function(e,t){var n,a=e;"liabilities"===e&&(a=t);return null!==(n={asset:"Asset account",loan:"Loan",debt:"Debt",mortgage:"Mortgage"}[a])&&void 0!==n?n:a},convertData:function(){var e,t,n,a={transactions:[]};for(var o in this.transactions.length>1&&(a.group_title=this.group_title),e=this.transactionType?this.transactionType.toLowerCase():"invalid",t=this.transactions[0].source_account.type,n=this.transactions[0].destination_account.type,"invalid"===e&&["asset","Asset account","Loan","Debt","Mortgage"].includes(t)&&(e="withdrawal"),"invalid"===e&&["asset","Asset account","Loan","Debt","Mortgage"].includes(n)&&(e="deposit"),this.transactions)this.transactions.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294&&a.transactions.push(this.convertDataRow(this.transactions[o],o,e));return""===a.group_title&&a.transactions.length>1&&(a.group_title=a.transactions[0].description),a},convertDataRow:function(e,t,n){var a,o,i,r,s,c,l=[],u=null,d=null;for(var p in o=e.source_account.id,i=e.source_account.name,r=e.destination_account.id,s=e.destination_account.name,c=e.date,t>0&&(c=this.transactions[0].date),"withdrawal"===n&&""===s&&(r=window.cashAccountId),"deposit"===n&&""===i&&(o=window.cashAccountId),t>0&&("withdrawal"===n.toLowerCase()||"transfer"===n.toLowerCase())&&(o=this.transactions[0].source_account.id,i=this.transactions[0].source_account.name),t>0&&("deposit"===n.toLowerCase()||"transfer"===n.toLowerCase())&&(r=this.transactions[0].destination_account.id,s=this.transactions[0].destination_account.name),l=[],u=null,d=null,e.tags)e.tags.hasOwnProperty(p)&&/^0$|^[1-9]\d*$/.test(p)&&p<=4294967294&&l.push(e.tags[p].text);return""!==e.foreign_amount.amount&&0!==parseFloat(e.foreign_amount.amount)&&(u=e.foreign_amount.amount,d=e.foreign_amount.currency_id),d===e.currency_id&&(u=null,d=null),0===r&&(r=null),0===o&&(o=null),1===(e.amount.match(/\,/g)||[]).length&&(e.amount=e.amount.replace(",",".")),a={type:n,date:c,amount:e.amount,currency_id:e.currency_id,description:e.description,source_id:o,source_name:i,destination_id:r,destination_name:s,category_name:e.category,interest_date:e.custom_fields.interest_date,book_date:e.custom_fields.book_date,process_date:e.custom_fields.process_date,due_date:e.custom_fields.due_date,payment_date:e.custom_fields.payment_date,invoice_date:e.custom_fields.invoice_date,internal_reference:e.custom_fields.internal_reference,notes:e.custom_fields.notes},l.length>0&&(a.tags=l),null!==u&&(a.foreign_amount=u,a.foreign_currency_id=d),parseInt(e.budget)>0&&(a.budget_id=parseInt(e.budget)),parseInt(e.piggy_bank)>0&&(a.piggy_bank_id=parseInt(e.piggy_bank)),a},submit:function(e){var t=this,n="./api/v1/transactions?_token="+document.head.querySelector('meta[name="csrf-token"]').content,a=this.convertData(),o=$("#submitButton");o.prop("disabled",!0),axios.post(n,a).then((function(e){0===t.collectAttachmentData(e)&&t.redirectUser(e.data.data.id,e.data.data)})).catch((function(e){console.error("Error in transaction submission."),console.error(e),t.parseErrors(e.response.data),console.log("enable button again."),o.removeAttr("disabled")})),e&&e.preventDefault()},escapeHTML:function(e){var t=document.createElement("div");return t.innerText=e,t.innerHTML},redirectUser:function(e,t){var n=this,a=null===t.attributes.group_title?t.attributes.transactions[0].description:t.attributes.group_title;this.createAnother?(this.success_message=this.$t("firefly.transaction_stored_link",{ID:e,title:a}),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="+e+"&message=created"},collectAttachmentData:function(e){var t=this,n=e.data.data.id,a=[],o=[],i=$('input[name="attachments[]"]');for(var r in i)if(i.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294)for(var s in i[r].files)i[r].files.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294&&a.push({journal:e.data.data.attributes.transactions[r].transaction_journal_id,file:i[r].files[s]});var c=a.length,l=function(i){var r,s,l;a.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294&&(r=a[i],s=t,(l=new FileReader).onloadend=function(t){t.target.readyState===FileReader.DONE&&(o.push({name:a[i].file.name,journal:a[i].journal,content:new Blob([t.target.result])}),o.length===c&&s.uploadFiles(o,n,e.data.data))},l.readAsArrayBuffer(r.file))};for(var u in a)l(u);return c},uploadFiles:function(e,t,n){var a=this,o=e.length,i=0,r=function(r){if(e.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294){var s={filename:e[r].name,attachable_type:"TransactionJournal",attachable_id:e[r].journal};axios.post("./api/v1/attachments",s).then((function(s){var c="./api/v1/attachments/"+s.data.data.id+"/upload";axios.post(c,e[r].content).then((function(e){return++i===o&&a.redirectUser(t,n),!0})).catch((function(e){return console.error("Could not upload"),console.error(e),++i===o&&a.redirectUser(t,n),!1}))})).catch((function(e){return console.error("Could not create upload."),console.error(e),++i===o&&a.redirectUser(t,n),!1}))}};for(var s in e)r(s)},setDefaultErrors:function(){for(var e in this.transactions)this.transactions.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&(this.transactions[e].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(e){var t,n;for(var a in this.setDefaultErrors(),this.error_message="",void 0===e.errors?this.error_message=e.message:this.error_message=this.$t("firefly.errors_submission"),e.errors)if(e.errors.hasOwnProperty(a)){if("group_title"===a&&(this.group_title_errors=e.errors[a]),"group_title"!==a)switch(t=parseInt(a.split(".")[1]),n=a.split(".")[2]){case"amount":case"date":case"budget_id":case"description":case"tags":this.transactions[t].errors[n]=e.errors[a];break;case"source_name":case"source_id":this.transactions[t].errors.source_account=this.transactions[t].errors.source_account.concat(e.errors[a]);break;case"destination_name":case"destination_id":this.transactions[t].errors.destination_account=this.transactions[t].errors.destination_account.concat(e.errors[a]);break;case"foreign_amount":case"foreign_currency_id":this.transactions[t].errors.foreign_amount=this.transactions[t].errors.foreign_amount.concat(e.errors[a])}void 0!==this.transactions[t]&&(this.transactions[t].errors.source_account=Array.from(new Set(this.transactions[t].errors.source_account)),this.transactions[t].errors.destination_account=Array.from(new Set(this.transactions[t].errors.destination_account)))}},resetTransactions:function(){this.transactions=[]},addTransactionToArray:function(e){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 t=new Date;this.transactions[0].date=t.getFullYear()+"-"+("0"+(t.getMonth()+1)).slice(-2)+"-"+("0"+t.getDate()).slice(-2)}e&&e.preventDefault()},setTransactionType:function(e){this.transactionType=e},deleteTransaction:function(e,t){for(var n in t.preventDefault(),this.transactions)this.transactions.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n);for(var a in this.transactions.splice(e,1),this.transactions)this.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)},limitSourceType:function(e){var t;for(t=0;t1?n("span",[e._v(e._s(e.$t("firefly.split"))+" "+e._s(a+1)+" / "+e._s(e.transactions.length))]):e._e(),e._v(" "),1===e.transactions.length?n("span",[e._v(e._s(e.$t("firefly.transaction_journal_information")))]):e._e()]),e._v(" "),e.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(t){return e.deleteTransaction(a,t)}}},[n("i",{staticClass:"fa fa-trash"})])]):e._e()]),e._v(" "),n("div",{staticClass:"box-body"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-4"},[n("transaction-description",{attrs:{index:a,error:t.errors.description},model:{value:t.description,callback:function(n){e.$set(t,"description",n)},expression:"transaction.description"}}),e._v(" "),n("account-select",{attrs:{inputName:"source[]",inputDescription:e.$t("firefly.source_account"),accountName:t.source_account.name,accountTypeFilters:t.source_account.allowed_types,defaultAccountTypeFilters:t.source_account.default_allowed_types,transactionType:e.transactionType,index:a,error:t.errors.source_account},on:{"clear:value":function(t){return e.clearSource(a)},"select:account":function(t){return e.selectedSourceAccount(a,t)}}}),e._v(" "),n("account-select",{attrs:{inputName:"destination[]",inputDescription:e.$t("firefly.destination_account"),accountName:t.destination_account.name,accountTypeFilters:t.destination_account.allowed_types,defaultAccountTypeFilters:t.destination_account.default_allowed_types,transactionType:e.transactionType,index:a,error:t.errors.destination_account},on:{"clear:value":function(t){return e.clearDestination(a)},"select:account":function(t){return e.selectedDestinationAccount(a,t)}}}),e._v(" "),0===a?n("standard-date",{attrs:{index:a,error:t.errors.date},model:{value:t.date,callback:function(n){e.$set(t,"date",n)},expression:"transaction.date"}}):e._e(),e._v(" "),0===a?n("div",[n("transaction-type",{attrs:{source:t.source_account.type,destination:t.destination_account.type},on:{"set:transactionType":function(t){return e.setTransactionType(t)},"act:limitSourceType":function(t){return e.limitSourceType(t)},"act:limitDestinationType":function(t){return e.limitDestinationType(t)}}})],1):e._e()],1),e._v(" "),n("div",{staticClass:"col-lg-4"},[n("amount",{attrs:{source:t.source_account,destination:t.destination_account,error:t.errors.amount,transactionType:e.transactionType},model:{value:t.amount,callback:function(n){e.$set(t,"amount",n)},expression:"transaction.amount"}}),e._v(" "),n("foreign-amount",{attrs:{source:t.source_account,destination:t.destination_account,transactionType:e.transactionType,error:t.errors.foreign_amount,title:e.$t("form.foreign_amount")},model:{value:t.foreign_amount,callback:function(n){e.$set(t,"foreign_amount",n)},expression:"transaction.foreign_amount"}})],1),e._v(" "),n("div",{staticClass:"col-lg-4"},[n("budget",{attrs:{transactionType:e.transactionType,error:t.errors.budget_id,no_budget:e.$t("firefly.none_in_select_list")},model:{value:t.budget,callback:function(n){e.$set(t,"budget",n)},expression:"transaction.budget"}}),e._v(" "),n("category",{attrs:{transactionType:e.transactionType,error:t.errors.category},model:{value:t.category,callback:function(n){e.$set(t,"category",n)},expression:"transaction.category"}}),e._v(" "),n("piggy-bank",{attrs:{transactionType:e.transactionType,error:t.errors.piggy_bank,no_piggy_bank:e.$t("firefly.no_piggy_bank")},model:{value:t.piggy_bank,callback:function(n){e.$set(t,"piggy_bank",n)},expression:"transaction.piggy_bank"}}),e._v(" "),n("tags",{attrs:{error:t.errors.tags},model:{value:t.tags,callback:function(n){e.$set(t,"tags",n)},expression:"transaction.tags"}}),e._v(" "),n("custom-transaction-fields",{attrs:{error:t.errors.custom_errors},model:{value:t.custom_fields,callback:function(n){e.$set(t,"custom_fields",n)},expression:"transaction.custom_fields"}})],1)])]),e._v(" "),e.transactions.length-1===a?n("div",{staticClass:"box-footer"},[n("button",{staticClass:"split_add_btn btn btn-default",attrs:{type:"button"},on:{click:e.addTransactionToArray}},[e._v(e._s(e.$t("firefly.add_another_split")))])]):e._e()])])])})),0),e._v(" "),e.transactions.length>1?n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-6 col-md-6 col-sm-12 col-xs-12"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title"},[e._v("\n "+e._s(e.$t("firefly.split_transaction_title"))+"\n ")])]),e._v(" "),n("div",{staticClass:"box-body"},[n("group-description",{attrs:{error:e.group_title_errors},model:{value:e.group_title,callback:function(t){e.group_title=t},expression:"group_title"}})],1)])])]):e._e(),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-6 col-md-6 col-sm-12 col-xs-12"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title"},[e._v("\n "+e._s(e.$t("firefly.submission"))+"\n ")])]),e._v(" "),n("div",{staticClass:"box-body"},[n("div",{staticClass:"checkbox"},[n("label",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.createAnother,expression:"createAnother"}],attrs:{name:"create_another",type:"checkbox"},domProps:{checked:Array.isArray(e.createAnother)?e._i(e.createAnother,null)>-1:e.createAnother},on:{change:function(t){var n=e.createAnother,a=t.target,o=!!a.checked;if(Array.isArray(n)){var i=e._i(n,null);a.checked?i<0&&(e.createAnother=n.concat([null])):i>-1&&(e.createAnother=n.slice(0,i).concat(n.slice(i+1)))}else e.createAnother=o}}}),e._v("\n "+e._s(e.$t("firefly.create_another"))+"\n ")])]),e._v(" "),n("div",{staticClass:"checkbox"},[n("label",{class:{"text-muted":!1===this.createAnother}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.resetFormAfter,expression:"resetFormAfter"}],attrs:{disabled:!1===this.createAnother,name:"reset_form",type:"checkbox"},domProps:{checked:Array.isArray(e.resetFormAfter)?e._i(e.resetFormAfter,null)>-1:e.resetFormAfter},on:{change:function(t){var n=e.resetFormAfter,a=t.target,o=!!a.checked;if(Array.isArray(n)){var i=e._i(n,null);a.checked?i<0&&(e.resetFormAfter=n.concat([null])):i>-1&&(e.resetFormAfter=n.slice(0,i).concat(n.slice(i+1)))}else e.resetFormAfter=o}}}),e._v("\n "+e._s(e.$t("firefly.reset_after"))+"\n\n ")])])]),e._v(" "),n("div",{staticClass:"box-footer"},[n("div",{staticClass:"btn-group"},[n("button",{staticClass:"btn btn-success",attrs:{id:"submitButton"},on:{click:e.submit}},[e._v(e._s(e.$t("firefly.submit")))])])])])])])])}),[],!1,null,"6c963051",null).exports,s=n(53),c=n(54),l=n(55),u=n(56),d=n(57),p=n(58),_=n(59),A=n(60),f=n(61),h=n(62),g=n(63),m=n(64),v=n(65),y=n(66),b=n(67);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",l.a),Vue.component("standard-date",u.a),Vue.component("group-description",d.a),Vue.component("transaction-description",p.a),Vue.component("custom-transaction-fields",_.a),Vue.component("piggy-bank",A.a),Vue.component("tags",f.a),Vue.component("category",h.a),Vue.component("amount",g.a),Vue.component("foreign-amount",m.a),Vue.component("transaction-type",v.a),Vue.component("account-select",y.a),Vue.component("create-transaction",r);var k=n(29),w={};new Vue({i18n:k,el:"#create_transaction",render:function(e){return e(r,{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 7da276f9ec..d24f7d277c 100644 --- a/public/v1/js/edit_transaction.js +++ b/public/v1/js/edit_transaction.js @@ -1,2 +1,2 @@ /*! For license information please see edit_transaction.js.LICENSE.txt */ -!function(e){var t={};function n(a){if(t[a])return t[a].exports;var i=t[a]={i:a,l:!1,exports:{}};return e[a].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(a,i,function(t){return e[t]}.bind(null,i));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=83)}([function(e,t,n){"use strict";function a(e,t,n,a,i,o,r,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),a&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),r?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},l._ssrRegister=c):i&&(c=s?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";var a=n(5),i=n(12),o=Object.prototype.toString;function r(e){return"[object Array]"===o.call(e)}function s(e){return null!==e&&"object"==typeof e}function c(e){return"[object Function]"===o.call(e)}function l(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),r(e))for(var n=0,a=e.length;n=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},a.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),a.forEach(["post","put","patch"],(function(e){c.headers[e]=a.merge(o)})),e.exports=c}).call(this,n(10))},function(e,t,n){e.exports=n(11)},,function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),a=0;a1)for(var n=1;n=0)return;r[t]="set-cookie"===t?(r[t]?r[t]:[]).concat([n]):r[t]?r[t]+", "+n:n}})),r):r}},function(e,t,n){"use strict";var a=n(1);e.exports=a.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var a=e;return t&&(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 e=i(window.location.href),function(t){var n=a.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var a=n(1);e.exports=a.isStandardBrowserEnv()?{write:function(e,t,n,i,o,r){var s=[];s.push(e+"="+encodeURIComponent(t)),a.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),a.isString(i)&&s.push("path="+i),a.isString(o)&&s.push("domain="+o),!0===r&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var a=n(1);function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){a.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},function(e,t,n){"use strict";var a=n(1),i=n(23),o=n(8),r=n(2),s=n(24),c=n(25);function l(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return l(e),e.baseURL&&!s(e.url)&&(e.url=c(e.baseURL,e.url)),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=a.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),a.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||r.adapter)(e).then((function(t){return l(e),t.data=i(t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(l(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,n){"use strict";var a=n(1);e.exports=function(e,t,n){return a.forEach(n,(function(n){e=n(e,t)})),e}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var a=n(9);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new a(e),t(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,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(e,t,n){e.exports=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{cs:n(30),de:n(31),en:n(32),es:n(33),el:n(34),fr:n(35),hu:n(36),id:n(37),it:n(38),nl:n(39),no:n(40),pl:n(41),fi:n(42),"pt-br":n(43),ro:n(44),ru:n(45),zh:n(46),"zh-tw":n(47),"zh-cn":n(48),sv:n(49),vi:n(50)}})},function(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"Jak to jde?","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_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"Informace o transakci","no_budget_pointer":"Zdá se, že zatím nemáte žádné rozpočty. Na stránce rozpočty byste nějaké měli vytvořit. Rozpočty mohou pomoci udržet si přehled ve výdajích.","source_account":"Zdrojový účet","hidden_fields_preferences":"You can enable more transaction options in your settings.","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":"(žádná pokladnička)","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.","edit":"Upravit","delete":"Odstranit","name":"Název","profile_whoops":"Whoops!","profile_something_wrong":"Something went wrong!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Create New Client","profile_oauth_create_client":"Create Client","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Something your users will recognize and trust.","profile_oauth_redirect_url":"Redirect URL","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Revoke","profile_personal_access_tokens":"Personal Access Tokens","profile_personal_access_token":"Personal Access Token","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Create new token","profile_create_token":"Create token","profile_create":"Create","profile_save_changes":"Save changes","default_group_title_name":"(ungrouped)","piggy_bank":"Pokladnička"},"form":{"interest_date":"Úrokové datum","book_date":"Datum rezervace","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(e){e.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_stored_link":"Buchung #{ID} (\\"{title}\\") wurde gespeichert.","transaction_updated_link":"Buchung#{ID} wurde aktualisiert.","transaction_new_stored_link":"Buchung #{ID} wurde gespeichert.","transaction_journal_information":"Transaktionsinformationen","no_budget_pointer":"Sie scheinen noch keine Kostenrahmen festgelegt zu haben. Sie sollten einige davon auf der Seite „Kostenrahmen” anlegen. Kostenrahmen können Ihnen dabei helfen, den Überblick über die Ausgaben zu behalten.","source_account":"Quellkonto","hidden_fields_preferences":"Sie können weitere Buchungsoptionen in Ihren Einstellungen aktivieren.","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.","edit":"Bearbeiten","delete":"Löschen","name":"Name","profile_whoops":"Huch!","profile_something_wrong":"Ein Problem ist aufgetreten!","profile_try_again":"Ein Problem ist aufgetreten. Bitte versuchen Sie es erneut.","profile_oauth_clients":"OAuth-Clients","profile_oauth_no_clients":"Sie haben noch keine OAuth-Clients erstellt.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client-ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Geheimnis","profile_oauth_create_new_client":"Neuen Client erstellen","profile_oauth_create_client":"Client erstellen","profile_oauth_edit_client":"Client bearbeiten","profile_oauth_name_help":"Etwas das Ihre Nutzer erkennen und dem sie vertrauen.","profile_oauth_redirect_url":"Weiterleitungs-URL","profile_oauth_redirect_url_help":"Die Authorisierungs-Callback-URL Ihrer Anwendung.","profile_authorized_apps":"Autorisierte Anwendungen","profile_authorized_clients":"Autorisierte Clients","profile_scopes":"Bereiche","profile_revoke":"Widerrufen","profile_personal_access_tokens":"Persönliche Zugangs-Tokens","profile_personal_access_token":"Persönlicher Zugangs-Token","profile_personal_access_token_explanation":"Hier ist Ihr neues persönlicher Zugangsschlüssel. Dies ist das einzige Mal, dass er angezeigt wird, also verlieren Sie ihn nicht! Sie können dieses Token jetzt verwenden, um API-Anfragen zu stellen.","profile_no_personal_access_token":"Sie haben keine persönlichen Zugangsschlüssel erstellt.","profile_create_new_token":"Neuen Schlüssel erstellen","profile_create_token":"Schlüssel erstellen","profile_create":"Erstellen","profile_save_changes":"Änderungen speichern","default_group_title_name":"(ohne Gruppierung)","piggy_bank":"Sparschwein"},"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(e){e.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_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"Transaction information","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Source account","hidden_fields_preferences":"You can enable more transaction options in your settings.","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.","edit":"Edit","delete":"Delete","name":"Name","profile_whoops":"Whoops!","profile_something_wrong":"Something went wrong!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Create New Client","profile_oauth_create_client":"Create Client","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Something your users will recognize and trust.","profile_oauth_redirect_url":"Redirect URL","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Revoke","profile_personal_access_tokens":"Personal Access Tokens","profile_personal_access_token":"Personal Access Token","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Create new token","profile_create_token":"Create token","profile_create":"Create","profile_save_changes":"Save changes","default_group_title_name":"(ungrouped)","piggy_bank":"Piggy bank"},"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(e){e.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_stored_link":"La transacción #{ID} (\\"{title}\\") ha sido almacenada.","transaction_updated_link":"La transacción #{ID} ha sido actualizada.","transaction_new_stored_link":"La transacción #{ID} ha sido guardada.","transaction_journal_information":"Información de transacción","no_budget_pointer":"Parece que aún no tiene presupuestos. Debe crear algunos en la página presupuestos. Los presupuestos pueden ayudarle a realizar un seguimiento de los gastos.","source_account":"Cuenta origen","hidden_fields_preferences":"Puede habilitar más opciones de transacción en sus ajustes .","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.","edit":"Editar","delete":"Eliminar","name":"Nombre","profile_whoops":"¡Ups!","profile_something_wrong":"¡Algo salió mal!","profile_try_again":"Algo salió mal. Por favor, vuelva a intentarlo.","profile_oauth_clients":"Clientes de OAuth","profile_oauth_no_clients":"No ha creado ningún cliente OAuth.","profile_oauth_clients_header":"Clientes","profile_oauth_client_id":"ID del cliente","profile_oauth_client_name":"Nombre","profile_oauth_client_secret":"Secreto","profile_oauth_create_new_client":"Crear un Nuevo Cliente","profile_oauth_create_client":"Crear Cliente","profile_oauth_edit_client":"Editar Cliente","profile_oauth_name_help":"Algo que sus usuarios reconocerán y confiarán.","profile_oauth_redirect_url":"Redirigir URL","profile_oauth_redirect_url_help":"La URL de devolución de autorización de su aplicación.","profile_authorized_apps":"Aplicaciones autorizadas","profile_authorized_clients":"Clientes autorizados","profile_scopes":"Ámbitos","profile_revoke":"Revocar","profile_personal_access_tokens":"Tokens de acceso personal","profile_personal_access_token":"Token de acceso personal","profile_personal_access_token_explanation":"Aquí está su nuevo token de acceso personal. Esta es la única vez que se mostrará así que ¡no lo pierda! Ahora puede usar este token para hacer solicitudes de la API.","profile_no_personal_access_token":"No ha creado ningún token de acceso personal.","profile_create_new_token":"Crear nuevo token","profile_create_token":"Crear token","profile_create":"Crear","profile_save_changes":"Guardar cambios","default_group_title_name":"(sin agrupación)","piggy_bank":"Alcancía"},"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(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"Τι παίζει;","flash_error":"Σφάλμα!","flash_success":"Επιτυχία!","close":"Κλείσιμο","split_transaction_title":"Περιγραφή της συναλλαγής με διαχωρισμό","errors_submission":"Υπήρξε κάποιο λάθος με την υποβολή σας. Ελέγξτε τα παρακάτω σφάλματα.","split":"Διαχωρισμός","transaction_stored_link":"Η συναλλαγή #{ID} (\\"{title}\\") έχει αποθηκευτεί.","transaction_updated_link":"Η συναλλαγή #{ID} έχει ενημερωθεί.","transaction_new_stored_link":"Η συναλλαγή #{ID} έχει αποθηκευτεί.","transaction_journal_information":"Πληροφορίες συναλλαγής","no_budget_pointer":"Φαίνεται πως δεν έχετε ορίσει προϋπολογισμούς ακόμη. Πρέπει να δημιουργήσετε κάποιον στη σελίδα προϋπολογισμών. Οι προϋπολογισμοί σας βοηθούν να επιβλέπετε τις δαπάνες σας.","source_account":"Λογαριασμός προέλευσης","hidden_fields_preferences":"Μπορείτε να ενεργοποιήσετε περισσότερες επιλογές συναλλαγών στις ρυθμίσεις.","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_create_transfer":"Δημιουργείτε μια μεταφορά.","you_create_deposit":"Δημιουργείτε μια κατάθεση.","edit":"Επεξεργασία","delete":"Διαγραφή","name":"Όνομα","profile_whoops":"Ούπς!","profile_something_wrong":"Κάτι πήγε στραβά!","profile_try_again":"Κάτι πήγε στραβά. Παρακαλώ προσπαθήστε ξανά.","profile_oauth_clients":"Πελάτες OAuth","profile_oauth_no_clients":"Δεν έχετε δημιουργήσει πελάτες OAuth.","profile_oauth_clients_header":"Πελάτες","profile_oauth_client_id":"Αναγνωριστικό πελάτη","profile_oauth_client_name":"Όνομα","profile_oauth_client_secret":"Μυστικό","profile_oauth_create_new_client":"Δημιουργία νέου πελάτη","profile_oauth_create_client":"Δημιουργία πελάτη","profile_oauth_edit_client":"Επεξεργασία πελάτη","profile_oauth_name_help":"Κάτι που οι χρήστες σας θα αναγνωρίζουν και θα εμπιστεύονται.","profile_oauth_redirect_url":"URL ανακατεύθυνσης","profile_oauth_redirect_url_help":"To authorization callback URL της εφαρμογής σας.","profile_authorized_apps":"Εξουσιοδοτημένες εφαρμογές","profile_authorized_clients":"Εξουσιοδοτημένοι πελάτες","profile_scopes":"Πεδία εφαρμογής","profile_revoke":"Ανάκληση","profile_personal_access_tokens":"Διακριτικά προσωπικής πρόσβασης","profile_personal_access_token":"Διακριτικά προσωπικής πρόσβασης","profile_personal_access_token_explanation":"Εδώ είναι το νέο διακριτικό προσωπικής πρόσβασης. Αυτή είναι η μόνη φορά που θα εμφανιστεί, οπότε μη το χάσετε! Μπορείτε να χρησιμοποιείτε αυτό το διακριτικό για να κάνετε κλήσεις API.","profile_no_personal_access_token":"Δεν έχετε δημιουργήσει προσωπικά διακριτικά πρόσβασης.","profile_create_new_token":"Δημιουργία νέου διακριτικού","profile_create_token":"Δημιουργία διακριτικού","profile_create":"Δημιουργία","profile_save_changes":"Αποθήκευση αλλαγών","default_group_title_name":"(χωρίς ομάδα)","piggy_bank":"Κουμπαράς"},"form":{"interest_date":"Ημερομηνία τοκισμού","book_date":"Ημερομηνία εγγραφής","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","foreign_amount":"Ποσό σε ξένο νόμισμα","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης","internal_reference":"Εσωτερική αναφορά"},"config":{"html_language":"el"}}')},function(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"Quoi de neuf ?","flash_error":"Erreur !","flash_success":"Super !","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_stored_link":"L\'opération n°{ID} (\\"{title}\\") a été enregistrée.","transaction_updated_link":"L\'opération n°{ID} a été mise à jour.","transaction_new_stored_link":"L\'opération n°{ID} a été enregistrée.","transaction_journal_information":"Informations sur les opérations","no_budget_pointer":"Vous semblez n’avoir encore aucun budget. Vous devriez en créer un sur la page des budgets. Les budgets peuvent vous aider à garder une trace des dépenses.","source_account":"Compte source","hidden_fields_preferences":"Vous pouvez activer plus d\'options d\'opérations dans vos paramètres.","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.","edit":"Modifier","delete":"Supprimer","name":"Nom","profile_whoops":"Oups !","profile_something_wrong":"Une erreur s\'est produite !","profile_try_again":"Une erreur s’est produite. Merci d’essayer à nouveau.","profile_oauth_clients":"Clients OAuth","profile_oauth_no_clients":"Vous n’avez pas encore créé de client OAuth.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Identifiant","profile_oauth_client_name":"Nom","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Créer un nouveau client","profile_oauth_create_client":"Créer un client","profile_oauth_edit_client":"Modifier le client","profile_oauth_name_help":"Quelque chose que vos utilisateurs reconnaîtront et qui inspirera confiance.","profile_oauth_redirect_url":"URL de redirection","profile_oauth_redirect_url_help":"URL de callback de votre application.","profile_authorized_apps":"Applications autorisées","profile_authorized_clients":"Clients autorisés","profile_scopes":"Permissions","profile_revoke":"Révoquer","profile_personal_access_tokens":"Jetons d\'accès personnels","profile_personal_access_token":"Jeton d\'accès personnel","profile_personal_access_token_explanation":"Voici votre nouveau jeton d’accès personnel. Ceci est la seule fois où vous pourrez le voir, ne le perdez pas ! Vous pouvez dès à présent utiliser ce jeton pour lancer des requêtes avec l’API.","profile_no_personal_access_token":"Vous n’avez pas encore créé de jeton d’accès personnel.","profile_create_new_token":"Créer un nouveau jeton","profile_create_token":"Créer un jeton","profile_create":"Créer","profile_save_changes":"Enregistrer les modifications","default_group_title_name":"(Sans groupement)","piggy_bank":"Tirelire"},"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(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"Mi a helyzet?","flash_error":"Hiba!","flash_success":"Siker!","close":"Bezárás","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"Hiba történt a beküldés során. Kérem, javítsa az alábbi hibákat.","split":"Felosztás","transaction_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"Tranzakciós információk","no_budget_pointer":"Úgy tűnik, még nincsenek költségkeretek. Költségkereteket a költségkeretek oldalon lehet létrehozni. A költségkeretek segítenek nyomon követni a költségeket.","source_account":"Forrás számla","hidden_fields_preferences":"A beállításokban több tranzakciós beállítási lehetőség is megadható.","destination_account":"Célszámla","add_another_split":"Másik felosztás hozzáadása","submission":"Feliratkozás","create_another":"A tárolás után térjen vissza ide új létrehozásához.","reset_after":"Űrlap törlése a beküldés után","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":"Tranzakció frissítése","after_update_create_another":"A frissítés után térjen vissza ide a szerkesztés folytatásához.","store_as_new":"Tárolás új tranzakcióként frissítés helyett.","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":"(nincs malacpersely)","description":"Leírás","split_transaction_title_help":"Felosztott tranzakció létrehozásakor meg kell adni egy globális leírást a tranzakció összes felosztása részére.","destination_account_reconciliation":"Nem lehet szerkeszteni egy egyeztetett tranzakció célszámláját.","source_account_reconciliation":"Nem lehet szerkeszteni egy egyeztetett tranzakció forrásszámláját.","budget":"Költségkeret","you_create_withdrawal":"Egy költség létrehozása.","you_create_transfer":"Egy átutalás létrehozása.","you_create_deposit":"Egy bevétel létrehozása.","edit":"Szerkesztés","delete":"Törlés","name":"Név","profile_whoops":"Whoops!","profile_something_wrong":"Something went wrong!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Create New Client","profile_oauth_create_client":"Create Client","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Something your users will recognize and trust.","profile_oauth_redirect_url":"Redirect URL","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Revoke","profile_personal_access_tokens":"Personal Access Tokens","profile_personal_access_token":"Personal Access Token","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Create new token","profile_create_token":"Create token","profile_create":"Create","profile_save_changes":"Save changes","default_group_title_name":"(ungrouped)","piggy_bank":"Malacpersely"},"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":"Külföldi összeg","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma","internal_reference":"Belső hivatkozás"},"config":{"html_language":"hu"}}')},function(e){e.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_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"Informasi transaksi","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Source account","hidden_fields_preferences":"You can enable more transaction options in your settings.","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.","edit":"Edit","delete":"Menghapus","name":"Nama","profile_whoops":"Whoops!","profile_something_wrong":"Something went wrong!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Create New Client","profile_oauth_create_client":"Create Client","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Something your users will recognize and trust.","profile_oauth_redirect_url":"Redirect URL","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Revoke","profile_personal_access_tokens":"Personal Access Tokens","profile_personal_access_token":"Personal Access Token","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Create new token","profile_create_token":"Create token","profile_create":"Create","profile_save_changes":"Save changes","default_group_title_name":"(ungrouped)","piggy_bank":"Celengan"},"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(e){e.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_stored_link":"La transazione #{ID} (\\"{title}\\") è stata salvata.","transaction_updated_link":"La transazione #{ID} è stata aggiornata.","transaction_new_stored_link":"La transazione #{ID} è stata salvata.","transaction_journal_information":"Informazioni transazione","no_budget_pointer":"Sembra che tu non abbia ancora dei budget. Dovresti crearne alcuni nella pagina dei budget. I budget possono aiutarti a tenere traccia delle spese.","source_account":"Conto di origine","hidden_fields_preferences":"Puoi abilitare maggiori opzioni per le transazioni nelle tue impostazioni.","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":"Importo","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.","edit":"Modifica","delete":"Elimina","name":"Nome","profile_whoops":"Oops!","profile_something_wrong":"Qualcosa non ha funzionato!","profile_try_again":"Qualcosa non ha funzionato. Riprova.","profile_oauth_clients":"Client OAuth","profile_oauth_no_clients":"Non hai creato nessun client OAuth.","profile_oauth_clients_header":"Client","profile_oauth_client_id":"ID client","profile_oauth_client_name":"Nome","profile_oauth_client_secret":"Segreto","profile_oauth_create_new_client":"Crea nuovo client","profile_oauth_create_client":"Crea client","profile_oauth_edit_client":"Modifica client","profile_oauth_name_help":"Qualcosa di cui i tuoi utenti potranno riconoscere e fidarsi.","profile_oauth_redirect_url":"URL di reindirizzamento","profile_oauth_redirect_url_help":"L\'URL di callback dell\'autorizzazione della tua applicazione.","profile_authorized_apps":"Applicazioni autorizzate","profile_authorized_clients":"Client autorizzati","profile_scopes":"Ambiti","profile_revoke":"Revoca","profile_personal_access_tokens":"Token di acceso personale","profile_personal_access_token":"Token di acceso personale","profile_personal_access_token_explanation":"Ecco il tuo nuovo token di accesso personale. Questa è l\'unica volta che ti viene mostrato per cui non perderlo! Da adesso puoi utilizzare questo token per effettuare delle richieste API.","profile_no_personal_access_token":"Non hai creato alcun token di accesso personale.","profile_create_new_token":"Crea nuovo token","profile_create_token":"Crea token","profile_create":"Crea","profile_save_changes":"Salva modifiche","default_group_title_name":"(non in un gruppo)","piggy_bank":"Salvadanaio"},"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(e){e.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_stored_link":"Transactie #{ID} (\\"{title}\\") is opgeslagen.","transaction_updated_link":"Transactie #{ID} is geüpdatet.","transaction_new_stored_link":"Transactie #{ID} is opgeslagen.","transaction_journal_information":"Transactieinformatie","no_budget_pointer":"Je hebt nog geen budgetten. Maak er een aantal op de budgetten-pagina. Met budgetten kan je je uitgaven beter bijhouden.","source_account":"Bronrekening","hidden_fields_preferences":"Je kan meer transactieopties inschakelen in je instellingen.","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.","edit":"Wijzig","delete":"Verwijder","name":"Naam","profile_whoops":"Oeps!","profile_something_wrong":"Er is iets mis gegaan!","profile_try_again":"Er is iets misgegaan. Probeer het nogmaals.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"Je hebt nog geen OAuth-clients aangemaakt.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Naam","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Nieuwe client aanmaken","profile_oauth_create_client":"Client aanmaken","profile_oauth_edit_client":"Client bewerken","profile_oauth_name_help":"Iets dat je gebruikers herkennen en vertrouwen.","profile_oauth_redirect_url":"Redirect-URL","profile_oauth_redirect_url_help":"De authorisatie-callback-url van jouw applicatie.","profile_authorized_apps":"Geautoriseerde toepassingen","profile_authorized_clients":"Geautoriseerde clients","profile_scopes":"Scopes","profile_revoke":"Intrekken","profile_personal_access_tokens":"Persoonlijke toegangstokens","profile_personal_access_token":"Persoonlijk toegangstoken","profile_personal_access_token_explanation":"Hier is je nieuwe persoonlijke toegangstoken. Dit is de enige keer dat deze getoond wordt dus verlies deze niet! Je kan deze toegangstoken gebruiken om API-aanvragen te maken.","profile_no_personal_access_token":"Je hebt nog geen persoonlijke toegangstokens aangemaakt.","profile_create_new_token":"Nieuwe token aanmaken","profile_create_token":"Token aanmaken","profile_create":"Creër","profile_save_changes":"Aanpassingen opslaan","default_group_title_name":"(ongegroepeerd)","piggy_bank":"Spaarpotje"},"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(e){e.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(e){e.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_stored_link":"Transakcja #{ID} (\\"{title}\\") została zapisana.","transaction_updated_link":"Transakcja #{ID} została zaktualizowana.","transaction_new_stored_link":"Transakcja #{ID} została zapisana.","transaction_journal_information":"Informacje o transakcji","no_budget_pointer":"Wygląda na to że nie masz jeszcze budżetów. Powinieneś utworzyć kilka na stronie budżety. Budżety mogą Ci pomóc śledzić wydatki.","source_account":"Konto źródłowe","hidden_fields_preferences":"Możesz włączyć więcej opcji transakcji w swoich ustawieniach.","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":"Tworzysz wydatek.","you_create_transfer":"Tworzysz przelew.","you_create_deposit":"Tworzysz wpłatę.","edit":"Modyfikuj","delete":"Usuń","name":"Nazwa","profile_whoops":"Uuuups!","profile_something_wrong":"Coś poszło nie tak!","profile_try_again":"Coś poszło nie tak. Spróbuj ponownie.","profile_oauth_clients":"Klienci OAuth","profile_oauth_no_clients":"Nie utworzyłeś żadnych klientów OAuth.","profile_oauth_clients_header":"Klienci","profile_oauth_client_id":"ID klienta","profile_oauth_client_name":"Nazwa","profile_oauth_client_secret":"Sekretny klucz","profile_oauth_create_new_client":"Utwórz nowego klienta","profile_oauth_create_client":"Utwórz klienta","profile_oauth_edit_client":"Edytuj klienta","profile_oauth_name_help":"Coś, co Twoi użytkownicy będą rozpoznawać i ufać.","profile_oauth_redirect_url":"Przekierowanie URL","profile_oauth_redirect_url_help":"Adres URL wywołania zwrotnego autoryzacji aplikacji.","profile_authorized_apps":"Autoryzowane aplikacje","profile_authorized_clients":"Autoryzowani klienci","profile_scopes":"Zakresy","profile_revoke":"Unieważnij","profile_personal_access_tokens":"Osobiste tokeny dostępu","profile_personal_access_token":"Osobisty token dostępu","profile_personal_access_token_explanation":"Oto twój nowy osobisty token dostępu. Jest to jedyny raz, gdy zostanie wyświetlony, więc nie zgub go! Możesz teraz użyć tego tokenu, aby wykonać zapytania API.","profile_no_personal_access_token":"Nie utworzyłeś żadnych osobistych tokenów.","profile_create_new_token":"Utwórz nowy token","profile_create_token":"Utwórz token","profile_create":"Utwórz","profile_save_changes":"Zapisz zmiany","default_group_title_name":"(bez grupy)","piggy_bank":"Skarbonka"},"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(e){e.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_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"Tapahtumatiedot","no_budget_pointer":"Sinulla ei näyttäisi olevan vielä yhtään budjettia. Sinun kannattaisi luoda niitä budjetit-sivulla. Budjetit voivat auttaa sinua pitämään kirjaa kuluistasi.","source_account":"Lähdetili","hidden_fields_preferences":"Voit aktivoida lisää tapahtumavalintoja asetuksissa.","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.","edit":"Muokkaa","delete":"Poista","name":"Nimi","profile_whoops":"Hupsis!","profile_something_wrong":"Jokin meni vikaan!","profile_try_again":"Jokin meni vikaan. Yritä uudelleen.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Asiakasohjelmat","profile_oauth_client_id":"Asiakastunnus","profile_oauth_client_name":"Nimi","profile_oauth_client_secret":"Salaisuus","profile_oauth_create_new_client":"Luo Uusi Asiakas","profile_oauth_create_client":"Luo Asiakas","profile_oauth_edit_client":"Muokkaa asiakasta","profile_oauth_name_help":"Jotain käyttäjillesi tuttua ja luotettavaa.","profile_oauth_redirect_url":"URL:n uudelleenohjaus","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Peruuta","profile_personal_access_tokens":"Henkilökohtaiset Käyttöoikeuskoodit","profile_personal_access_token":"Henkilökohtainen Käyttöoikeuskoodi","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Luo uusi tunnus","profile_create_token":"Luo tunnus","profile_create":"Luo","profile_save_changes":"Tallenna muutokset","default_group_title_name":"(ryhmittelemättömät)","piggy_bank":"Säästöpossu"},"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(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"O que está acontecendo?","flash_error":"Erro!","flash_success":"Sucesso!","close":"Fechar","split_transaction_title":"Descrição da transação dividida","errors_submission":"Tem alguma coisa de errada com o seu envio. Por favor, cheque os erros abaixo.","split":"Dividir","transaction_stored_link":"Transação #{ID} (\\"{title}\\") foi salva.","transaction_updated_link":"Transação #{ID} foi atualizada.","transaction_new_stored_link":"Transação #{ID} foi salva.","transaction_journal_information":"Informação da transação","no_budget_pointer":"Parece que você ainda não tem orçamentos. Você deve criar alguns na página de orçamentos. Orçamentos podem ajudá-lo a manter o controle das despesas.","source_account":"Conta origem","hidden_fields_preferences":"Você pode ativar mais opções de transações em suas configurações.","destination_account":"Conta destino","add_another_split":"Adicionar outra divisão","submission":"Envio","create_another":"Depois de armazenar, retorne aqui para criar outro.","reset_after":"Resetar o formulário após o envio","submit":"Enviar","amount":"Valor","date":"Data","tags":"Tags","no_budget":"(sem orçamento)","category":"Categoria","attachments":"Anexos","notes":"Notas","update_transaction":"Atualizar transação","after_update_create_another":"Depois de atualizar, retorne aqui para continuar editando.","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":"Se você criar uma transação dividida, deve haver uma descrição global para todas as partes da transação.","destination_account_reconciliation":"Você não pode editar a conta de origem de uma transação de reconciliação.","source_account_reconciliation":"Você não pode editar a conta de origem de uma transação de reconciliação.","budget":"Orçamento","you_create_withdrawal":"Você está criando uma retirada.","you_create_transfer":"Você está criando uma transferência.","you_create_deposit":"Você está criando um deposito.","edit":"Editar","delete":"Apagar","name":"Nome","profile_whoops":"Ops!","profile_something_wrong":"Alguma coisa deu errado!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"Clientes OAuth","profile_oauth_no_clients":"Você não criou nenhum cliente OAuth.","profile_oauth_clients_header":"Clientes","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Nome","profile_oauth_client_secret":"Segredo","profile_oauth_create_new_client":"Criar um novo cliente","profile_oauth_create_client":"Criar um cliente","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Alguma coisa que seus usuários vão reconhecer e identificar.","profile_oauth_redirect_url":"URL de redirecionamento","profile_oauth_redirect_url_help":"A URL de retorno da sua solicitação de autorização.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Clientes autorizados","profile_scopes":"Escopos","profile_revoke":"Revogar","profile_personal_access_tokens":"Tokens de acesso pessoal","profile_personal_access_token":"Token de acesso pessoal","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"Você não criou nenhum token de acesso pessoal.","profile_create_new_token":"Criar novo token","profile_create_token":"Criar token","profile_create":"Criar","profile_save_changes":"Salvar alterações","default_group_title_name":"(não agrupado)","piggy_bank":"Cofrinho"},"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(e){e.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_stored_link":"Tranzacția #{ID} (\\"{title}\\") a fost stocată.","transaction_updated_link":"Tranzacția #{ID} a fost actualizată.","transaction_new_stored_link":"Tranzacția #{ID} a fost stocată.","transaction_journal_information":"Informații despre tranzacții","no_budget_pointer":"Se pare că nu aveți încă bugete. Ar trebui să creați câteva pe pagina bugete. Bugetele vă pot ajuta să țineți evidența cheltuielilor.","source_account":"Contul sursă","hidden_fields_preferences":"Puteți activa mai multe opțiuni de tranzacție în setările dvs.","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":"Creezi o retragere.","you_create_transfer":"Creezi un transfer.","you_create_deposit":"Creezi un depozit.","edit":"Editează","delete":"Șterge","name":"Nume","profile_whoops":"Hopaa!","profile_something_wrong":"A apărut o eroare!","profile_try_again":"A apărut o problemă. Încercați din nou.","profile_oauth_clients":"Clienți OAuth","profile_oauth_no_clients":"Nu ați creat niciun client OAuth.","profile_oauth_clients_header":"Clienți","profile_oauth_client_id":"ID Client","profile_oauth_client_name":"Nume","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Creare client nou","profile_oauth_create_client":"Creare client","profile_oauth_edit_client":"Editare client","profile_oauth_name_help":"Ceva ce utilizatorii vor recunoaște și vor avea încredere.","profile_oauth_redirect_url":"Redirectioneaza URL","profile_oauth_redirect_url_help":"URL-ul de retroapelare al aplicației dvs.","profile_authorized_apps":"Aplicațiile dvs autorizate","profile_authorized_clients":"Clienți autorizați","profile_scopes":"Domenii","profile_revoke":"Revocați","profile_personal_access_tokens":"Token de acces personal","profile_personal_access_token":"Token de acces personal","profile_personal_access_token_explanation":"Aici este noul dvs. token de acces personal. Este singura dată când va fi afișat așa că nu îl pierde! Acum poți folosi acest token pentru a face cereri API.","profile_no_personal_access_token":"Nu aţi creat nici un token personal de acces.","profile_create_new_token":"Crează un nou token","profile_create_token":"Crează token","profile_create":"Crează","profile_save_changes":"Salvează modificările","default_group_title_name":"(ungrouped)","piggy_bank":"Pușculiță"},"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(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"Что происходит с моими финансами?","flash_error":"Ошибка!","flash_success":"Успешно!","close":"Закрыть","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке произошла ошибка. Пожалуйста, проверьте ошибки ниже.","split":"Разделить","transaction_stored_link":"Транзакция #{ID} (\\"{title}\\") сохранена.","transaction_updated_link":"Транзакция #{ID} обновлена.","transaction_new_stored_link":"Транзакция #{ID} сохранена.","transaction_journal_information":"Информация о транзакции","no_budget_pointer":"Похоже, у вас пока нет бюджетов. Вы должны создать их в разделе Бюджеты. Бюджеты могут помочь вам отслеживать расходы.","source_account":"Счёт-источник","hidden_fields_preferences":"Вы можете включить больше параметров транзакции на странице настроек.","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_create_transfer":"Вы создаёте перевод.","you_create_deposit":"Вы создаёте доход.","edit":"Изменить","delete":"Удалить","name":"Название","profile_whoops":"Ууупс!","profile_something_wrong":"Что-то пошло не так!","profile_try_again":"Произошла ошибка. Пожалуйста, попробуйте снова.","profile_oauth_clients":"Клиенты OAuth","profile_oauth_no_clients":"У вас пока нет клиентов OAuth.","profile_oauth_clients_header":"Клиенты","profile_oauth_client_id":"ID клиента","profile_oauth_client_name":"Название","profile_oauth_client_secret":"Секретный ключ","profile_oauth_create_new_client":"Создать нового клиента","profile_oauth_create_client":"Создать клиента","profile_oauth_edit_client":"Изменить клиента","profile_oauth_name_help":"Что-то, что ваши пользователи знают, и чему доверяют.","profile_oauth_redirect_url":"URL редиректа","profile_oauth_redirect_url_help":"URL обратного вызова для вашего приложения.","profile_authorized_apps":"Авторизованные приложения","profile_authorized_clients":"Авторизованные клиенты","profile_scopes":"Разрешения","profile_revoke":"Отключить","profile_personal_access_tokens":"Персональные Access Tokens","profile_personal_access_token":"Персональный Access Token","profile_personal_access_token_explanation":"Вот ваш новый персональный токен доступа. Он будет показан вам только сейчас, поэтому не потеряйте его! Теперь вы можете использовать этот токен, чтобы делать запросы по API.","profile_no_personal_access_token":"Вы не создали ни одного персонального токена доступа.","profile_create_new_token":"Создать новый токен","profile_create_token":"Создать токен","profile_create":"Создать","profile_save_changes":"Сохранить изменения","default_group_title_name":"(без группировки)","piggy_bank":"Копилка"},"form":{"interest_date":"Дата выплаты","book_date":"Дата бронирования","process_date":"Дата обработки","due_date":"Срок","foreign_amount":"Сумма в иностранной валюте","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта","internal_reference":"Внутренняя ссылка"},"config":{"html_language":"ru"}}')},function(e){e.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(e){e.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_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"交易資訊","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Source account","hidden_fields_preferences":"You can enable more transaction options in your settings.","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.","edit":"編輯","delete":"刪除","name":"名稱","profile_whoops":"Whoops!","profile_something_wrong":"Something went wrong!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Create New Client","profile_oauth_create_client":"Create Client","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Something your users will recognize and trust.","profile_oauth_redirect_url":"Redirect URL","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Revoke","profile_personal_access_tokens":"Personal Access Tokens","profile_personal_access_token":"Personal Access Token","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Create new token","profile_create_token":"Create token","profile_create":"Create","profile_save_changes":"Save changes","default_group_title_name":"(ungrouped)","piggy_bank":"小豬撲滿"},"form":{"interest_date":"利率日期","book_date":"登記日期","process_date":"處理日期","due_date":"到期日","foreign_amount":"外幣金額","payment_date":"付款日期","invoice_date":"發票日期","internal_reference":"內部參考"},"config":{"html_language":"zh-tw"}}')},function(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"今天理财了吗?","flash_error":"错误!","flash_success":"成功!","close":"关闭","split_transaction_title":"拆分交易的描述","errors_submission":"您的提交有误,请查看下面输出的错误信息。","split":"分割","transaction_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"交易资讯","no_budget_pointer":"您似乎还没有任何预算。您应该在 预算页面上创建他们。预算可以帮助您跟踪费用。","source_account":"来源帐户","hidden_fields_preferences":"您可以在 设置中启用更多的交易选项。","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_create_transfer":"您正在创建一个转账","you_create_deposit":"您正在创建一个存款","edit":"编辑","delete":"删除","name":"名称","profile_whoops":"Whoops!","profile_something_wrong":"Something went wrong!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Create New Client","profile_oauth_create_client":"Create Client","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Something your users will recognize and trust.","profile_oauth_redirect_url":"Redirect URL","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Revoke","profile_personal_access_tokens":"Personal Access Tokens","profile_personal_access_token":"Personal Access Token","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Create new token","profile_create_token":"Create token","profile_create":"Create","profile_save_changes":"Save changes","default_group_title_name":"(ungrouped)","piggy_bank":"存钱罐"},"form":{"interest_date":"利率日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","foreign_amount":"外币金额","payment_date":"付款日期","invoice_date":"发票日期","internal_reference":"内部参考"},"config":{"html_language":"zh-cn"}}')},function(e){e.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_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"Transaktionsinformation","no_budget_pointer":"Du verkar inte ha några budgetar än. Du bör skapa några på budgetar-sidan. Budgetar kan hjälpa dig att hålla reda på utgifter.","source_account":"Från konto","hidden_fields_preferences":"You can enable more transaction options in your settings.","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.","edit":"Redigera","delete":"Ta bort","name":"Namn","profile_whoops":"Hoppsan!","profile_something_wrong":"Något gick fel!","profile_try_again":"Något gick fel. Försök igen.","profile_oauth_clients":"OAuth klienter","profile_oauth_no_clients":"Du har inte skapat några OAuth klienter.","profile_oauth_clients_header":"Klienter","profile_oauth_client_id":"Klient ID","profile_oauth_client_name":"Namn","profile_oauth_client_secret":"Hemlighet","profile_oauth_create_new_client":"Skapa ny klient","profile_oauth_create_client":"Skapa klient","profile_oauth_edit_client":"Redigera klient","profile_oauth_name_help":"Något som dina användare kommer att känna igen och lita på.","profile_oauth_redirect_url":"Omdirigera URL","profile_oauth_redirect_url_help":"Din applikations auktorisering callback URL.","profile_authorized_apps":"Auktoriserade applikationer","profile_authorized_clients":"Auktoriserade klienter","profile_scopes":"Omfattningar","profile_revoke":"Återkalla","profile_personal_access_tokens":"Personliga åtkomst-Tokens","profile_personal_access_token":"Personlig åtkomsttoken","profile_personal_access_token_explanation":"Här är din nya personliga tillgångs token. Detta är den enda gången det kommer att visas så förlora inte det! Du kan nu använda denna token för att göra API-förfrågningar.","profile_no_personal_access_token":"Du har inte skapat några personliga åtkomsttokens.","profile_create_new_token":"Skapa ny token","profile_create_token":"Skapa token","profile_create":"Skapa","profile_save_changes":"Spara ändringar","default_group_title_name":"(ungrouped)","piggy_bank":"Spargris"},"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(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"Chào mừng trở lại?","flash_error":"Lỗi!","flash_success":"Thành công!","close":"Đóng","split_transaction_title":"Mô tả giao dịch tách","errors_submission":"Có gì đó sai. Vui lòng kiểm tra các lỗi dưới đây.","split":"Chia ra","transaction_stored_link":"Giao dịch #{ID} (\\"{title}\\") đã được lưu trữ.","transaction_updated_link":"Giao dịch#{ID} đã được cập nhật.","transaction_new_stored_link":" Giao dịch #{ID} đã được lưu trữ.","transaction_journal_information":"Thông tin giao dịch","no_budget_pointer":"Bạn dường như chưa có ngân sách. Bạn nên tạo một cái trên budgets-page. Ngân sách có thể giúp bạn theo dõi chi phí.","source_account":"Nguồn tài khoản","hidden_fields_preferences":"Bạn có thể kích hoạt thêm tùy chọn giao dịch trong settings.","destination_account":"Tài khoản đích","add_another_split":"Thêm một phân chia khác","submission":"Gửi","create_another":"Sau khi lưu trữ, quay trở lại đây để tạo một cái khác.","reset_after":"Đặt lại mẫu sau khi gửi","submit":"Gửi","amount":"Số tiền","date":"Ngày","tags":"Nhãn","no_budget":"(không có ngân sách)","category":"Danh mục","attachments":"Tệp đính kèm","notes":"Ghi chú","update_transaction":"Cập nhật giao dịch","after_update_create_another":"Sau khi cập nhật, quay lại đây để tiếp tục chỉnh sửa.","store_as_new":"Lưu trữ như một giao dịch mới thay vì cập nhật.","split_title_help":"Nếu bạn tạo một giao dịch phân tách, phải có một mô tả toàn cầu cho tất cả các phân chia của giao dịch.","none_in_select_list":"(Trống)","no_piggy_bank":"(chưa có heo đất)","description":"Sự miêu tả","split_transaction_title_help":"Nếu bạn tạo một giao dịch phân tách, phải có một mô tả toàn cầu cho tất cả các phân chia của giao dịch.","destination_account_reconciliation":"Bạn không thể chỉnh sửa tài khoản đích của giao dịch đối chiếu.","source_account_reconciliation":"Bạn không thể chỉnh sửa tài khoản nguồn của giao dịch đối chiếu.","budget":"Ngân sách","you_create_withdrawal":"Bạn đang tạo một rút tiền.","you_create_transfer":"Bạn đang tạo một chuyển khoản.","you_create_deposit":"Bạn đang tạo một tiền gửi.","edit":"Sửa","delete":"Xóa","name":"Tên","profile_whoops":"Rất tiếc!","profile_something_wrong":"Có lỗi xảy ra!","profile_try_again":"Xảy ra lỗi. Vui lòng thử lại.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"Bạn đã không tạo ra bất kỳ OAuth clients nào.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Tên","profile_oauth_client_secret":"Mã bí mật","profile_oauth_create_new_client":"Tạo mới Client","profile_oauth_create_client":"Tạo Client","profile_oauth_edit_client":"Sửa Client","profile_oauth_name_help":"Một cái gì đó người dùng của bạn sẽ nhận ra và tin tưởng.","profile_oauth_redirect_url":"URL chuyển tiếp","profile_oauth_redirect_url_help":"URL gọi lại ủy quyền của ứng dụng của bạn.","profile_authorized_apps":"Uỷ quyền ứng dụng","profile_authorized_clients":"Client ủy quyền","profile_scopes":"Phạm vi","profile_revoke":"Thu hồi","profile_personal_access_tokens":"Mã truy cập cá nhân","profile_personal_access_token":"Mã truy cập cá nhân","profile_personal_access_token_explanation":"Đây là mã thông báo truy cập cá nhân mới của bạn. Đây là lần duy nhất nó sẽ được hiển thị vì vậy đừng đánh mất nó! Bây giờ bạn có thể sử dụng mã thông báo này để thực hiện API.","profile_no_personal_access_token":"Bạn chưa tạo bất kỳ mã thông báo truy cập cá nhân nào.","profile_create_new_token":"Tạo mã mới","profile_create_token":"Tạo mã","profile_create":"Tạo","profile_save_changes":"Lưu thay đổi","default_group_title_name":"(chưa nhóm)","piggy_bank":"Heo đất"},"form":{"interest_date":"Ngày lãi","book_date":"Ngày đặt sách","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","foreign_amount":"Ngoại tệ","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn","internal_reference":"Tài liệu tham khảo nội bộ"},"config":{"html_language":"vi"}}')},function(e,t,n){window,e.exports=function(e){var t={};function n(a){if(t[a])return t[a].exports;var i=t[a]={i:a,l:!1,exports:{}};return e[a].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(a,i,function(t){return e[t]}.bind(null,i));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=6)}([function(e,t,n){var a=n(8);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(4).default)("7ec05f6c",a,!1,{})},function(e,t,n){var a=n(10);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(4).default)("3453d19d",a,!1,{})},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,a=e[1]||"",i=e[3];if(!i)return a;if(t&&"function"==typeof btoa){var o=(n=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),r=i.sources.map((function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"}));return[a].concat(r).concat([o]).join("\n")}return[a].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var a={},i=0;in.parts.length&&(a.parts.length=n.parts.length)}else{var r=[];for(i=0;i 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(e,t,n){"use strict";e.exports=function(e){return"string"!=typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),/["'() \t\n]/.test(e)?'"'+e.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':e)}},function(e,t){e.exports="data:font/ttf;base64,AAEAAAALAIAAAwAwT1MvMg8SBawAAAC8AAAAYGNtYXAXVtKJAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZqWfozAAAAF4AAAA/GhlYWQPxZgIAAACdAAAADZoaGVhB4ADyAAAAqwAAAAkaG10eBIAAb4AAALQAAAAHGxvY2EAkgDiAAAC7AAAABBtYXhwAAkAHwAAAvwAAAAgbmFtZZlKCfsAAAMcAAABhnBvc3QAAwAAAAAEpAAAACAAAwOAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpAgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6QL//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAFYBAQO+AoEAHAAAATIXHgEXFhcHJicuAScmIyIGBxchERc2Nz4BNzYCFkpDQ28pKRdkECAfVTM0OT9wLZz+gJgdIiJLKSgCVRcYUjg5QiAzKys+ERIrJZoBgJoZFRQcCAgAAQDWAIEDKgLVAAsAAAEHFwcnByc3JzcXNwMq7u487u487u487u4Cme7uPO7uPO7uPO7uAAEAkgCBA4ACvQAFAAAlARcBJzcBgAHEPP4A7jz5AcQ8/gDuPAAAAAABAAAAAAAAH8nTUV8PPPUACwQAAAAAANZ1KhsAAAAA1nUqGwAAAAADvgLVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAO+AAEAAAAAAAAAAAAAAAAAAAAHBAAAAAAAAAAAAAAAAgAAAAQAAFYEAADWBAAAkgAAAAAACgAUAB4AUABqAH4AAQAAAAcAHQABAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGljb21vb24AaQBjAG8AbQBvAG8AblZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGljb21vb24AaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AblJlZ3VsYXIAUgBlAGcAdQBsAGEAcmljb21vb24AaQBjAG8AbQBvAG8AbkZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="},function(e,t){e.exports="data:font/woff;base64,d09GRgABAAAAAAUQAAsAAAAABMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIFrGNtYXAAAAFoAAAAVAAAAFQXVtKJZ2FzcAAAAbwAAAAIAAAACAAAABBnbHlmAAABxAAAAPwAAAD8pZ+jMGhlYWQAAALAAAAANgAAADYPxZgIaGhlYQAAAvgAAAAkAAAAJAeAA8hobXR4AAADHAAAABwAAAAcEgABvmxvY2EAAAM4AAAAEAAAABAAkgDibWF4cAAAA0gAAAAgAAAAIAAJAB9uYW1lAAADaAAAAYYAAAGGmUoJ+3Bvc3QAAATwAAAAIAAAACAAAwAAAAMDgAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA6QIDwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADgAAAAKAAgAAgACAAEAIOkC//3//wAAAAAAIOkA//3//wAB/+MXBAADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQBWAQEDvgKBABwAAAEyFx4BFxYXByYnLgEnJiMiBgcXIREXNjc+ATc2AhZKQ0NvKSkXZBAgH1UzNDk/cC2c/oCYHSIiSykoAlUXGFI4OUIgMysrPhESKyWaAYCaGRUUHAgIAAEA1gCBAyoC1QALAAABBxcHJwcnNyc3FzcDKu7uPO7uPO7uPO7uApnu7jzu7jzu7jzu7gABAJIAgQOAAr0ABQAAJQEXASc3AYABxDz+AO48+QHEPP4A7jwAAAAAAQAAAAAAAB/J01FfDzz1AAsEAAAAAADWdSobAAAAANZ1KhsAAAAAA74C1QAAAAgAAgAAAAAAAAABAAADwP/AAAAEAAAAAAADvgABAAAAAAAAAAAAAAAAAAAABwQAAAAAAAAAAAAAAAIAAAAEAABWBAAA1gQAAJIAAAAAAAoAFAAeAFAAagB+AAEAAAAHAB0AAQAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAHAAAAAQAAAAAAAgAHAGAAAQAAAAAAAwAHADYAAQAAAAAABAAHAHUAAQAAAAAABQALABUAAQAAAAAABgAHAEsAAQAAAAAACgAaAIoAAwABBAkAAQAOAAcAAwABBAkAAgAOAGcAAwABBAkAAwAOAD0AAwABBAkABAAOAHwAAwABBAkABQAWACAAAwABBAkABgAOAFIAAwABBAkACgA0AKRpY29tb29uAGkAYwBvAG0AbwBvAG5WZXJzaW9uIDEuMABWAGUAcgBzAGkAbwBuACAAMQAuADBpY29tb29uAGkAYwBvAG0AbwBvAG5pY29tb29uAGkAYwBvAG0AbwBvAG5SZWd1bGFyAFIAZQBnAHUAbABhAHJpY29tb29uAGkAYwBvAG0AbwBvAG5Gb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vue-tags-input",class:[{"ti-disabled":e.disabled},{"ti-focus":e.focused}]},[n("div",{staticClass:"ti-input"},[e.tagsCopy?n("ul",{staticClass:"ti-tags"},[e._l(e.tagsCopy,(function(t,a){return n("li",{key:a,staticClass:"ti-tag",class:[{"ti-editing":e.tagsEditStatus[a]},t.tiClasses,t.classes,{"ti-deletion-mark":e.isMarked(a)}],style:t.style,attrs:{tabindex:"0"},on:{click:function(n){return e.$emit("tag-clicked",{tag:t,index:a})}}},[n("div",{staticClass:"ti-content"},[e.$scopedSlots["tag-left"]?n("div",{staticClass:"ti-tag-left"},[e._t("tag-left",null,{tag:t,index:a,edit:e.tagsEditStatus[a],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(a)})],2):e._e(),e._v(" "),n("div",{ref:"tagCenter",refInFor:!0,staticClass:"ti-tag-center"},[e.$scopedSlots["tag-center"]?e._e():n("span",{class:{"ti-hidden":e.tagsEditStatus[a]},on:{click:function(t){return e.performEditTag(a)}}},[e._v(e._s(t.text))]),e._v(" "),e.$scopedSlots["tag-center"]?e._e():n("tag-input",{attrs:{scope:{edit:e.tagsEditStatus[a],maxlength:e.maxlength,tag:t,index:a,validateTag:e.createChangedTag,performCancelEdit:e.cancelEdit,performSaveEdit:e.performSaveTag}}}),e._v(" "),e._t("tag-center",null,{tag:t,index:a,maxlength:e.maxlength,edit:e.tagsEditStatus[a],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,validateTag:e.createChangedTag,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(a)})],2),e._v(" "),e.$scopedSlots["tag-right"]?n("div",{staticClass:"ti-tag-right"},[e._t("tag-right",null,{tag:t,index:a,edit:e.tagsEditStatus[a],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(a)})],2):e._e()]),e._v(" "),n("div",{staticClass:"ti-actions"},[e.$scopedSlots["tag-actions"]?e._e():n("i",{directives:[{name:"show",rawName:"v-show",value:e.tagsEditStatus[a],expression:"tagsEditStatus[index]"}],staticClass:"ti-icon-undo",on:{click:function(t){return e.cancelEdit(a)}}}),e._v(" "),e.$scopedSlots["tag-actions"]?e._e():n("i",{directives:[{name:"show",rawName:"v-show",value:!e.tagsEditStatus[a],expression:"!tagsEditStatus[index]"}],staticClass:"ti-icon-close",on:{click:function(t){return e.performDeleteTag(a)}}}),e._v(" "),e.$scopedSlots["tag-actions"]?e._t("tag-actions",null,{tag:t,index:a,edit:e.tagsEditStatus[a],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(a)}):e._e()],2)])})),e._v(" "),n("li",{staticClass:"ti-new-tag-input-wrapper"},[n("input",e._b({ref:"newTagInput",staticClass:"ti-new-tag-input",class:[e.createClasses(e.newTag,e.tags,e.validation,e.isDuplicate)],attrs:{placeholder:e.placeholder,maxlength:e.maxlength,disabled:e.disabled,type:"text",size:"1"},domProps:{value:e.newTag},on:{keydown:[function(t){return e.performAddTags(e.filteredAutocompleteItems[e.selectedItem]||e.newTag,t)},function(t){return t.type.indexOf("key")||8===t.keyCode?e.invokeDelete(t):null},function(t){return t.type.indexOf("key")||9===t.keyCode?e.performBlur(t):null},function(t){return t.type.indexOf("key")||38===t.keyCode?e.selectItem(t,"before"):null},function(t){return t.type.indexOf("key")||40===t.keyCode?e.selectItem(t,"after"):null}],paste:e.addTagsFromPaste,input:e.updateNewTag,blur:function(t){return e.$emit("blur",t)},focus:function(t){e.focused=!0,e.$emit("focus",t)},click:function(t){!e.addOnlyFromAutocomplete&&(e.selectedItem=null)}}},"input",e.$attrs,!1))])],2):e._e()]),e._v(" "),e._t("between-elements"),e._v(" "),e.autocompleteOpen?n("div",{staticClass:"ti-autocomplete",on:{mouseout:function(t){e.selectedItem=null}}},[e._t("autocomplete-header"),e._v(" "),n("ul",e._l(e.filteredAutocompleteItems,(function(t,a){return n("li",{key:a,staticClass:"ti-item",class:[t.tiClasses,t.classes,{"ti-selected-item":e.isSelected(a)}],style:t.style,on:{mouseover:function(t){!e.disabled&&(e.selectedItem=a)}}},[e.$scopedSlots["autocomplete-item"]?e._t("autocomplete-item",null,{item:t,index:a,performAdd:function(t){return e.performAddTags(t,void 0,"autocomplete")},selected:e.isSelected(a)}):n("div",{on:{click:function(n){return e.performAddTags(t,void 0,"autocomplete")}}},[e._v("\n "+e._s(t.text)+"\n ")])],2)})),0),e._v(" "),e._t("autocomplete-footer")],2):e._e()],2)};a._withStripped=!0;var i=n(5),o=n.n(i),r=function(e){return JSON.parse(JSON.stringify(e))},s=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3?arguments[3]:void 0;void 0===e.text&&(e={text:e});var i=function(e,t){return t.filter((function(t){var n=e.text;return"string"==typeof t.rule?!new RegExp(t.rule).test(n):t.rule instanceof RegExp?!t.rule.test(n):"[object Function]"==={}.toString.call(t.rule)?t.rule(e):void 0})).map((function(e){return e.classes}))}(e,n),o=function(e,t){for(var n=0;n1?n-1:0),i=1;i1?t-1:0),a=1;a=this.autocompleteMinLength&&this.filteredAutocompleteItems.length>0&&this.focused},filteredAutocompleteItems:function(){var e=this,t=this.autocompleteItems.map((function(t){return c(t,e.tags,e.validation,e.isDuplicate)}));return this.autocompleteFilterDuplicates?t.filter(this.duplicateFilter):t}},methods:{createClasses:s,getSelectedIndex:function(e){var t=this.filteredAutocompleteItems,n=this.selectedItem,a=t.length-1;if(0!==t.length)return null===n?0:"before"===e&&0===n?a:"after"===e&&n===a?0:"after"===e?n+1:n-1},selectDefaultItem:function(){this.addOnlyFromAutocomplete&&this.filteredAutocompleteItems.length>0?this.selectedItem=0:this.selectedItem=null},selectItem:function(e,t){e.preventDefault(),this.selectedItem=this.getSelectedIndex(t)},isSelected:function(e){return this.selectedItem===e},isMarked:function(e){return this.deletionMark===e},invokeDelete:function(){var e=this;if(this.deleteOnBackspace&&!(this.newTag.length>0)){var t=this.tagsCopy.length-1;null===this.deletionMark?(this.deletionMarkTime=setTimeout((function(){return e.deletionMark=null}),1e3),this.deletionMark=t):this.performDeleteTag(t)}},addTagsFromPaste:function(){var e=this;this.addFromPaste&&setTimeout((function(){return e.performAddTags(e.newTag)}),10)},performEditTag:function(e){var t=this;this.allowEditTags&&(this._events["before-editing-tag"]||this.editTag(e),this.$emit("before-editing-tag",{index:e,tag:this.tagsCopy[e],editTag:function(){return t.editTag(e)}}))},editTag:function(e){this.allowEditTags&&(this.toggleEditMode(e),this.focus(e))},toggleEditMode:function(e){this.allowEditTags&&!this.disabled&&this.$set(this.tagsEditStatus,e,!this.tagsEditStatus[e])},createChangedTag:function(e,t){var n=this.tagsCopy[e];n.text=t?t.target.value:this.tagsCopy[e].text,this.$set(this.tagsCopy,e,c(n,this.tagsCopy,this.validation,this.isDuplicate))},focus:function(e){var t=this;this.$nextTick((function(){var n=t.$refs.tagCenter[e].querySelector("input.ti-tag-input");n&&n.focus()}))},quote:function(e){return e.replace(/([()[{*+.$^\\|?])/g,"\\$1")},cancelEdit:function(e){this.tags[e]&&(this.tagsCopy[e]=r(c(this.tags[e],this.tags,this.validation,this.isDuplicate)),this.$set(this.tagsEditStatus,e,!1))},hasForbiddingAddRule:function(e){var t=this;return e.some((function(e){var n=t.validation.find((function(t){return e===t.classes}));return!!n&&n.disableAdd}))},createTagTexts:function(e){var t=this,n=new RegExp(this.separators.map((function(e){return t.quote(e)})).join("|"));return e.split(n).map((function(e){return{text:e}}))},performDeleteTag:function(e){var t=this;this._events["before-deleting-tag"]||this.deleteTag(e),this.$emit("before-deleting-tag",{index:e,tag:this.tagsCopy[e],deleteTag:function(){return t.deleteTag(e)}})},deleteTag:function(e){this.disabled||(this.deletionMark=null,clearTimeout(this.deletionMarkTime),this.tagsCopy.splice(e,1),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},noTriggerKey:function(e,t){var n=-1!==this[t].indexOf(e.keyCode)||-1!==this[t].indexOf(e.key);return n&&e.preventDefault(),!n},performAddTags:function(e,t,n){var a=this;if(!(this.disabled||t&&this.noTriggerKey(t,"addOnKey"))){var i=[];"object"===m(e)&&(i=[e]),"string"==typeof e&&(i=this.createTagTexts(e)),(i=i.filter((function(e){return e.text.trim().length>0}))).forEach((function(e){e=c(e,a.tags,a.validation,a.isDuplicate),a._events["before-adding-tag"]||a.addTag(e,n),a.$emit("before-adding-tag",{tag:e,addTag:function(){return a.addTag(e,n)}})}))}},duplicateFilter:function(e){return this.isDuplicate?!this.isDuplicate(this.tagsCopy,e):!this.tagsCopy.find((function(t){return t.text===e.text}))},addTag:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"new-tag-input",a=this.filteredAutocompleteItems.map((function(e){return e.text}));this.addOnlyFromAutocomplete&&-1===a.indexOf(e.text)||this.$nextTick((function(){return t.maxTags&&t.maxTags<=t.tagsCopy.length?t.$emit("max-tags-reached",e):t.avoidAddingDuplicates&&!t.duplicateFilter(e)?t.$emit("adding-duplicate",e):void(t.hasForbiddingAddRule(e.tiClasses)||(t.$emit("input",""),t.tagsCopy.push(e),t._events["update:tags"]&&t.$emit("update:tags",t.tagsCopy),"autocomplete"===n&&t.$refs.newTagInput.focus(),t.$emit("tags-changed",t.tagsCopy)))}))},performSaveTag:function(e,t){var n=this,a=this.tagsCopy[e];this.disabled||t&&this.noTriggerKey(t,"addOnKey")||0!==a.text.trim().length&&(this._events["before-saving-tag"]||this.saveTag(e,a),this.$emit("before-saving-tag",{index:e,tag:a,saveTag:function(){return n.saveTag(e,a)}}))},saveTag:function(e,t){if(this.avoidAddingDuplicates){var n=r(this.tagsCopy),a=n.splice(e,1)[0];if(this.isDuplicate?this.isDuplicate(n,a):-1!==n.map((function(e){return e.text})).indexOf(a.text))return this.$emit("saving-duplicate",t)}this.hasForbiddingAddRule(t.tiClasses)||(this.$set(this.tagsCopy,e,t),this.toggleEditMode(e),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},tagsEqual:function(){var e=this;return!this.tagsCopy.some((function(t,n){return!o()(t,e.tags[n])}))},updateNewTag:function(e){var t=e.target.value;this.newTag=t,this.$emit("input",t)},initTags:function(){this.tagsCopy=l(this.tags,this.validation,this.isDuplicate),this.tagsEditStatus=r(this.tags).map((function(){return!1})),this._events["update:tags"]&&!this.tagsEqual()&&this.$emit("update:tags",this.tagsCopy)},blurredOnClick:function(e){this.$el.contains(e.target)||this.$el.contains(document.activeElement)||this.performBlur(e)},performBlur:function(){this.addOnBlur&&this.focused&&this.performAddTags(this.newTag),this.focused=!1}},watch:{value:function(e){this.addOnlyFromAutocomplete||(this.selectedItem=null),this.newTag=e},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),p(v,a,[],!1,null,"61d92e31",null));y.options.__file="vue-tags-input/vue-tags-input.vue";var b=y.exports;n.d(t,"VueTagsInput",(function(){return b})),n.d(t,"createClasses",(function(){return s})),n.d(t,"createTag",(function(){return c})),n.d(t,"createTags",(function(){return l})),n.d(t,"TagInput",(function(){return A})),b.install=function(e){return e.component(b.name,b)},"undefined"!=typeof window&&window.Vue&&window.Vue.use(b),t.default=b}])},function(e,t,n){"use strict";var a={name:"CustomAttachments",props:{title:String,name:String,error:Array},methods:{clearAtt:function(){this.$refs.input.value=""},hasError:function(){return this.error.length>0}}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{multiple:"multiple",autocomplete:"off",placeholder:e.title,title:e.title,name:e.name,type:"file"}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:e.clearAtt}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"25a774c0",null);t.a=o.exports},function(e,t,n){"use strict";var a={name:"CustomDate",props:{value:String,title:String,name:String,error:Array},methods:{handleInput:function(e){this.$emit("input",this.$refs.date.value)},hasError:function(){return this.error.length>0},clearDate:function(){this.name="",this.$refs.date.value="",this.$emit("input",this.$refs.date.value)}}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"date",staticClass:"form-control",attrs:{type:"date",name:e.name,title:e.title,autocomplete:"off",placeholder:e.title},domProps:{value:e.value?e.value.substr(0,10):""},on:{input:e.handleInput}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearDate}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"7a261844",null);t.a=o.exports},function(e,t,n){"use strict";var a={name:"CustomString",props:{title:String,name:String,value:String,error:Array},methods:{handleInput:function(e){this.$emit("input",this.$refs.str.value)},clearField:function(){this.name="",this.$refs.str.value="",this.$emit("input",this.$refs.str.value)},hasError:function(){return this.error.length>0}}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"str",staticClass:"form-control",attrs:{type:"text",name:e.name,title:e.title,autocomplete:"off",placeholder:e.title},domProps:{value:e.value},on:{input:e.handleInput}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearField}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"ada77346",null);t.a=o.exports},function(e,t,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(e){this.$emit("input",this.$refs.str.value)},hasError:function(){return this.error.length>0}}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.textValue,expression:"textValue"}],ref:"str",staticClass:"form-control",attrs:{name:e.name,title:e.title,autocomplete:"off",rows:"8",placeholder:e.title},domProps:{value:e.textValue},on:{input:[function(t){t.target.composing||(e.textValue=t.target.value)},e.handleInput]}}),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"40389097",null);t.a=o.exports},function(e,t,n){"use strict";var a={props:["error","value","index"],name:"StandardDate",methods:{hasError:function(){return this.error.length>0},handleInput:function(e){this.$emit("input",this.$refs.date.value)},clearDate:function(){this.name="",this.$refs.date.value="",this.$emit("input",this.$refs.date.value),this.$emit("clear:date")}}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.date"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"date",staticClass:"form-control",attrs:{type:"date",name:"date[]",title:e.$t("firefly.date"),autocomplete:"off",disabled:e.index>0,placeholder:e.$t("firefly.date")},domProps:{value:e.value},on:{input:e.handleInput}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearDate}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"4e877916",null);t.a=o.exports},function(e,t,n){"use strict";var a={props:["error","value","index"],name:"GroupDescription",methods:{hasError:function(){return this.error.length>0},handleInput:function(e){this.$emit("input",this.$refs.descr.value)},clearField:function(){this.name="",this.$refs.descr.value="",this.$emit("input",this.$refs.descr.value)}}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.split_transaction_title"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"descr",staticClass:"form-control",attrs:{type:"text",name:"group_title",title:e.$t("firefly.split_transaction_title"),autocomplete:"off",placeholder:e.$t("firefly.split_transaction_title")},domProps:{value:e.value},on:{input:e.handleInput}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearField}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),0===e.error.length?n("p",{staticClass:"help-block"},[e._v("\n "+e._s(e.$t("firefly.split_transaction_title_help"))+"\n ")]):e._e(),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"2666c561",null);t.a=o.exports},function(e,t,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=",this.$refs.descr.focus()},components:{},data:function(){return{descriptionAutoCompleteURI:null,name:null,description:null,target:null}},methods:{search:function(e){return["ab","cd"]},hasError:function(){return this.error.length>0},clearDescription:function(){this.description="",this.$refs.descr.value="",this.$emit("input",this.$refs.descr.value),this.$emit("clear:description")},handleInput:function(e){this.$emit("input",this.$refs.descr.value)},handleEnter:function(e){e.keyCode},selectedItem:function(e){void 0!==this.name&&"string"!=typeof this.name&&(this.$refs.descr.value=this.name.description,this.$emit("input",this.$refs.descr.value))}}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.description"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"descr",staticClass:"form-control",attrs:{type:"text",name:"description[]",title:e.$t("firefly.description"),autocomplete:"off",placeholder:e.$t("firefly.description")},domProps:{value:e.value},on:{keypress:e.handleEnter,submit:function(e){e.preventDefault()},input:e.handleInput}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearDescription}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":e.descriptionAutoCompleteURI,target:e.target,"item-key":"description"},on:{input:e.selectedItem},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}}),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"dfd3d572",null);t.a=o.exports},function(e,t,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(e){this.$emit("input",this.value)},getPreference:function(){var e=this,t=document.getElementsByTagName("base")[0].href+"api/v1/preferences/transaction_journal_optional_fields";axios.get(t).then((function(t){e.fields=t.data.data.attributes.data})).catch((function(){return console.warn("Oh. Something went wrong loading custom transaction fields.")}))}}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("p",{staticClass:"help-block",domProps:{innerHTML:e._s(e.$t("firefly.hidden_fields_preferences"))}}),e._v(" "),this.fields.interest_date?n(e.dateComponent,{tag:"component",attrs:{error:e.error.interest_date,name:"interest_date[]",title:e.$t("form.interest_date")},model:{value:e.value.interest_date,callback:function(t){e.$set(e.value,"interest_date",t)},expression:"value.interest_date"}}):e._e(),e._v(" "),this.fields.book_date?n(e.dateComponent,{tag:"component",attrs:{error:e.error.book_date,name:"book_date[]",title:e.$t("form.book_date")},model:{value:e.value.book_date,callback:function(t){e.$set(e.value,"book_date",t)},expression:"value.book_date"}}):e._e(),e._v(" "),this.fields.process_date?n(e.dateComponent,{tag:"component",attrs:{error:e.error.process_date,name:"process_date[]",title:e.$t("form.process_date")},model:{value:e.value.process_date,callback:function(t){e.$set(e.value,"process_date",t)},expression:"value.process_date"}}):e._e(),e._v(" "),this.fields.due_date?n(e.dateComponent,{tag:"component",attrs:{error:e.error.due_date,name:"due_date[]",title:e.$t("form.due_date")},model:{value:e.value.due_date,callback:function(t){e.$set(e.value,"due_date",t)},expression:"value.due_date"}}):e._e(),e._v(" "),this.fields.payment_date?n(e.dateComponent,{tag:"component",attrs:{error:e.error.payment_date,name:"payment_date[]",title:e.$t("form.payment_date")},model:{value:e.value.payment_date,callback:function(t){e.$set(e.value,"payment_date",t)},expression:"value.payment_date"}}):e._e(),e._v(" "),this.fields.invoice_date?n(e.dateComponent,{tag:"component",attrs:{error:e.error.invoice_date,name:"invoice_date[]",title:e.$t("form.invoice_date")},model:{value:e.value.invoice_date,callback:function(t){e.$set(e.value,"invoice_date",t)},expression:"value.invoice_date"}}):e._e(),e._v(" "),this.fields.internal_reference?n(e.stringComponent,{tag:"component",attrs:{error:e.error.internal_reference,name:"internal_reference[]",title:e.$t("form.internal_reference")},model:{value:e.value.internal_reference,callback:function(t){e.$set(e.value,"internal_reference",t)},expression:"value.internal_reference"}}):e._e(),e._v(" "),this.fields.attachments?n(e.attachmentComponent,{tag:"component",attrs:{error:e.error.attachments,name:"attachments[]",title:e.$t("firefly.attachments")},model:{value:e.value.attachments,callback:function(t){e.$set(e.value,"attachments",t)},expression:"value.attachments"}}):e._e(),e._v(" "),this.fields.notes?n(e.textareaComponent,{tag:"component",attrs:{error:e.error.notes,name:"notes[]",title:e.$t("firefly.notes")},model:{value:e.value.notes,callback:function(t){e.$set(e.value,"notes",t)},expression:"value.notes"}}):e._e()],1)}),[],!1,null,"c24d33ba",null);t.a=o.exports},function(e,t,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(e){this.$emit("input",this.$refs.piggy.value)},hasError:function(){return this.error.length>0},loadPiggies:function(){var e=this,t=document.getElementsByTagName("base")[0].href+"json/piggy-banks";axios.get(t,{}).then((function(t){var n={0:{group:{title:e.$t("firefly.default_group_title_name")},piggies:[{name_with_amount:e.no_piggy_bank,id:0}]}};for(var a in t.data)if(t.data.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var i=t.data[a];if(i.objectGroup){var o=i.objectGroup.order;n[o]||(n[o]={group:{title:i.objectGroup.title},piggies:[]}),n[o].piggies.push({name_with_amount:i.name_with_amount,id:i.id})}i.objectGroup||n[0].piggies.push({name_with_amount:i.name_with_amount,id:i.id}),e.piggies.push(t.data[a])}var r={};Object.keys(n).sort().forEach((function(e){var t=n[e].group.title;r[t]=n[e]})),e.piggies=r,console.log(r)}))}}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return void 0!==this.transactionType&&"Transfer"===this.transactionType?n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.piggy_bank"))+"\n\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("select",{ref:"piggy",staticClass:"form-control",attrs:{name:"piggy_bank[]"},on:{input:e.handleInput}},e._l(this.piggies,(function(t,a){return n("optgroup",{attrs:{label:a}},e._l(t.piggies,(function(t){return n("option",{attrs:{label:t.name_with_amount},domProps:{value:t.id}},[e._v(e._s(t.name_with_amount))])})),0)})),0),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)]):e._e()}),[],!1,null,"fa000966",null);t.a=o.exports},function(e,t,n){"use strict";var a=n(3),i=n.n(a),o=n(51),r={name:"Tags",components:{VueTagsInput:n.n(o).a},props:["value","error"],data:function(){return{tag:"",autocompleteItems:[],debounce:null,tags:this.value}},watch:{tag:"initItems"},methods:{update:function(e){this.autocompleteItems=[],this.tags=e,this.$emit("input",this.tags)},clearTags:function(){this.tags=[]},hasError:function(){return this.error.length>0},initItems:function(){var e=this;if(!(this.tag.length<2)){var t=document.getElementsByTagName("base")[0].href+"json/tags?search=".concat(this.tag);clearTimeout(this.debounce),this.debounce=setTimeout((function(){i.a.get(t).then((function(t){e.autocompleteItems=t.data.map((function(e){return{text:e.tag}}))})).catch((function(){return console.warn("Oh. Something went wrong loading tags.")}))}),600)}}}},s=n(0),c=Object(s.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.tags"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("vue-tags-input",{attrs:{tags:e.tags,title:e.$t("firefly.tags"),classes:"form-input","autocomplete-items":e.autocompleteItems,"add-only-from-autocomplete":!1,placeholder:e.$t("firefly.tags")},on:{"tags-changed":e.update},model:{value:e.tag,callback:function(t){e.tag=t},expression:"tag"}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearTags}},[n("i",{staticClass:"fa fa-trash-o"})])])],1)]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)}),[],!1,null,"4f8ece50",null);t.a=c.exports},function(e,t,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+"api/v1/autocomplete/categories?query="},methods:{hasError:function(){return this.error.length>0},aSyncFunction:function(e,t){axios.get(this.categoryAutoCompleteURI+e).then((function(e){t(e.data)})).catch((function(e){}))},handleInput:function(e){"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(e){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(e){e.keyCode}}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.category"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{type:"text",placeholder:e.$t("firefly.category"),autocomplete:"off","data-role":"input",name:"category[]",title:e.$t("firefly.category")},domProps:{value:e.value},on:{input:e.handleInput,keypress:e.handleEnter,submit:function(e){e.preventDefault()}}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:e.clearCategory}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-function":e.aSyncFunction,target:e.target,"item-key":"name"},on:{input:e.selectedItem},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}}),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"02c70491",null);t.a=o.exports},function(e,t,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(e){this.$emit("input",this.$refs.amount.value)},clearAmount:function(){this.$refs.amount.value="",this.$emit("input",this.$refs.amount.value),this.$emit("clear:amount")},hasError:function(){return this.error.length>0},changeData:function(){var e=this.transactionType;e||this.source.name||this.destination.name?(null===e&&(e=""),""!==e||""===this.source.currency_name?""!==e||""===this.destination.currency_name?"withdrawal"!==e.toLowerCase()&&"reconciliation"!==e.toLowerCase()&&"transfer"!==e.toLowerCase()?("deposit"===e.toLowerCase()&&"debt"!==this.source.type.toLowerCase()&&"loan"!==this.source.type.toLowerCase()&&"mortgage"!==this.source.type.toLowerCase()&&$(this.$refs.cur).text(this.destination.currency_name),"deposit"!==e.toLowerCase()||"debt"!==this.source.type.toLowerCase()&&"loan"!==this.source.type.toLowerCase()&&"mortgage"!==this.source.type.toLowerCase()||$(this.$refs.cur).text(this.source.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()}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-8 col-sm-offset-4 text-sm"},[e._v("\n "+e._s(e.$t("firefly.amount"))+"\n ")]),e._v(" "),n("label",{ref:"cur",staticClass:"col-sm-4 control-label"}),e._v(" "),n("div",{staticClass:"col-sm-8"},[n("div",{staticClass:"input-group"},[n("input",{ref:"amount",staticClass:"form-control",attrs:{type:"number",step:"any",name:"amount[]",title:e.$t("firefly.amount"),autocomplete:"off",placeholder:e.$t("firefly.amount")},domProps:{value:e.value},on:{input:e.handleInput}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearAmount}},[n("i",{staticClass:"fa fa-trash-o"})])])])]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)}),[],!1,null,"440928b9",null);t.a=o.exports},function(e,t,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:{clearAmount:function(){this.$refs.amount.value="",this.$emit("input",this.$refs.amount.value),this.$emit("clear:amount")},hasError:function(){return this.error.length>0},handleInput:function(e){var t={amount:this.$refs.amount.value,currency_id:this.$refs.currency_select.value};this.$emit("input",t)},changeData:function(){this.enabledCurrencies=[];var e=this.destination.type?this.destination.type.toLowerCase():"invalid",t=this.source.type?this.source.type.toLowerCase():"invalid",n=this.transactionType?this.transactionType.toLowerCase():"invalid",a=["loan","debt","mortgage"],i=-1!==a.indexOf(t),o=-1!==a.indexOf(e);if("transfer"===n||o||i)for(var r in this.liability=!0,this.currencies)this.currencies.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294&&this.currencies[r].id===this.destination.currency_id&&this.enabledCurrencies.push(this.currencies[r]);else if("withdrawal"===n&&this.source&&!1===i)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 l in this.currencies)this.currencies.hasOwnProperty(l)&&/^0$|^[1-9]\d*$/.test(l)&&l<=4294967294&&this.enabledCurrencies.push(this.currencies[l])},loadCurrencies:function(){var e=this,t=document.getElementsByTagName("base")[0].href+"json/currencies";axios.get(t,{}).then((function(t){for(var n in e.currencies=[{name:e.no_currency,id:0,enabled:!0}],e.enabledCurrencies=[{name:e.no_currency,id:0,enabled:!0}],t.data)t.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&t.data[n].enabled&&(e.currencies.push(t.data[n]),e.enabledCurrencies.push(t.data[n]))}))}}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return this.enabledCurrencies.length>=1?n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-8 col-sm-offset-4 text-sm"},[e._v("\n "+e._s(e.$t("form.foreign_amount"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-4"},[n("select",{ref:"currency_select",staticClass:"form-control",attrs:{name:"foreign_currency[]"},on:{input:e.handleInput}},e._l(this.enabledCurrencies,(function(t){return t.enabled?n("option",{attrs:{label:t.name},domProps:{value:t.id,selected:e.value.currency_id===t.id}},[e._v("\n "+e._s(t.name)+"\n ")]):e._e()})),0)]),e._v(" "),n("div",{staticClass:"col-sm-8"},[n("div",{staticClass:"input-group"},[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:e.value.amount},on:{input:e.handleInput}}):e._e(),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearAmount}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)]):e._e()}),[],!1,null,"37601284",null);t.a=o.exports},function(e,t,n){"use strict";var a={props:{source:String,destination:String,type:String},methods:{changeValue:function(){if(this.source&&this.destination){var e="";window.accountToTypes[this.source]?window.accountToTypes[this.source][this.destination]?e=window.accountToTypes[this.source][this.destination]:console.warn("User selected an impossible destination."):console.warn("User selected an impossible source."),""!==e&&(this.transactionType=e,this.sentence=this.$t("firefly.you_create_"+e.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"},i=n(0),o=Object(i.a)(a,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-group"},[t("div",{staticClass:"col-sm-12"},[""!==this.sentence?t("label",{staticClass:"control-label text-info"},[this._v("\n "+this._s(this.sentence)+"\n ")]):this._e()])])}),[],!1,null,"0539dc1a",null);t.a=o.exports},function(e,t,n){"use strict";var a={props:{inputName:String,inputDescription: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,this.updateACURI(this.allowedTypes.join(",")),this.name=this.accountName,this.triggerTransactionType()},watch:{transactionType:function(){this.triggerTransactionType()},accountName:function(){this.name=this.accountName},accountTypeFilters:function(){var e=this.accountTypeFilters.join(",");0===this.accountTypeFilters.length&&(e=this.defaultAccountTypeFilters.join(",")),this.updateACURI(e)},name:function(){}},methods:{aSyncFunction:function(e,t){axios.get(this.accountAutoCompleteURI+e).then((function(e){t(e.data)})).catch((function(e){}))},updateACURI:function(e){this.accountAutoCompleteURI=document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/accounts?types="+e+"&query=",console.log("Auto complete URI is now "+this.accountAutoCompleteURI)},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(e){void 0!==this.name&&("string"==typeof this.name&&this.$emit("clear:value"),this.$emit("select:account",this.name))},clearSource:function(e){this.name="",this.$emit("clear:value")},handleEnter:function(e){e.keyCode}}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.inputDescription)+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{type:"text",placeholder:e.inputDescription,"data-index":e.index,autocomplete:"off","data-role":"input",disabled:e.inputDisabled,name:e.inputName,title:e.inputDescription},on:{keypress:e.handleEnter,submit:function(e){e.preventDefault()}}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearSource}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-function":e.aSyncFunction,target:e.target,"item-key":"name_with_balance"},on:{input:e.selectedItem},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}}),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"7a24c7ce",null);t.a=o.exports},function(e,t,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(e){this.$emit("input",this.$refs.budget.value)},handleInput:function(e){this.$emit("input",this.$refs.budget.value)},hasError:function(){return this.error.length>0},loadBudgets:function(){var e=this,t=document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/budgets";axios.get(t,{}).then((function(t){for(var n in e.budgets=[{name:e.no_budget,id:0}],t.data)t.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&e.budgets.push(t.data[n])}))}}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return void 0===this.transactionType||"withdrawal"===this.transactionType||"Withdrawal"===this.transactionType||""===this.transactionType||null===this.transactionType?n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.budget"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[this.budgets.length>0?n("select",{directives:[{name:"model",rawName:"v-model",value:e.selected,expression:"selected"}],ref:"budget",staticClass:"form-control",attrs:{name:"budget[]",title:e.$t("firefly.budget")},on:{input:e.handleInput,change:[function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.selected=t.target.multiple?n:n[0]},e.signalChange]}},e._l(this.budgets,(function(t){return n("option",{attrs:{label:t.name},domProps:{value:t.id}},[e._v(e._s(t.name)+"\n ")])})),0):e._e(),e._v(" "),1===this.budgets.length?n("p",{staticClass:"help-block",domProps:{innerHTML:e._s(e.$t("firefly.no_budget_pointer"))}}):e._e(),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)]):e._e()}),[],!1,null,"e2ce9e94",null);t.a=o.exports},,,,,,,,,,,,,,,,function(e,t,n){e.exports=n(94)},,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var a=n(52),i={name:"EditTransaction",props:{groupId:Number},mounted:function(){this.getGroup()},ready:function(){},methods:{positiveAmount:function(e){return e<0?-1*e:e},roundNumber:function(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n},selectedSourceAccount:function(e,t){if("string"==typeof t)return this.transactions[e].source_account.id=null,void(this.transactions[e].source_account.name=t);this.transactions[e].source_account={id:t.id,name:t.name,type:t.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:this.transactions[e].source_account.allowed_types}},selectedDestinationAccount:function(e,t){if("string"==typeof t)return this.transactions[e].destination_account.id=null,void(this.transactions[e].destination_account.name=t);this.transactions[e].destination_account={id:t.id,name:t.name,type:t.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:this.transactions[e].destination_account.allowed_types}},clearSource:function(e){this.transactions[e].source_account={id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:this.transactions[e].source_account.allowed_types},this.transactions[e].destination_account&&this.selectedDestinationAccount(e,this.transactions[e].destination_account)},setTransactionType:function(e){null!==e&&(this.transactionType=e)},deleteTransaction:function(e,t){t.preventDefault(),this.transactions.splice(e,1)},clearDestination:function(e){this.transactions[e].destination_account={id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:this.transactions[e].destination_account.allowed_types},this.transactions[e].source_account&&this.selectedSourceAccount(e,this.transactions[e].source_account)},getGroup:function(){var e=this,t=window.location.href.split("/"),n="./api/v1/transactions/"+t[t.length-1]+"?_token="+document.head.querySelector('meta[name="csrf-token"]').content;axios.get(n).then((function(t){e.processIncomingGroup(t.data.data)})).catch((function(e){}))},processIncomingGroup:function(e){this.group_title=e.attributes.group_title;var t=e.attributes.transactions.reverse();for(var n in t)if(t.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294){var a=t[n];this.processIncomingGroupRow(a)}},ucFirst:function(e){return"string"==typeof e?e.charAt(0).toUpperCase()+e.slice(1):null},processIncomingGroupRow:function(e){this.setTransactionType(e.type);var t=[];for(var n in e.tags)e.tags.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&t.push({text:e.tags[n],tiClasses:[]});console.log("source allowed types for a "+e.type),console.log(window.expectedSourceTypes.source[this.ucFirst(e.type)]),console.log("destination allowed types for a "+e.type),console.log(window.expectedSourceTypes.destination[this.ucFirst(e.type)]),this.transactions.push({transaction_journal_id:e.transaction_journal_id,description:e.description,date:e.date.substr(0,10),amount:this.roundNumber(this.positiveAmount(e.amount),e.currency_decimal_places),category:e.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:e.budget_id,tags:t,custom_fields:{interest_date:e.interest_date,book_date:e.book_date,process_date:e.process_date,due_date:e.due_date,payment_date:e.payment_date,invoice_date:e.invoice_date,internal_reference:e.internal_reference,notes:e.notes},foreign_amount:{amount:this.roundNumber(this.positiveAmount(e.foreign_amount),e.foreign_currency_decimal_places),currency_id:e.foreign_currency_id},source_account:{id:e.source_id,name:e.source_name,type:e.source_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:window.expectedSourceTypes.source[this.ucFirst(e.type)]},destination_account:{id:e.destination_id,name:e.destination_name,type:e.destination_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:window.expectedSourceTypes.destination[this.ucFirst(e.type)]}})},limitSourceType:function(e){},limitDestinationType:function(e){},convertData:function(){var e,t,n,a={transactions:[]};for(var i in this.transactions.length>1&&(a.group_title=this.group_title),e=this.transactionType?this.transactionType.toLowerCase():"invalid",t=this.transactions[0].source_account.type,n=this.transactions[0].destination_account.type,"invalid"===e&&["Asset account","Loan","Debt","Mortgage"].includes(t)&&(e="withdrawal"),"invalid"===e&&["Asset account","Loan","Debt","Mortgage"].includes(n)&&(e="deposit"),this.transactions)this.transactions.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294&&a.transactions.push(this.convertDataRow(this.transactions[i],i,e));return a},convertDataRow:function(e,t,n){var a,i,o,r,s,c,l=[],u=null,d=null;for(var p in i=e.source_account.id,o=e.source_account.name,r=e.destination_account.id,s=e.destination_account.name,c=e.date,t>0&&(c=this.transactions[0].date),"withdrawal"===n&&""===s&&(r=window.cashAccountId),"deposit"===n&&""===o&&(i=window.cashAccountId),t>0&&("withdrawal"===n.toLowerCase()||"transfer"===n.toLowerCase())&&(i=this.transactions[0].source_account.id,o=this.transactions[0].source_account.name),t>0&&("deposit"===n.toLowerCase()||"transfer"===n.toLowerCase())&&(r=this.transactions[0].destination_account.id,s=this.transactions[0].destination_account.name),l=[],u=null,d=null,e.tags)e.tags.hasOwnProperty(p)&&/^0$|^[1-9]\d*$/.test(p)&&p<=4294967294&&l.push(e.tags[p].text);return""!==e.foreign_amount.amount&&0!==parseFloat(e.foreign_amount.amount)&&(u=e.foreign_amount.amount,d=e.foreign_amount.currency_id),d===e.currency_id&&(u=null,d=null),0===r&&(r=null),0===i&&(i=null),1===(String(e.amount).match(/\,/g)||[]).length&&(e.amount=String(e.amount).replace(",",".")),a={transaction_journal_id:e.transaction_journal_id,type:n,date:c,amount:e.amount,currency_id:e.currency_id,description:e.description,source_id:i,source_name:o,destination_id:r,destination_name:s,category_name:e.category,interest_date:e.custom_fields.interest_date,book_date:e.custom_fields.book_date,process_date:e.custom_fields.process_date,due_date:e.custom_fields.due_date,payment_date:e.custom_fields.payment_date,invoice_date:e.custom_fields.invoice_date,internal_reference:e.custom_fields.internal_reference,notes:e.custom_fields.notes,tags:l},null!==u&&(a.foreign_amount=u,a.foreign_currency_id=d),a.budget_id=parseInt(e.budget),parseInt(e.piggy_bank)>0&&(a.piggy_bank_id=parseInt(e.piggy_bank)),a},submit:function(e){var t=this,n=window.location.href.split("/"),a="./api/v1/transactions/"+n[n.length-1]+"?_token="+document.head.querySelector('meta[name="csrf-token"]').content,i="PUT";this.storeAsNew&&(a="./api/v1/transactions?_token="+document.head.querySelector('meta[name="csrf-token"]').content,i="POST");var o=this.convertData(),r=$("#submitButton");r.prop("disabled",!0),axios({method:i,url:a,data:o}).then((function(e){0===t.collectAttachmentData(e)&&t.redirectUser(e.data.data.id)})).catch((function(e){t.parseErrors(e.response.data)})),e&&e.preventDefault(),r.removeAttr("disabled")},redirectUser:function(e){this.returnAfter?(this.setDefaultErrors(),this.storeAsNew?(this.success_message=this.$t("firefly.transaction_new_stored_link",{ID:e}),this.error_message=""):(this.success_message=this.$t("firefly.transaction_updated_link",{ID:e}),this.error_message="")):this.storeAsNew?window.location.href=window.previousUri+"?transaction_group_id="+e+"&message=created":window.location.href=window.previousUri+"?transaction_group_id="+e+"&message=updated"},collectAttachmentData:function(e){var t=this,n=e.data.data.id,a=[],i=[],o=$('input[name="attachments[]"]');for(var r in o)if(o.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294)for(var s in o[r].files)if(o[r].files.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294){var c=e.data.data.attributes.transactions.reverse();a.push({journal:c[r].transaction_journal_id,file:o[r].files[s]})}var l=a.length,u=function(e){var o,r,s;a.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&(o=a[e],r=t,(s=new FileReader).onloadend=function(t){t.target.readyState===FileReader.DONE&&(i.push({name:a[e].file.name,journal:a[e].journal,content:new Blob([t.target.result])}),i.length===l&&r.uploadFiles(i,n))},s.readAsArrayBuffer(o.file))};for(var d in a)u(d);return l},uploadFiles:function(e,t){var n=this,a=e.length,i=0,o=function(o){if(e.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294){var r={filename:e[o].name,attachable_type:"TransactionJournal",attachable_id:e[o].journal};axios.post("./api/v1/attachments",r).then((function(r){var s="./api/v1/attachments/"+r.data.data.id+"/upload";axios.post(s,e[o].content).then((function(e){return++i===a&&n.redirectUser(t,null),!0})).catch((function(e){return console.error("Could not upload file."),console.error(e),i++,n.error_message="Could not upload attachment: "+e,i===a&&n.redirectUser(t,null),!1}))})).catch((function(e){return console.error("Could not create upload."),console.error(e),++i===a&&n.redirectUser(t,null),!1}))}};for(var r in e)o(r)},addTransaction:function(e){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:[]}}),e&&e.preventDefault()},parseErrors:function(e){var t,n;for(var a in this.setDefaultErrors(),this.error_message="",e.message.length>0?this.error_message=this.$t("firefly.errors_submission"):this.error_message="",e.errors)if(e.errors.hasOwnProperty(a)&&("group_title"===a&&(this.group_title_errors=e.errors[a]),"group_title"!==a)){switch(t=parseInt(a.split(".")[1]),n=a.split(".")[2]){case"amount":case"date":case"budget_id":case"description":case"tags":this.transactions[t].errors[n]=e.errors[a];break;case"source_name":case"source_id":this.transactions[t].errors.source_account=this.transactions[t].errors.source_account.concat(e.errors[a]);break;case"destination_name":case"destination_id":this.transactions[t].errors.destination_account=this.transactions[t].errors.destination_account.concat(e.errors[a]);break;case"foreign_amount":case"foreign_currency_id":this.transactions[t].errors.foreign_amount=this.transactions[t].errors.foreign_amount.concat(e.errors[a])}this.transactions[t].errors.source_account=Array.from(new Set(this.transactions[t].errors.source_account)),this.transactions[t].errors.destination_account=Array.from(new Set(this.transactions[t].errors.destination_account))}},setDefaultErrors:function(){for(var e in this.transactions)this.transactions.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&(this.transactions[e].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}}},o=n(0),r=Object(o.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;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"}}),e._v(" "),""!==e.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":e.$t("firefly.close")}},[n("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])]),e._v(" "),n("strong",[e._v(e._s(e.$t("firefly.flash_error")))]),e._v(" "+e._s(e.error_message)+"\n ")])])]):e._e(),e._v(" "),""!==e.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":e.$t("firefly.close")}},[n("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])]),e._v(" "),n("strong",[e._v(e._s(e.$t("firefly.flash_success")))]),e._v(" "),n("span",{domProps:{innerHTML:e._s(e.success_message)}})])])]):e._e(),e._v(" "),n("div",e._l(e.transactions,(function(t,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"},[e.transactions.length>1?n("span",[e._v(e._s(e.$t("firefly.split"))+" "+e._s(a+1)+" / "+e._s(e.transactions.length))]):e._e(),e._v(" "),1===e.transactions.length?n("span",[e._v(e._s(e.$t("firefly.transaction_journal_information")))]):e._e()]),e._v(" "),e.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(t){return e.deleteTransaction(a,t)}}},[n("i",{staticClass:"fa fa-trash"})])]):e._e()]),e._v(" "),n("div",{staticClass:"box-body"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-4"},["reconciliation"!==e.transactionType.toLowerCase()?n("transaction-description",{attrs:{index:a,error:t.errors.description},model:{value:t.description,callback:function(n){e.$set(t,"description",n)},expression:"transaction.description"}}):e._e(),e._v(" "),"reconciliation"!==e.transactionType.toLowerCase()?n("account-select",{attrs:{inputName:"source[]",inputDescription:e.$t("firefly.source_account"),accountName:t.source_account.name,accountTypeFilters:t.source_account.allowed_types,transactionType:e.transactionType,index:a,error:t.errors.source_account},on:{"clear:value":function(t){return e.clearSource(a)},"select:account":function(t){return e.selectedSourceAccount(a,t)}}}):e._e(),e._v(" "),"reconciliation"===e.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",[e._v("\n "+e._s(e.$t("firefly.source_account_reconciliation"))+"\n ")])])])]):e._e(),e._v(" "),"reconciliation"!==e.transactionType.toLowerCase()?n("account-select",{attrs:{inputName:"destination[]",inputDescription:e.$t("firefly.destination_account"),accountName:t.destination_account.name,accountTypeFilters:t.destination_account.allowed_types,transactionType:e.transactionType,index:a,error:t.errors.destination_account},on:{"clear:value":function(t){return e.clearDestination(a)},"select:account":function(t){return e.selectedDestinationAccount(a,t)}}}):e._e(),e._v(" "),"reconciliation"===e.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",[e._v("\n "+e._s(e.$t("firefly.destination_account_reconciliation"))+"\n ")])])])]):e._e(),e._v(" "),n("standard-date",{attrs:{index:a,error:t.errors.date},model:{value:t.date,callback:function(n){e.$set(t,"date",n)},expression:"transaction.date"}}),e._v(" "),0===a?n("div",[n("transaction-type",{attrs:{source:t.source_account.type,destination:t.destination_account.type},on:{"set:transactionType":function(t){return e.setTransactionType(t)},"act:limitSourceType":function(t){return e.limitSourceType(t)},"act:limitDestinationType":function(t){return e.limitDestinationType(t)}}})],1):e._e()],1),e._v(" "),n("div",{staticClass:"col-lg-4"},[n("amount",{attrs:{source:t.source_account,destination:t.destination_account,error:t.errors.amount,transactionType:e.transactionType},model:{value:t.amount,callback:function(n){e.$set(t,"amount",n)},expression:"transaction.amount"}}),e._v(" "),"reconciliation"!==e.transactionType.toLowerCase()?n("foreign-amount",{attrs:{source:t.source_account,destination:t.destination_account,transactionType:e.transactionType,error:t.errors.foreign_amount,no_currency:e.$t("firefly.none_in_select_list"),title:e.$t("form.foreign_amount")},model:{value:t.foreign_amount,callback:function(n){e.$set(t,"foreign_amount",n)},expression:"transaction.foreign_amount"}}):e._e()],1),e._v(" "),n("div",{staticClass:"col-lg-4"},[n("budget",{attrs:{transactionType:e.transactionType,error:t.errors.budget_id,no_budget:e.$t("firefly.none_in_select_list")},model:{value:t.budget,callback:function(n){e.$set(t,"budget",n)},expression:"transaction.budget"}}),e._v(" "),n("category",{attrs:{transactionType:e.transactionType,error:t.errors.category},model:{value:t.category,callback:function(n){e.$set(t,"category",n)},expression:"transaction.category"}}),e._v(" "),n("tags",{attrs:{transactionType:e.transactionType,tags:t.tags,error:t.errors.tags},model:{value:t.tags,callback:function(n){e.$set(t,"tags",n)},expression:"transaction.tags"}}),e._v(" "),n("custom-transaction-fields",{attrs:{error:t.errors.custom_errors},model:{value:t.custom_fields,callback:function(n){e.$set(t,"custom_fields",n)},expression:"transaction.custom_fields"}})],1)])]),e._v(" "),e.transactions.length-1===a&&"reconciliation"!==e.transactionType.toLowerCase()?n("div",{staticClass:"box-footer"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:e.addTransaction}},[e._v(e._s(e.$t("firefly.add_another_split")))])]):e._e()])])])})),0),e._v(" "),e.transactions.length>1?n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-6 col-md-6 col-sm-12 col-xs-12"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title"},[e._v("\n "+e._s(e.$t("firefly.split_transaction_title"))+"\n ")])]),e._v(" "),n("div",{staticClass:"box-body"},[n("group-description",{attrs:{error:e.group_title_errors},model:{value:e.group_title,callback:function(t){e.group_title=t},expression:"group_title"}})],1)])])]):e._e(),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-6 col-md-6 col-sm-12 col-xs-12"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title"},[e._v("\n "+e._s(e.$t("firefly.submission"))+"\n ")])]),e._v(" "),n("div",{staticClass:"box-body"},[n("div",{staticClass:"checkbox"},[n("label",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.returnAfter,expression:"returnAfter"}],attrs:{name:"return_after",type:"checkbox"},domProps:{checked:Array.isArray(e.returnAfter)?e._i(e.returnAfter,null)>-1:e.returnAfter},on:{change:function(t){var n=e.returnAfter,a=t.target,i=!!a.checked;if(Array.isArray(n)){var o=e._i(n,null);a.checked?o<0&&(e.returnAfter=n.concat([null])):o>-1&&(e.returnAfter=n.slice(0,o).concat(n.slice(o+1)))}else e.returnAfter=i}}}),e._v("\n "+e._s(e.$t("firefly.after_update_create_another"))+"\n ")])]),e._v(" "),null!==e.transactionType&&"reconciliation"!==e.transactionType.toLowerCase()?n("div",{staticClass:"checkbox"},[n("label",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.storeAsNew,expression:"storeAsNew"}],attrs:{name:"store_as_new",type:"checkbox"},domProps:{checked:Array.isArray(e.storeAsNew)?e._i(e.storeAsNew,null)>-1:e.storeAsNew},on:{change:function(t){var n=e.storeAsNew,a=t.target,i=!!a.checked;if(Array.isArray(n)){var o=e._i(n,null);a.checked?o<0&&(e.storeAsNew=n.concat([null])):o>-1&&(e.storeAsNew=n.slice(0,o).concat(n.slice(o+1)))}else e.storeAsNew=i}}}),e._v("\n "+e._s(e.$t("firefly.store_as_new"))+"\n ")])]):e._e()]),e._v(" "),n("div",{staticClass:"box-footer"},[n("div",{staticClass:"btn-group"},[n("button",{staticClass:"btn btn-success",on:{click:e.submit}},[e._v(e._s(e.$t("firefly.update_transaction")))])])])])])])])}),[],!1,null,"75a4fb0e",null).exports,s=n(53),c=n(54),l=n(55),u=n(56),d=n(57),p=n(58),_=n(59),A=n(60),f=n(61),h=n(62),g=n(63),m=n(64),v=n(65),y=n(66),b=n(67);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",l.a),Vue.component("standard-date",u.a),Vue.component("group-description",d.a),Vue.component("transaction-description",p.a),Vue.component("custom-transaction-fields",_.a),Vue.component("piggy-bank",A.a),Vue.component("tags",f.a),Vue.component("category",h.a),Vue.component("amount",g.a),Vue.component("foreign-amount",m.a),Vue.component("transaction-type",v.a),Vue.component("account-select",y.a),Vue.component("edit-transaction",r);var k=n(29),w={};new Vue({i18n:k,el:"#edit_transaction",render:function(e){return e(r,{props:w})}})}]); \ No newline at end of file +!function(e){var t={};function n(a){if(t[a])return t[a].exports;var i=t[a]={i:a,l:!1,exports:{}};return e[a].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(a,i,function(t){return e[t]}.bind(null,i));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=83)}([function(e,t,n){"use strict";function a(e,t,n,a,i,o,r,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),a&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),r?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},l._ssrRegister=c):i&&(c=s?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";var a=n(5),i=n(12),o=Object.prototype.toString;function r(e){return"[object Array]"===o.call(e)}function s(e){return null!==e&&"object"==typeof e}function c(e){return"[object Function]"===o.call(e)}function l(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),r(e))for(var n=0,a=e.length;n=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},a.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),a.forEach(["post","put","patch"],(function(e){c.headers[e]=a.merge(o)})),e.exports=c}).call(this,n(10))},function(e,t,n){e.exports=n(11)},,function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),a=0;a1)for(var n=1;n=0)return;r[t]="set-cookie"===t?(r[t]?r[t]:[]).concat([n]):r[t]?r[t]+", "+n:n}})),r):r}},function(e,t,n){"use strict";var a=n(1);e.exports=a.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var a=e;return t&&(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 e=i(window.location.href),function(t){var n=a.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var a=n(1);e.exports=a.isStandardBrowserEnv()?{write:function(e,t,n,i,o,r){var s=[];s.push(e+"="+encodeURIComponent(t)),a.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),a.isString(i)&&s.push("path="+i),a.isString(o)&&s.push("domain="+o),!0===r&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var a=n(1);function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){a.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},function(e,t,n){"use strict";var a=n(1),i=n(23),o=n(8),r=n(2),s=n(24),c=n(25);function l(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return l(e),e.baseURL&&!s(e.url)&&(e.url=c(e.baseURL,e.url)),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=a.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),a.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||r.adapter)(e).then((function(t){return l(e),t.data=i(t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(l(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,n){"use strict";var a=n(1);e.exports=function(e,t,n){return a.forEach(n,(function(n){e=n(e,t)})),e}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var a=n(9);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new a(e),t(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,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(e,t,n){e.exports=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{cs:n(30),de:n(31),en:n(32),es:n(33),el:n(34),fr:n(35),hu:n(36),id:n(37),it:n(38),nl:n(39),no:n(40),pl:n(41),fi:n(42),"pt-br":n(43),ro:n(44),ru:n(45),zh:n(46),"zh-tw":n(47),"zh-cn":n(48),sv:n(49),vi:n(50)}})},function(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"Jak to jde?","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_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"Informace o transakci","no_budget_pointer":"Zdá se, že zatím nemáte žádné rozpočty. Na stránce rozpočty byste nějaké měli vytvořit. Rozpočty mohou pomoci udržet si přehled ve výdajích.","source_account":"Zdrojový účet","hidden_fields_preferences":"You can enable more transaction options in your settings.","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":"(žádná pokladnička)","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.","edit":"Upravit","delete":"Odstranit","name":"Název","profile_whoops":"Whoops!","profile_something_wrong":"Something went wrong!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Create New Client","profile_oauth_create_client":"Create Client","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Something your users will recognize and trust.","profile_oauth_redirect_url":"Redirect URL","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Revoke","profile_personal_access_tokens":"Personal Access Tokens","profile_personal_access_token":"Personal Access Token","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Create new token","profile_create_token":"Create token","profile_create":"Create","profile_save_changes":"Save changes","default_group_title_name":"(ungrouped)","piggy_bank":"Pokladnička"},"form":{"interest_date":"Úrokové datum","book_date":"Datum rezervace","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(e){e.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_stored_link":"Buchung #{ID} (\\"{title}\\") wurde gespeichert.","transaction_updated_link":"Buchung#{ID} wurde aktualisiert.","transaction_new_stored_link":"Buchung #{ID} wurde gespeichert.","transaction_journal_information":"Transaktionsinformationen","no_budget_pointer":"Sie scheinen noch keine Kostenrahmen festgelegt zu haben. Sie sollten einige davon auf der Seite „Kostenrahmen” anlegen. Kostenrahmen können Ihnen dabei helfen, den Überblick über die Ausgaben zu behalten.","source_account":"Quellkonto","hidden_fields_preferences":"Sie können weitere Buchungsoptionen in Ihren Einstellungen aktivieren.","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.","edit":"Bearbeiten","delete":"Löschen","name":"Name","profile_whoops":"Huch!","profile_something_wrong":"Ein Problem ist aufgetreten!","profile_try_again":"Ein Problem ist aufgetreten. Bitte versuchen Sie es erneut.","profile_oauth_clients":"OAuth-Clients","profile_oauth_no_clients":"Sie haben noch keine OAuth-Clients erstellt.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client-ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Geheimnis","profile_oauth_create_new_client":"Neuen Client erstellen","profile_oauth_create_client":"Client erstellen","profile_oauth_edit_client":"Client bearbeiten","profile_oauth_name_help":"Etwas das Ihre Nutzer erkennen und dem sie vertrauen.","profile_oauth_redirect_url":"Weiterleitungs-URL","profile_oauth_redirect_url_help":"Die Authorisierungs-Callback-URL Ihrer Anwendung.","profile_authorized_apps":"Autorisierte Anwendungen","profile_authorized_clients":"Autorisierte Clients","profile_scopes":"Bereiche","profile_revoke":"Widerrufen","profile_personal_access_tokens":"Persönliche Zugangs-Tokens","profile_personal_access_token":"Persönlicher Zugangs-Token","profile_personal_access_token_explanation":"Hier ist Ihr neues persönlicher Zugangsschlüssel. Dies ist das einzige Mal, dass er angezeigt wird, also verlieren Sie ihn nicht! Sie können dieses Token jetzt verwenden, um API-Anfragen zu stellen.","profile_no_personal_access_token":"Sie haben keine persönlichen Zugangsschlüssel erstellt.","profile_create_new_token":"Neuen Schlüssel erstellen","profile_create_token":"Schlüssel erstellen","profile_create":"Erstellen","profile_save_changes":"Änderungen speichern","default_group_title_name":"(ohne Gruppierung)","piggy_bank":"Sparschwein"},"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(e){e.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_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"Transaction information","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Source account","hidden_fields_preferences":"You can enable more transaction options in your settings.","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.","edit":"Edit","delete":"Delete","name":"Name","profile_whoops":"Whoops!","profile_something_wrong":"Something went wrong!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Create New Client","profile_oauth_create_client":"Create Client","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Something your users will recognize and trust.","profile_oauth_redirect_url":"Redirect URL","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Revoke","profile_personal_access_tokens":"Personal Access Tokens","profile_personal_access_token":"Personal Access Token","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Create new token","profile_create_token":"Create token","profile_create":"Create","profile_save_changes":"Save changes","default_group_title_name":"(ungrouped)","piggy_bank":"Piggy bank"},"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(e){e.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_stored_link":"La transacción #{ID} (\\"{title}\\") ha sido almacenada.","transaction_updated_link":"La transacción #{ID} ha sido actualizada.","transaction_new_stored_link":"La transacción #{ID} ha sido guardada.","transaction_journal_information":"Información de transacción","no_budget_pointer":"Parece que aún no tiene presupuestos. Debe crear algunos en la página presupuestos. Los presupuestos pueden ayudarle a realizar un seguimiento de los gastos.","source_account":"Cuenta origen","hidden_fields_preferences":"Puede habilitar más opciones de transacción en sus ajustes .","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.","edit":"Editar","delete":"Eliminar","name":"Nombre","profile_whoops":"¡Ups!","profile_something_wrong":"¡Algo salió mal!","profile_try_again":"Algo salió mal. Por favor, vuelva a intentarlo.","profile_oauth_clients":"Clientes de OAuth","profile_oauth_no_clients":"No ha creado ningún cliente OAuth.","profile_oauth_clients_header":"Clientes","profile_oauth_client_id":"ID del cliente","profile_oauth_client_name":"Nombre","profile_oauth_client_secret":"Secreto","profile_oauth_create_new_client":"Crear un Nuevo Cliente","profile_oauth_create_client":"Crear Cliente","profile_oauth_edit_client":"Editar Cliente","profile_oauth_name_help":"Algo que sus usuarios reconocerán y confiarán.","profile_oauth_redirect_url":"Redirigir URL","profile_oauth_redirect_url_help":"La URL de devolución de autorización de su aplicación.","profile_authorized_apps":"Aplicaciones autorizadas","profile_authorized_clients":"Clientes autorizados","profile_scopes":"Ámbitos","profile_revoke":"Revocar","profile_personal_access_tokens":"Tokens de acceso personal","profile_personal_access_token":"Token de acceso personal","profile_personal_access_token_explanation":"Aquí está su nuevo token de acceso personal. Esta es la única vez que se mostrará así que ¡no lo pierda! Ahora puede usar este token para hacer solicitudes de la API.","profile_no_personal_access_token":"No ha creado ningún token de acceso personal.","profile_create_new_token":"Crear nuevo token","profile_create_token":"Crear token","profile_create":"Crear","profile_save_changes":"Guardar cambios","default_group_title_name":"(sin agrupación)","piggy_bank":"Alcancía"},"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(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"Τι παίζει;","flash_error":"Σφάλμα!","flash_success":"Επιτυχία!","close":"Κλείσιμο","split_transaction_title":"Περιγραφή της συναλλαγής με διαχωρισμό","errors_submission":"Υπήρξε κάποιο λάθος με την υποβολή σας. Ελέγξτε τα παρακάτω σφάλματα.","split":"Διαχωρισμός","transaction_stored_link":"Η συναλλαγή #{ID} (\\"{title}\\") έχει αποθηκευτεί.","transaction_updated_link":"Η συναλλαγή #{ID} έχει ενημερωθεί.","transaction_new_stored_link":"Η συναλλαγή #{ID} έχει αποθηκευτεί.","transaction_journal_information":"Πληροφορίες συναλλαγής","no_budget_pointer":"Φαίνεται πως δεν έχετε ορίσει προϋπολογισμούς ακόμη. Πρέπει να δημιουργήσετε κάποιον στη σελίδα προϋπολογισμών. Οι προϋπολογισμοί σας βοηθούν να επιβλέπετε τις δαπάνες σας.","source_account":"Λογαριασμός προέλευσης","hidden_fields_preferences":"Μπορείτε να ενεργοποιήσετε περισσότερες επιλογές συναλλαγών στις ρυθμίσεις.","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_create_transfer":"Δημιουργείτε μια μεταφορά.","you_create_deposit":"Δημιουργείτε μια κατάθεση.","edit":"Επεξεργασία","delete":"Διαγραφή","name":"Όνομα","profile_whoops":"Ούπς!","profile_something_wrong":"Κάτι πήγε στραβά!","profile_try_again":"Κάτι πήγε στραβά. Παρακαλώ προσπαθήστε ξανά.","profile_oauth_clients":"Πελάτες OAuth","profile_oauth_no_clients":"Δεν έχετε δημιουργήσει πελάτες OAuth.","profile_oauth_clients_header":"Πελάτες","profile_oauth_client_id":"Αναγνωριστικό πελάτη","profile_oauth_client_name":"Όνομα","profile_oauth_client_secret":"Μυστικό","profile_oauth_create_new_client":"Δημιουργία νέου πελάτη","profile_oauth_create_client":"Δημιουργία πελάτη","profile_oauth_edit_client":"Επεξεργασία πελάτη","profile_oauth_name_help":"Κάτι που οι χρήστες σας θα αναγνωρίζουν και θα εμπιστεύονται.","profile_oauth_redirect_url":"URL ανακατεύθυνσης","profile_oauth_redirect_url_help":"To authorization callback URL της εφαρμογής σας.","profile_authorized_apps":"Εξουσιοδοτημένες εφαρμογές","profile_authorized_clients":"Εξουσιοδοτημένοι πελάτες","profile_scopes":"Πεδία εφαρμογής","profile_revoke":"Ανάκληση","profile_personal_access_tokens":"Διακριτικά προσωπικής πρόσβασης","profile_personal_access_token":"Διακριτικά προσωπικής πρόσβασης","profile_personal_access_token_explanation":"Εδώ είναι το νέο διακριτικό προσωπικής πρόσβασης. Αυτή είναι η μόνη φορά που θα εμφανιστεί, οπότε μη το χάσετε! Μπορείτε να χρησιμοποιείτε αυτό το διακριτικό για να κάνετε κλήσεις API.","profile_no_personal_access_token":"Δεν έχετε δημιουργήσει προσωπικά διακριτικά πρόσβασης.","profile_create_new_token":"Δημιουργία νέου διακριτικού","profile_create_token":"Δημιουργία διακριτικού","profile_create":"Δημιουργία","profile_save_changes":"Αποθήκευση αλλαγών","default_group_title_name":"(χωρίς ομάδα)","piggy_bank":"Κουμπαράς"},"form":{"interest_date":"Ημερομηνία τοκισμού","book_date":"Ημερομηνία εγγραφής","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","foreign_amount":"Ποσό σε ξένο νόμισμα","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης","internal_reference":"Εσωτερική αναφορά"},"config":{"html_language":"el"}}')},function(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"Quoi de neuf ?","flash_error":"Erreur !","flash_success":"Super !","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_stored_link":"L\'opération n°{ID} (\\"{title}\\") a été enregistrée.","transaction_updated_link":"L\'opération n°{ID} a été mise à jour.","transaction_new_stored_link":"L\'opération n°{ID} a été enregistrée.","transaction_journal_information":"Informations sur les opérations","no_budget_pointer":"Vous semblez n’avoir encore aucun budget. Vous devriez en créer un sur la page des budgets. Les budgets peuvent vous aider à garder une trace des dépenses.","source_account":"Compte source","hidden_fields_preferences":"Vous pouvez activer plus d\'options d\'opérations dans vos paramètres.","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.","edit":"Modifier","delete":"Supprimer","name":"Nom","profile_whoops":"Oups !","profile_something_wrong":"Une erreur s\'est produite !","profile_try_again":"Une erreur s’est produite. Merci d’essayer à nouveau.","profile_oauth_clients":"Clients OAuth","profile_oauth_no_clients":"Vous n’avez pas encore créé de client OAuth.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Identifiant","profile_oauth_client_name":"Nom","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Créer un nouveau client","profile_oauth_create_client":"Créer un client","profile_oauth_edit_client":"Modifier le client","profile_oauth_name_help":"Quelque chose que vos utilisateurs reconnaîtront et qui inspirera confiance.","profile_oauth_redirect_url":"URL de redirection","profile_oauth_redirect_url_help":"URL de callback de votre application.","profile_authorized_apps":"Applications autorisées","profile_authorized_clients":"Clients autorisés","profile_scopes":"Permissions","profile_revoke":"Révoquer","profile_personal_access_tokens":"Jetons d\'accès personnels","profile_personal_access_token":"Jeton d\'accès personnel","profile_personal_access_token_explanation":"Voici votre nouveau jeton d’accès personnel. Ceci est la seule fois où vous pourrez le voir, ne le perdez pas ! Vous pouvez dès à présent utiliser ce jeton pour lancer des requêtes avec l’API.","profile_no_personal_access_token":"Vous n’avez pas encore créé de jeton d’accès personnel.","profile_create_new_token":"Créer un nouveau jeton","profile_create_token":"Créer un jeton","profile_create":"Créer","profile_save_changes":"Enregistrer les modifications","default_group_title_name":"(Sans groupement)","piggy_bank":"Tirelire"},"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(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"Mi a helyzet?","flash_error":"Hiba!","flash_success":"Siker!","close":"Bezárás","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"Hiba történt a beküldés során. Kérem, javítsa az alábbi hibákat.","split":"Felosztás","transaction_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"Tranzakciós információk","no_budget_pointer":"Úgy tűnik, még nincsenek költségkeretek. Költségkereteket a költségkeretek oldalon lehet létrehozni. A költségkeretek segítenek nyomon követni a költségeket.","source_account":"Forrás számla","hidden_fields_preferences":"A beállításokban több tranzakciós beállítási lehetőség is megadható.","destination_account":"Célszámla","add_another_split":"Másik felosztás hozzáadása","submission":"Feliratkozás","create_another":"A tárolás után térjen vissza ide új létrehozásához.","reset_after":"Űrlap törlése a beküldés után","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":"Tranzakció frissítése","after_update_create_another":"A frissítés után térjen vissza ide a szerkesztés folytatásához.","store_as_new":"Tárolás új tranzakcióként frissítés helyett.","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":"(nincs malacpersely)","description":"Leírás","split_transaction_title_help":"Felosztott tranzakció létrehozásakor meg kell adni egy globális leírást a tranzakció összes felosztása részére.","destination_account_reconciliation":"Nem lehet szerkeszteni egy egyeztetett tranzakció célszámláját.","source_account_reconciliation":"Nem lehet szerkeszteni egy egyeztetett tranzakció forrásszámláját.","budget":"Költségkeret","you_create_withdrawal":"Egy költség létrehozása.","you_create_transfer":"Egy átutalás létrehozása.","you_create_deposit":"Egy bevétel létrehozása.","edit":"Szerkesztés","delete":"Törlés","name":"Név","profile_whoops":"Whoops!","profile_something_wrong":"Something went wrong!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Create New Client","profile_oauth_create_client":"Create Client","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Something your users will recognize and trust.","profile_oauth_redirect_url":"Redirect URL","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Revoke","profile_personal_access_tokens":"Personal Access Tokens","profile_personal_access_token":"Personal Access Token","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Create new token","profile_create_token":"Create token","profile_create":"Create","profile_save_changes":"Save changes","default_group_title_name":"(ungrouped)","piggy_bank":"Malacpersely"},"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":"Külföldi összeg","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma","internal_reference":"Belső hivatkozás"},"config":{"html_language":"hu"}}')},function(e){e.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_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"Informasi transaksi","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Source account","hidden_fields_preferences":"You can enable more transaction options in your settings.","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.","edit":"Edit","delete":"Menghapus","name":"Nama","profile_whoops":"Whoops!","profile_something_wrong":"Something went wrong!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Create New Client","profile_oauth_create_client":"Create Client","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Something your users will recognize and trust.","profile_oauth_redirect_url":"Redirect URL","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Revoke","profile_personal_access_tokens":"Personal Access Tokens","profile_personal_access_token":"Personal Access Token","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Create new token","profile_create_token":"Create token","profile_create":"Create","profile_save_changes":"Save changes","default_group_title_name":"(ungrouped)","piggy_bank":"Celengan"},"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(e){e.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_stored_link":"La transazione #{ID} (\\"{title}\\") è stata salvata.","transaction_updated_link":"La transazione #{ID} è stata aggiornata.","transaction_new_stored_link":"La transazione #{ID} è stata salvata.","transaction_journal_information":"Informazioni transazione","no_budget_pointer":"Sembra che tu non abbia ancora dei budget. Dovresti crearne alcuni nella pagina dei budget. I budget possono aiutarti a tenere traccia delle spese.","source_account":"Conto di origine","hidden_fields_preferences":"Puoi abilitare maggiori opzioni per le transazioni nelle tue impostazioni.","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":"Importo","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.","edit":"Modifica","delete":"Elimina","name":"Nome","profile_whoops":"Oops!","profile_something_wrong":"Qualcosa non ha funzionato!","profile_try_again":"Qualcosa non ha funzionato. Riprova.","profile_oauth_clients":"Client OAuth","profile_oauth_no_clients":"Non hai creato nessun client OAuth.","profile_oauth_clients_header":"Client","profile_oauth_client_id":"ID client","profile_oauth_client_name":"Nome","profile_oauth_client_secret":"Segreto","profile_oauth_create_new_client":"Crea nuovo client","profile_oauth_create_client":"Crea client","profile_oauth_edit_client":"Modifica client","profile_oauth_name_help":"Qualcosa di cui i tuoi utenti potranno riconoscere e fidarsi.","profile_oauth_redirect_url":"URL di reindirizzamento","profile_oauth_redirect_url_help":"L\'URL di callback dell\'autorizzazione della tua applicazione.","profile_authorized_apps":"Applicazioni autorizzate","profile_authorized_clients":"Client autorizzati","profile_scopes":"Ambiti","profile_revoke":"Revoca","profile_personal_access_tokens":"Token di acceso personale","profile_personal_access_token":"Token di acceso personale","profile_personal_access_token_explanation":"Ecco il tuo nuovo token di accesso personale. Questa è l\'unica volta che ti viene mostrato per cui non perderlo! Da adesso puoi utilizzare questo token per effettuare delle richieste API.","profile_no_personal_access_token":"Non hai creato alcun token di accesso personale.","profile_create_new_token":"Crea nuovo token","profile_create_token":"Crea token","profile_create":"Crea","profile_save_changes":"Salva modifiche","default_group_title_name":"(non in un gruppo)","piggy_bank":"Salvadanaio"},"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(e){e.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_stored_link":"Transactie #{ID} (\\"{title}\\") is opgeslagen.","transaction_updated_link":"Transactie #{ID} is geüpdatet.","transaction_new_stored_link":"Transactie #{ID} is opgeslagen.","transaction_journal_information":"Transactieinformatie","no_budget_pointer":"Je hebt nog geen budgetten. Maak er een aantal op de budgetten-pagina. Met budgetten kan je je uitgaven beter bijhouden.","source_account":"Bronrekening","hidden_fields_preferences":"Je kan meer transactieopties inschakelen in je instellingen.","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.","edit":"Wijzig","delete":"Verwijder","name":"Naam","profile_whoops":"Oeps!","profile_something_wrong":"Er is iets mis gegaan!","profile_try_again":"Er is iets misgegaan. Probeer het nogmaals.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"Je hebt nog geen OAuth-clients aangemaakt.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Naam","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Nieuwe client aanmaken","profile_oauth_create_client":"Client aanmaken","profile_oauth_edit_client":"Client bewerken","profile_oauth_name_help":"Iets dat je gebruikers herkennen en vertrouwen.","profile_oauth_redirect_url":"Redirect-URL","profile_oauth_redirect_url_help":"De authorisatie-callback-url van jouw applicatie.","profile_authorized_apps":"Geautoriseerde toepassingen","profile_authorized_clients":"Geautoriseerde clients","profile_scopes":"Scopes","profile_revoke":"Intrekken","profile_personal_access_tokens":"Persoonlijke toegangstokens","profile_personal_access_token":"Persoonlijk toegangstoken","profile_personal_access_token_explanation":"Hier is je nieuwe persoonlijke toegangstoken. Dit is de enige keer dat deze getoond wordt dus verlies deze niet! Je kan deze toegangstoken gebruiken om API-aanvragen te maken.","profile_no_personal_access_token":"Je hebt nog geen persoonlijke toegangstokens aangemaakt.","profile_create_new_token":"Nieuwe token aanmaken","profile_create_token":"Token aanmaken","profile_create":"Creër","profile_save_changes":"Aanpassingen opslaan","default_group_title_name":"(ongegroepeerd)","piggy_bank":"Spaarpotje"},"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(e){e.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(e){e.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_stored_link":"Transakcja #{ID} (\\"{title}\\") została zapisana.","transaction_updated_link":"Transakcja #{ID} została zaktualizowana.","transaction_new_stored_link":"Transakcja #{ID} została zapisana.","transaction_journal_information":"Informacje o transakcji","no_budget_pointer":"Wygląda na to że nie masz jeszcze budżetów. Powinieneś utworzyć kilka na stronie budżety. Budżety mogą Ci pomóc śledzić wydatki.","source_account":"Konto źródłowe","hidden_fields_preferences":"Możesz włączyć więcej opcji transakcji w swoich ustawieniach.","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":"Tworzysz wydatek.","you_create_transfer":"Tworzysz przelew.","you_create_deposit":"Tworzysz wpłatę.","edit":"Modyfikuj","delete":"Usuń","name":"Nazwa","profile_whoops":"Uuuups!","profile_something_wrong":"Coś poszło nie tak!","profile_try_again":"Coś poszło nie tak. Spróbuj ponownie.","profile_oauth_clients":"Klienci OAuth","profile_oauth_no_clients":"Nie utworzyłeś żadnych klientów OAuth.","profile_oauth_clients_header":"Klienci","profile_oauth_client_id":"ID klienta","profile_oauth_client_name":"Nazwa","profile_oauth_client_secret":"Sekretny klucz","profile_oauth_create_new_client":"Utwórz nowego klienta","profile_oauth_create_client":"Utwórz klienta","profile_oauth_edit_client":"Edytuj klienta","profile_oauth_name_help":"Coś, co Twoi użytkownicy będą rozpoznawać i ufać.","profile_oauth_redirect_url":"Przekierowanie URL","profile_oauth_redirect_url_help":"Adres URL wywołania zwrotnego autoryzacji aplikacji.","profile_authorized_apps":"Autoryzowane aplikacje","profile_authorized_clients":"Autoryzowani klienci","profile_scopes":"Zakresy","profile_revoke":"Unieważnij","profile_personal_access_tokens":"Osobiste tokeny dostępu","profile_personal_access_token":"Osobisty token dostępu","profile_personal_access_token_explanation":"Oto twój nowy osobisty token dostępu. Jest to jedyny raz, gdy zostanie wyświetlony, więc nie zgub go! Możesz teraz użyć tego tokenu, aby wykonać zapytania API.","profile_no_personal_access_token":"Nie utworzyłeś żadnych osobistych tokenów.","profile_create_new_token":"Utwórz nowy token","profile_create_token":"Utwórz token","profile_create":"Utwórz","profile_save_changes":"Zapisz zmiany","default_group_title_name":"(bez grupy)","piggy_bank":"Skarbonka"},"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(e){e.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_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"Tapahtumatiedot","no_budget_pointer":"Sinulla ei näyttäisi olevan vielä yhtään budjettia. Sinun kannattaisi luoda niitä budjetit-sivulla. Budjetit voivat auttaa sinua pitämään kirjaa kuluistasi.","source_account":"Lähdetili","hidden_fields_preferences":"Voit aktivoida lisää tapahtumavalintoja asetuksissa.","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.","edit":"Muokkaa","delete":"Poista","name":"Nimi","profile_whoops":"Hupsis!","profile_something_wrong":"Jokin meni vikaan!","profile_try_again":"Jokin meni vikaan. Yritä uudelleen.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Asiakasohjelmat","profile_oauth_client_id":"Asiakastunnus","profile_oauth_client_name":"Nimi","profile_oauth_client_secret":"Salaisuus","profile_oauth_create_new_client":"Luo Uusi Asiakas","profile_oauth_create_client":"Luo Asiakas","profile_oauth_edit_client":"Muokkaa asiakasta","profile_oauth_name_help":"Jotain käyttäjillesi tuttua ja luotettavaa.","profile_oauth_redirect_url":"URL:n uudelleenohjaus","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Peruuta","profile_personal_access_tokens":"Henkilökohtaiset Käyttöoikeuskoodit","profile_personal_access_token":"Henkilökohtainen Käyttöoikeuskoodi","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Luo uusi tunnus","profile_create_token":"Luo tunnus","profile_create":"Luo","profile_save_changes":"Tallenna muutokset","default_group_title_name":"(ryhmittelemättömät)","piggy_bank":"Säästöpossu"},"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(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"O que está acontecendo?","flash_error":"Erro!","flash_success":"Sucesso!","close":"Fechar","split_transaction_title":"Descrição da transação dividida","errors_submission":"Tem alguma coisa de errada com o seu envio. Por favor, cheque os erros abaixo.","split":"Dividir","transaction_stored_link":"Transação #{ID} (\\"{title}\\") foi salva.","transaction_updated_link":"Transação #{ID} foi atualizada.","transaction_new_stored_link":"Transação #{ID} foi salva.","transaction_journal_information":"Informação da transação","no_budget_pointer":"Parece que você ainda não tem orçamentos. Você deve criar alguns na página de orçamentos. Orçamentos podem ajudá-lo a manter o controle das despesas.","source_account":"Conta origem","hidden_fields_preferences":"Você pode ativar mais opções de transações em suas configurações.","destination_account":"Conta destino","add_another_split":"Adicionar outra divisão","submission":"Envio","create_another":"Depois de armazenar, retorne aqui para criar outro.","reset_after":"Resetar o formulário após o envio","submit":"Enviar","amount":"Valor","date":"Data","tags":"Tags","no_budget":"(sem orçamento)","category":"Categoria","attachments":"Anexos","notes":"Notas","update_transaction":"Atualizar transação","after_update_create_another":"Depois de atualizar, retorne aqui para continuar editando.","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":"Se você criar uma transação dividida, deve haver uma descrição global para todas as partes da transação.","destination_account_reconciliation":"Você não pode editar a conta de origem de uma transação de reconciliação.","source_account_reconciliation":"Você não pode editar a conta de origem de uma transação de reconciliação.","budget":"Orçamento","you_create_withdrawal":"Você está criando uma retirada.","you_create_transfer":"Você está criando uma transferência.","you_create_deposit":"Você está criando um deposito.","edit":"Editar","delete":"Apagar","name":"Nome","profile_whoops":"Ops!","profile_something_wrong":"Alguma coisa deu errado!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"Clientes OAuth","profile_oauth_no_clients":"Você não criou nenhum cliente OAuth.","profile_oauth_clients_header":"Clientes","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Nome","profile_oauth_client_secret":"Segredo","profile_oauth_create_new_client":"Criar um novo cliente","profile_oauth_create_client":"Criar um cliente","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Alguma coisa que seus usuários vão reconhecer e identificar.","profile_oauth_redirect_url":"URL de redirecionamento","profile_oauth_redirect_url_help":"A URL de retorno da sua solicitação de autorização.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Clientes autorizados","profile_scopes":"Escopos","profile_revoke":"Revogar","profile_personal_access_tokens":"Tokens de acesso pessoal","profile_personal_access_token":"Token de acesso pessoal","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"Você não criou nenhum token de acesso pessoal.","profile_create_new_token":"Criar novo token","profile_create_token":"Criar token","profile_create":"Criar","profile_save_changes":"Salvar alterações","default_group_title_name":"(não agrupado)","piggy_bank":"Cofrinho"},"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(e){e.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_stored_link":"Tranzacția #{ID} (\\"{title}\\") a fost stocată.","transaction_updated_link":"Tranzacția #{ID} a fost actualizată.","transaction_new_stored_link":"Tranzacția #{ID} a fost stocată.","transaction_journal_information":"Informații despre tranzacții","no_budget_pointer":"Se pare că nu aveți încă bugete. Ar trebui să creați câteva pe pagina bugete. Bugetele vă pot ajuta să țineți evidența cheltuielilor.","source_account":"Contul sursă","hidden_fields_preferences":"Puteți activa mai multe opțiuni de tranzacție în setările dvs.","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":"Creezi o retragere.","you_create_transfer":"Creezi un transfer.","you_create_deposit":"Creezi un depozit.","edit":"Editează","delete":"Șterge","name":"Nume","profile_whoops":"Hopaa!","profile_something_wrong":"A apărut o eroare!","profile_try_again":"A apărut o problemă. Încercați din nou.","profile_oauth_clients":"Clienți OAuth","profile_oauth_no_clients":"Nu ați creat niciun client OAuth.","profile_oauth_clients_header":"Clienți","profile_oauth_client_id":"ID Client","profile_oauth_client_name":"Nume","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Creare client nou","profile_oauth_create_client":"Creare client","profile_oauth_edit_client":"Editare client","profile_oauth_name_help":"Ceva ce utilizatorii vor recunoaște și vor avea încredere.","profile_oauth_redirect_url":"Redirectioneaza URL","profile_oauth_redirect_url_help":"URL-ul de retroapelare al aplicației dvs.","profile_authorized_apps":"Aplicațiile dvs autorizate","profile_authorized_clients":"Clienți autorizați","profile_scopes":"Domenii","profile_revoke":"Revocați","profile_personal_access_tokens":"Token de acces personal","profile_personal_access_token":"Token de acces personal","profile_personal_access_token_explanation":"Aici este noul dvs. token de acces personal. Este singura dată când va fi afișat așa că nu îl pierde! Acum poți folosi acest token pentru a face cereri API.","profile_no_personal_access_token":"Nu aţi creat nici un token personal de acces.","profile_create_new_token":"Crează un nou token","profile_create_token":"Crează token","profile_create":"Crează","profile_save_changes":"Salvează modificările","default_group_title_name":"(ungrouped)","piggy_bank":"Pușculiță"},"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(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"Что происходит с моими финансами?","flash_error":"Ошибка!","flash_success":"Успешно!","close":"Закрыть","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке произошла ошибка. Пожалуйста, проверьте ошибки ниже.","split":"Разделить","transaction_stored_link":"Транзакция #{ID} (\\"{title}\\") сохранена.","transaction_updated_link":"Транзакция #{ID} обновлена.","transaction_new_stored_link":"Транзакция #{ID} сохранена.","transaction_journal_information":"Информация о транзакции","no_budget_pointer":"Похоже, у вас пока нет бюджетов. Вы должны создать их в разделе Бюджеты. Бюджеты могут помочь вам отслеживать расходы.","source_account":"Счёт-источник","hidden_fields_preferences":"Вы можете включить больше параметров транзакции на странице настроек.","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_create_transfer":"Вы создаёте перевод.","you_create_deposit":"Вы создаёте доход.","edit":"Изменить","delete":"Удалить","name":"Название","profile_whoops":"Ууупс!","profile_something_wrong":"Что-то пошло не так!","profile_try_again":"Произошла ошибка. Пожалуйста, попробуйте снова.","profile_oauth_clients":"Клиенты OAuth","profile_oauth_no_clients":"У вас пока нет клиентов OAuth.","profile_oauth_clients_header":"Клиенты","profile_oauth_client_id":"ID клиента","profile_oauth_client_name":"Название","profile_oauth_client_secret":"Секретный ключ","profile_oauth_create_new_client":"Создать нового клиента","profile_oauth_create_client":"Создать клиента","profile_oauth_edit_client":"Изменить клиента","profile_oauth_name_help":"Что-то, что ваши пользователи знают, и чему доверяют.","profile_oauth_redirect_url":"URL редиректа","profile_oauth_redirect_url_help":"URL обратного вызова для вашего приложения.","profile_authorized_apps":"Авторизованные приложения","profile_authorized_clients":"Авторизованные клиенты","profile_scopes":"Разрешения","profile_revoke":"Отключить","profile_personal_access_tokens":"Персональные Access Tokens","profile_personal_access_token":"Персональный Access Token","profile_personal_access_token_explanation":"Вот ваш новый персональный токен доступа. Он будет показан вам только сейчас, поэтому не потеряйте его! Теперь вы можете использовать этот токен, чтобы делать запросы по API.","profile_no_personal_access_token":"Вы не создали ни одного персонального токена доступа.","profile_create_new_token":"Создать новый токен","profile_create_token":"Создать токен","profile_create":"Создать","profile_save_changes":"Сохранить изменения","default_group_title_name":"(без группировки)","piggy_bank":"Копилка"},"form":{"interest_date":"Дата выплаты","book_date":"Дата бронирования","process_date":"Дата обработки","due_date":"Срок","foreign_amount":"Сумма в иностранной валюте","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта","internal_reference":"Внутренняя ссылка"},"config":{"html_language":"ru"}}')},function(e){e.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(e){e.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_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"交易資訊","no_budget_pointer":"You seem to have no budgets yet. You should create some on the budgets-page. Budgets can help you keep track of expenses.","source_account":"Source account","hidden_fields_preferences":"You can enable more transaction options in your settings.","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.","edit":"編輯","delete":"刪除","name":"名稱","profile_whoops":"Whoops!","profile_something_wrong":"Something went wrong!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Create New Client","profile_oauth_create_client":"Create Client","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Something your users will recognize and trust.","profile_oauth_redirect_url":"Redirect URL","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Revoke","profile_personal_access_tokens":"Personal Access Tokens","profile_personal_access_token":"Personal Access Token","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Create new token","profile_create_token":"Create token","profile_create":"Create","profile_save_changes":"Save changes","default_group_title_name":"(ungrouped)","piggy_bank":"小豬撲滿"},"form":{"interest_date":"利率日期","book_date":"登記日期","process_date":"處理日期","due_date":"到期日","foreign_amount":"外幣金額","payment_date":"付款日期","invoice_date":"發票日期","internal_reference":"內部參考"},"config":{"html_language":"zh-tw"}}')},function(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"今天理财了吗?","flash_error":"错误!","flash_success":"成功!","close":"关闭","split_transaction_title":"拆分交易的描述","errors_submission":"您的提交有误,请查看下面输出的错误信息。","split":"分割","transaction_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"交易资讯","no_budget_pointer":"您似乎还没有任何预算。您应该在 预算页面上创建他们。预算可以帮助您跟踪费用。","source_account":"来源帐户","hidden_fields_preferences":"您可以在 设置中启用更多的交易选项。","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_create_transfer":"您正在创建一个转账","you_create_deposit":"您正在创建一个存款","edit":"编辑","delete":"删除","name":"名称","profile_whoops":"Whoops!","profile_something_wrong":"Something went wrong!","profile_try_again":"Something went wrong. Please try again.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"You have not created any OAuth clients.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Name","profile_oauth_client_secret":"Secret","profile_oauth_create_new_client":"Create New Client","profile_oauth_create_client":"Create Client","profile_oauth_edit_client":"Edit Client","profile_oauth_name_help":"Something your users will recognize and trust.","profile_oauth_redirect_url":"Redirect URL","profile_oauth_redirect_url_help":"Your application\'s authorization callback URL.","profile_authorized_apps":"Authorized applications","profile_authorized_clients":"Authorized clients","profile_scopes":"Scopes","profile_revoke":"Revoke","profile_personal_access_tokens":"Personal Access Tokens","profile_personal_access_token":"Personal Access Token","profile_personal_access_token_explanation":"Here is your new personal access token. This is the only time it will be shown so don\'t lose it! You may now use this token to make API requests.","profile_no_personal_access_token":"You have not created any personal access tokens.","profile_create_new_token":"Create new token","profile_create_token":"Create token","profile_create":"Create","profile_save_changes":"Save changes","default_group_title_name":"(ungrouped)","piggy_bank":"存钱罐"},"form":{"interest_date":"利率日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","foreign_amount":"外币金额","payment_date":"付款日期","invoice_date":"发票日期","internal_reference":"内部参考"},"config":{"html_language":"zh-cn"}}')},function(e){e.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_stored_link":"Transaction #{ID} (\\"{title}\\") has been stored.","transaction_updated_link":"Transaction #{ID} has been updated.","transaction_new_stored_link":"Transaction #{ID} has been stored.","transaction_journal_information":"Transaktionsinformation","no_budget_pointer":"Du verkar inte ha några budgetar än. Du bör skapa några på budgetar-sidan. Budgetar kan hjälpa dig att hålla reda på utgifter.","source_account":"Från konto","hidden_fields_preferences":"You can enable more transaction options in your settings.","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.","edit":"Redigera","delete":"Ta bort","name":"Namn","profile_whoops":"Hoppsan!","profile_something_wrong":"Något gick fel!","profile_try_again":"Något gick fel. Försök igen.","profile_oauth_clients":"OAuth klienter","profile_oauth_no_clients":"Du har inte skapat några OAuth klienter.","profile_oauth_clients_header":"Klienter","profile_oauth_client_id":"Klient ID","profile_oauth_client_name":"Namn","profile_oauth_client_secret":"Hemlighet","profile_oauth_create_new_client":"Skapa ny klient","profile_oauth_create_client":"Skapa klient","profile_oauth_edit_client":"Redigera klient","profile_oauth_name_help":"Något som dina användare kommer att känna igen och lita på.","profile_oauth_redirect_url":"Omdirigera URL","profile_oauth_redirect_url_help":"Din applikations auktorisering callback URL.","profile_authorized_apps":"Auktoriserade applikationer","profile_authorized_clients":"Auktoriserade klienter","profile_scopes":"Omfattningar","profile_revoke":"Återkalla","profile_personal_access_tokens":"Personliga åtkomst-Tokens","profile_personal_access_token":"Personlig åtkomsttoken","profile_personal_access_token_explanation":"Här är din nya personliga tillgångs token. Detta är den enda gången det kommer att visas så förlora inte det! Du kan nu använda denna token för att göra API-förfrågningar.","profile_no_personal_access_token":"Du har inte skapat några personliga åtkomsttokens.","profile_create_new_token":"Skapa ny token","profile_create_token":"Skapa token","profile_create":"Skapa","profile_save_changes":"Spara ändringar","default_group_title_name":"(ungrouped)","piggy_bank":"Spargris"},"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(e){e.exports=JSON.parse('{"firefly":{"welcome_back":"Chào mừng trở lại?","flash_error":"Lỗi!","flash_success":"Thành công!","close":"Đóng","split_transaction_title":"Mô tả giao dịch tách","errors_submission":"Có gì đó sai. Vui lòng kiểm tra các lỗi dưới đây.","split":"Chia ra","transaction_stored_link":"Giao dịch #{ID} (\\"{title}\\") đã được lưu trữ.","transaction_updated_link":"Giao dịch#{ID} đã được cập nhật.","transaction_new_stored_link":" Giao dịch #{ID} đã được lưu trữ.","transaction_journal_information":"Thông tin giao dịch","no_budget_pointer":"Bạn dường như chưa có ngân sách. Bạn nên tạo một cái trên budgets-page. Ngân sách có thể giúp bạn theo dõi chi phí.","source_account":"Nguồn tài khoản","hidden_fields_preferences":"Bạn có thể kích hoạt thêm tùy chọn giao dịch trong settings.","destination_account":"Tài khoản đích","add_another_split":"Thêm một phân chia khác","submission":"Gửi","create_another":"Sau khi lưu trữ, quay trở lại đây để tạo một cái khác.","reset_after":"Đặt lại mẫu sau khi gửi","submit":"Gửi","amount":"Số tiền","date":"Ngày","tags":"Nhãn","no_budget":"(không có ngân sách)","category":"Danh mục","attachments":"Tệp đính kèm","notes":"Ghi chú","update_transaction":"Cập nhật giao dịch","after_update_create_another":"Sau khi cập nhật, quay lại đây để tiếp tục chỉnh sửa.","store_as_new":"Lưu trữ như một giao dịch mới thay vì cập nhật.","split_title_help":"Nếu bạn tạo một giao dịch phân tách, phải có một mô tả toàn cầu cho tất cả các phân chia của giao dịch.","none_in_select_list":"(Trống)","no_piggy_bank":"(chưa có heo đất)","description":"Sự miêu tả","split_transaction_title_help":"Nếu bạn tạo một giao dịch phân tách, phải có một mô tả toàn cầu cho tất cả các phân chia của giao dịch.","destination_account_reconciliation":"Bạn không thể chỉnh sửa tài khoản đích của giao dịch đối chiếu.","source_account_reconciliation":"Bạn không thể chỉnh sửa tài khoản nguồn của giao dịch đối chiếu.","budget":"Ngân sách","you_create_withdrawal":"Bạn đang tạo một rút tiền.","you_create_transfer":"Bạn đang tạo một chuyển khoản.","you_create_deposit":"Bạn đang tạo một tiền gửi.","edit":"Sửa","delete":"Xóa","name":"Tên","profile_whoops":"Rất tiếc!","profile_something_wrong":"Có lỗi xảy ra!","profile_try_again":"Xảy ra lỗi. Vui lòng thử lại.","profile_oauth_clients":"OAuth Clients","profile_oauth_no_clients":"Bạn đã không tạo ra bất kỳ OAuth clients nào.","profile_oauth_clients_header":"Clients","profile_oauth_client_id":"Client ID","profile_oauth_client_name":"Tên","profile_oauth_client_secret":"Mã bí mật","profile_oauth_create_new_client":"Tạo mới Client","profile_oauth_create_client":"Tạo Client","profile_oauth_edit_client":"Sửa Client","profile_oauth_name_help":"Một cái gì đó người dùng của bạn sẽ nhận ra và tin tưởng.","profile_oauth_redirect_url":"URL chuyển tiếp","profile_oauth_redirect_url_help":"URL gọi lại ủy quyền của ứng dụng của bạn.","profile_authorized_apps":"Uỷ quyền ứng dụng","profile_authorized_clients":"Client ủy quyền","profile_scopes":"Phạm vi","profile_revoke":"Thu hồi","profile_personal_access_tokens":"Mã truy cập cá nhân","profile_personal_access_token":"Mã truy cập cá nhân","profile_personal_access_token_explanation":"Đây là mã thông báo truy cập cá nhân mới của bạn. Đây là lần duy nhất nó sẽ được hiển thị vì vậy đừng đánh mất nó! Bây giờ bạn có thể sử dụng mã thông báo này để thực hiện API.","profile_no_personal_access_token":"Bạn chưa tạo bất kỳ mã thông báo truy cập cá nhân nào.","profile_create_new_token":"Tạo mã mới","profile_create_token":"Tạo mã","profile_create":"Tạo","profile_save_changes":"Lưu thay đổi","default_group_title_name":"(chưa nhóm)","piggy_bank":"Heo đất"},"form":{"interest_date":"Ngày lãi","book_date":"Ngày đặt sách","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","foreign_amount":"Ngoại tệ","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn","internal_reference":"Tài liệu tham khảo nội bộ"},"config":{"html_language":"vi"}}')},function(e,t,n){window,e.exports=function(e){var t={};function n(a){if(t[a])return t[a].exports;var i=t[a]={i:a,l:!1,exports:{}};return e[a].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(a,i,function(t){return e[t]}.bind(null,i));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=6)}([function(e,t,n){var a=n(8);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(4).default)("7ec05f6c",a,!1,{})},function(e,t,n){var a=n(10);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(4).default)("3453d19d",a,!1,{})},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,a=e[1]||"",i=e[3];if(!i)return a;if(t&&"function"==typeof btoa){var o=(n=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),r=i.sources.map((function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"}));return[a].concat(r).concat([o]).join("\n")}return[a].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var a={},i=0;in.parts.length&&(a.parts.length=n.parts.length)}else{var r=[];for(i=0;i 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(e,t,n){"use strict";e.exports=function(e){return"string"!=typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),/["'() \t\n]/.test(e)?'"'+e.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':e)}},function(e,t){e.exports="data:font/ttf;base64,AAEAAAALAIAAAwAwT1MvMg8SBawAAAC8AAAAYGNtYXAXVtKJAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZqWfozAAAAF4AAAA/GhlYWQPxZgIAAACdAAAADZoaGVhB4ADyAAAAqwAAAAkaG10eBIAAb4AAALQAAAAHGxvY2EAkgDiAAAC7AAAABBtYXhwAAkAHwAAAvwAAAAgbmFtZZlKCfsAAAMcAAABhnBvc3QAAwAAAAAEpAAAACAAAwOAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpAgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6QL//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAFYBAQO+AoEAHAAAATIXHgEXFhcHJicuAScmIyIGBxchERc2Nz4BNzYCFkpDQ28pKRdkECAfVTM0OT9wLZz+gJgdIiJLKSgCVRcYUjg5QiAzKys+ERIrJZoBgJoZFRQcCAgAAQDWAIEDKgLVAAsAAAEHFwcnByc3JzcXNwMq7u487u487u487u4Cme7uPO7uPO7uPO7uAAEAkgCBA4ACvQAFAAAlARcBJzcBgAHEPP4A7jz5AcQ8/gDuPAAAAAABAAAAAAAAH8nTUV8PPPUACwQAAAAAANZ1KhsAAAAA1nUqGwAAAAADvgLVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAO+AAEAAAAAAAAAAAAAAAAAAAAHBAAAAAAAAAAAAAAAAgAAAAQAAFYEAADWBAAAkgAAAAAACgAUAB4AUABqAH4AAQAAAAcAHQABAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGljb21vb24AaQBjAG8AbQBvAG8AblZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGljb21vb24AaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AblJlZ3VsYXIAUgBlAGcAdQBsAGEAcmljb21vb24AaQBjAG8AbQBvAG8AbkZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="},function(e,t){e.exports="data:font/woff;base64,d09GRgABAAAAAAUQAAsAAAAABMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIFrGNtYXAAAAFoAAAAVAAAAFQXVtKJZ2FzcAAAAbwAAAAIAAAACAAAABBnbHlmAAABxAAAAPwAAAD8pZ+jMGhlYWQAAALAAAAANgAAADYPxZgIaGhlYQAAAvgAAAAkAAAAJAeAA8hobXR4AAADHAAAABwAAAAcEgABvmxvY2EAAAM4AAAAEAAAABAAkgDibWF4cAAAA0gAAAAgAAAAIAAJAB9uYW1lAAADaAAAAYYAAAGGmUoJ+3Bvc3QAAATwAAAAIAAAACAAAwAAAAMDgAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA6QIDwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADgAAAAKAAgAAgACAAEAIOkC//3//wAAAAAAIOkA//3//wAB/+MXBAADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQBWAQEDvgKBABwAAAEyFx4BFxYXByYnLgEnJiMiBgcXIREXNjc+ATc2AhZKQ0NvKSkXZBAgH1UzNDk/cC2c/oCYHSIiSykoAlUXGFI4OUIgMysrPhESKyWaAYCaGRUUHAgIAAEA1gCBAyoC1QALAAABBxcHJwcnNyc3FzcDKu7uPO7uPO7uPO7uApnu7jzu7jzu7jzu7gABAJIAgQOAAr0ABQAAJQEXASc3AYABxDz+AO48+QHEPP4A7jwAAAAAAQAAAAAAAB/J01FfDzz1AAsEAAAAAADWdSobAAAAANZ1KhsAAAAAA74C1QAAAAgAAgAAAAAAAAABAAADwP/AAAAEAAAAAAADvgABAAAAAAAAAAAAAAAAAAAABwQAAAAAAAAAAAAAAAIAAAAEAABWBAAA1gQAAJIAAAAAAAoAFAAeAFAAagB+AAEAAAAHAB0AAQAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAHAAAAAQAAAAAAAgAHAGAAAQAAAAAAAwAHADYAAQAAAAAABAAHAHUAAQAAAAAABQALABUAAQAAAAAABgAHAEsAAQAAAAAACgAaAIoAAwABBAkAAQAOAAcAAwABBAkAAgAOAGcAAwABBAkAAwAOAD0AAwABBAkABAAOAHwAAwABBAkABQAWACAAAwABBAkABgAOAFIAAwABBAkACgA0AKRpY29tb29uAGkAYwBvAG0AbwBvAG5WZXJzaW9uIDEuMABWAGUAcgBzAGkAbwBuACAAMQAuADBpY29tb29uAGkAYwBvAG0AbwBvAG5pY29tb29uAGkAYwBvAG0AbwBvAG5SZWd1bGFyAFIAZQBnAHUAbABhAHJpY29tb29uAGkAYwBvAG0AbwBvAG5Gb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vue-tags-input",class:[{"ti-disabled":e.disabled},{"ti-focus":e.focused}]},[n("div",{staticClass:"ti-input"},[e.tagsCopy?n("ul",{staticClass:"ti-tags"},[e._l(e.tagsCopy,(function(t,a){return n("li",{key:a,staticClass:"ti-tag",class:[{"ti-editing":e.tagsEditStatus[a]},t.tiClasses,t.classes,{"ti-deletion-mark":e.isMarked(a)}],style:t.style,attrs:{tabindex:"0"},on:{click:function(n){return e.$emit("tag-clicked",{tag:t,index:a})}}},[n("div",{staticClass:"ti-content"},[e.$scopedSlots["tag-left"]?n("div",{staticClass:"ti-tag-left"},[e._t("tag-left",null,{tag:t,index:a,edit:e.tagsEditStatus[a],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(a)})],2):e._e(),e._v(" "),n("div",{ref:"tagCenter",refInFor:!0,staticClass:"ti-tag-center"},[e.$scopedSlots["tag-center"]?e._e():n("span",{class:{"ti-hidden":e.tagsEditStatus[a]},on:{click:function(t){return e.performEditTag(a)}}},[e._v(e._s(t.text))]),e._v(" "),e.$scopedSlots["tag-center"]?e._e():n("tag-input",{attrs:{scope:{edit:e.tagsEditStatus[a],maxlength:e.maxlength,tag:t,index:a,validateTag:e.createChangedTag,performCancelEdit:e.cancelEdit,performSaveEdit:e.performSaveTag}}}),e._v(" "),e._t("tag-center",null,{tag:t,index:a,maxlength:e.maxlength,edit:e.tagsEditStatus[a],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,validateTag:e.createChangedTag,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(a)})],2),e._v(" "),e.$scopedSlots["tag-right"]?n("div",{staticClass:"ti-tag-right"},[e._t("tag-right",null,{tag:t,index:a,edit:e.tagsEditStatus[a],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(a)})],2):e._e()]),e._v(" "),n("div",{staticClass:"ti-actions"},[e.$scopedSlots["tag-actions"]?e._e():n("i",{directives:[{name:"show",rawName:"v-show",value:e.tagsEditStatus[a],expression:"tagsEditStatus[index]"}],staticClass:"ti-icon-undo",on:{click:function(t){return e.cancelEdit(a)}}}),e._v(" "),e.$scopedSlots["tag-actions"]?e._e():n("i",{directives:[{name:"show",rawName:"v-show",value:!e.tagsEditStatus[a],expression:"!tagsEditStatus[index]"}],staticClass:"ti-icon-close",on:{click:function(t){return e.performDeleteTag(a)}}}),e._v(" "),e.$scopedSlots["tag-actions"]?e._t("tag-actions",null,{tag:t,index:a,edit:e.tagsEditStatus[a],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(a)}):e._e()],2)])})),e._v(" "),n("li",{staticClass:"ti-new-tag-input-wrapper"},[n("input",e._b({ref:"newTagInput",staticClass:"ti-new-tag-input",class:[e.createClasses(e.newTag,e.tags,e.validation,e.isDuplicate)],attrs:{placeholder:e.placeholder,maxlength:e.maxlength,disabled:e.disabled,type:"text",size:"1"},domProps:{value:e.newTag},on:{keydown:[function(t){return e.performAddTags(e.filteredAutocompleteItems[e.selectedItem]||e.newTag,t)},function(t){return t.type.indexOf("key")||8===t.keyCode?e.invokeDelete(t):null},function(t){return t.type.indexOf("key")||9===t.keyCode?e.performBlur(t):null},function(t){return t.type.indexOf("key")||38===t.keyCode?e.selectItem(t,"before"):null},function(t){return t.type.indexOf("key")||40===t.keyCode?e.selectItem(t,"after"):null}],paste:e.addTagsFromPaste,input:e.updateNewTag,blur:function(t){return e.$emit("blur",t)},focus:function(t){e.focused=!0,e.$emit("focus",t)},click:function(t){!e.addOnlyFromAutocomplete&&(e.selectedItem=null)}}},"input",e.$attrs,!1))])],2):e._e()]),e._v(" "),e._t("between-elements"),e._v(" "),e.autocompleteOpen?n("div",{staticClass:"ti-autocomplete",on:{mouseout:function(t){e.selectedItem=null}}},[e._t("autocomplete-header"),e._v(" "),n("ul",e._l(e.filteredAutocompleteItems,(function(t,a){return n("li",{key:a,staticClass:"ti-item",class:[t.tiClasses,t.classes,{"ti-selected-item":e.isSelected(a)}],style:t.style,on:{mouseover:function(t){!e.disabled&&(e.selectedItem=a)}}},[e.$scopedSlots["autocomplete-item"]?e._t("autocomplete-item",null,{item:t,index:a,performAdd:function(t){return e.performAddTags(t,void 0,"autocomplete")},selected:e.isSelected(a)}):n("div",{on:{click:function(n){return e.performAddTags(t,void 0,"autocomplete")}}},[e._v("\n "+e._s(t.text)+"\n ")])],2)})),0),e._v(" "),e._t("autocomplete-footer")],2):e._e()],2)};a._withStripped=!0;var i=n(5),o=n.n(i),r=function(e){return JSON.parse(JSON.stringify(e))},s=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3?arguments[3]:void 0;void 0===e.text&&(e={text:e});var i=function(e,t){return t.filter((function(t){var n=e.text;return"string"==typeof t.rule?!new RegExp(t.rule).test(n):t.rule instanceof RegExp?!t.rule.test(n):"[object Function]"==={}.toString.call(t.rule)?t.rule(e):void 0})).map((function(e){return e.classes}))}(e,n),o=function(e,t){for(var n=0;n1?n-1:0),i=1;i1?t-1:0),a=1;a=this.autocompleteMinLength&&this.filteredAutocompleteItems.length>0&&this.focused},filteredAutocompleteItems:function(){var e=this,t=this.autocompleteItems.map((function(t){return c(t,e.tags,e.validation,e.isDuplicate)}));return this.autocompleteFilterDuplicates?t.filter(this.duplicateFilter):t}},methods:{createClasses:s,getSelectedIndex:function(e){var t=this.filteredAutocompleteItems,n=this.selectedItem,a=t.length-1;if(0!==t.length)return null===n?0:"before"===e&&0===n?a:"after"===e&&n===a?0:"after"===e?n+1:n-1},selectDefaultItem:function(){this.addOnlyFromAutocomplete&&this.filteredAutocompleteItems.length>0?this.selectedItem=0:this.selectedItem=null},selectItem:function(e,t){e.preventDefault(),this.selectedItem=this.getSelectedIndex(t)},isSelected:function(e){return this.selectedItem===e},isMarked:function(e){return this.deletionMark===e},invokeDelete:function(){var e=this;if(this.deleteOnBackspace&&!(this.newTag.length>0)){var t=this.tagsCopy.length-1;null===this.deletionMark?(this.deletionMarkTime=setTimeout((function(){return e.deletionMark=null}),1e3),this.deletionMark=t):this.performDeleteTag(t)}},addTagsFromPaste:function(){var e=this;this.addFromPaste&&setTimeout((function(){return e.performAddTags(e.newTag)}),10)},performEditTag:function(e){var t=this;this.allowEditTags&&(this._events["before-editing-tag"]||this.editTag(e),this.$emit("before-editing-tag",{index:e,tag:this.tagsCopy[e],editTag:function(){return t.editTag(e)}}))},editTag:function(e){this.allowEditTags&&(this.toggleEditMode(e),this.focus(e))},toggleEditMode:function(e){this.allowEditTags&&!this.disabled&&this.$set(this.tagsEditStatus,e,!this.tagsEditStatus[e])},createChangedTag:function(e,t){var n=this.tagsCopy[e];n.text=t?t.target.value:this.tagsCopy[e].text,this.$set(this.tagsCopy,e,c(n,this.tagsCopy,this.validation,this.isDuplicate))},focus:function(e){var t=this;this.$nextTick((function(){var n=t.$refs.tagCenter[e].querySelector("input.ti-tag-input");n&&n.focus()}))},quote:function(e){return e.replace(/([()[{*+.$^\\|?])/g,"\\$1")},cancelEdit:function(e){this.tags[e]&&(this.tagsCopy[e]=r(c(this.tags[e],this.tags,this.validation,this.isDuplicate)),this.$set(this.tagsEditStatus,e,!1))},hasForbiddingAddRule:function(e){var t=this;return e.some((function(e){var n=t.validation.find((function(t){return e===t.classes}));return!!n&&n.disableAdd}))},createTagTexts:function(e){var t=this,n=new RegExp(this.separators.map((function(e){return t.quote(e)})).join("|"));return e.split(n).map((function(e){return{text:e}}))},performDeleteTag:function(e){var t=this;this._events["before-deleting-tag"]||this.deleteTag(e),this.$emit("before-deleting-tag",{index:e,tag:this.tagsCopy[e],deleteTag:function(){return t.deleteTag(e)}})},deleteTag:function(e){this.disabled||(this.deletionMark=null,clearTimeout(this.deletionMarkTime),this.tagsCopy.splice(e,1),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},noTriggerKey:function(e,t){var n=-1!==this[t].indexOf(e.keyCode)||-1!==this[t].indexOf(e.key);return n&&e.preventDefault(),!n},performAddTags:function(e,t,n){var a=this;if(!(this.disabled||t&&this.noTriggerKey(t,"addOnKey"))){var i=[];"object"===m(e)&&(i=[e]),"string"==typeof e&&(i=this.createTagTexts(e)),(i=i.filter((function(e){return e.text.trim().length>0}))).forEach((function(e){e=c(e,a.tags,a.validation,a.isDuplicate),a._events["before-adding-tag"]||a.addTag(e,n),a.$emit("before-adding-tag",{tag:e,addTag:function(){return a.addTag(e,n)}})}))}},duplicateFilter:function(e){return this.isDuplicate?!this.isDuplicate(this.tagsCopy,e):!this.tagsCopy.find((function(t){return t.text===e.text}))},addTag:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"new-tag-input",a=this.filteredAutocompleteItems.map((function(e){return e.text}));this.addOnlyFromAutocomplete&&-1===a.indexOf(e.text)||this.$nextTick((function(){return t.maxTags&&t.maxTags<=t.tagsCopy.length?t.$emit("max-tags-reached",e):t.avoidAddingDuplicates&&!t.duplicateFilter(e)?t.$emit("adding-duplicate",e):void(t.hasForbiddingAddRule(e.tiClasses)||(t.$emit("input",""),t.tagsCopy.push(e),t._events["update:tags"]&&t.$emit("update:tags",t.tagsCopy),"autocomplete"===n&&t.$refs.newTagInput.focus(),t.$emit("tags-changed",t.tagsCopy)))}))},performSaveTag:function(e,t){var n=this,a=this.tagsCopy[e];this.disabled||t&&this.noTriggerKey(t,"addOnKey")||0!==a.text.trim().length&&(this._events["before-saving-tag"]||this.saveTag(e,a),this.$emit("before-saving-tag",{index:e,tag:a,saveTag:function(){return n.saveTag(e,a)}}))},saveTag:function(e,t){if(this.avoidAddingDuplicates){var n=r(this.tagsCopy),a=n.splice(e,1)[0];if(this.isDuplicate?this.isDuplicate(n,a):-1!==n.map((function(e){return e.text})).indexOf(a.text))return this.$emit("saving-duplicate",t)}this.hasForbiddingAddRule(t.tiClasses)||(this.$set(this.tagsCopy,e,t),this.toggleEditMode(e),this._events["update:tags"]&&this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},tagsEqual:function(){var e=this;return!this.tagsCopy.some((function(t,n){return!o()(t,e.tags[n])}))},updateNewTag:function(e){var t=e.target.value;this.newTag=t,this.$emit("input",t)},initTags:function(){this.tagsCopy=l(this.tags,this.validation,this.isDuplicate),this.tagsEditStatus=r(this.tags).map((function(){return!1})),this._events["update:tags"]&&!this.tagsEqual()&&this.$emit("update:tags",this.tagsCopy)},blurredOnClick:function(e){this.$el.contains(e.target)||this.$el.contains(document.activeElement)||this.performBlur(e)},performBlur:function(){this.addOnBlur&&this.focused&&this.performAddTags(this.newTag),this.focused=!1}},watch:{value:function(e){this.addOnlyFromAutocomplete||(this.selectedItem=null),this.newTag=e},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),p(v,a,[],!1,null,"61d92e31",null));y.options.__file="vue-tags-input/vue-tags-input.vue";var b=y.exports;n.d(t,"VueTagsInput",(function(){return b})),n.d(t,"createClasses",(function(){return s})),n.d(t,"createTag",(function(){return c})),n.d(t,"createTags",(function(){return l})),n.d(t,"TagInput",(function(){return A})),b.install=function(e){return e.component(b.name,b)},"undefined"!=typeof window&&window.Vue&&window.Vue.use(b),t.default=b}])},function(e,t,n){"use strict";var a={name:"CustomAttachments",props:{title:String,name:String,error:Array},methods:{clearAtt:function(){this.$refs.input.value=""},hasError:function(){return this.error.length>0}}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{multiple:"multiple",autocomplete:"off",placeholder:e.title,title:e.title,name:e.name,type:"file"}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:e.clearAtt}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"25a774c0",null);t.a=o.exports},function(e,t,n){"use strict";var a={name:"CustomDate",props:{value:String,title:String,name:String,error:Array},methods:{handleInput:function(e){this.$emit("input",this.$refs.date.value)},hasError:function(){return this.error.length>0},clearDate:function(){this.name="",this.$refs.date.value="",this.$emit("input",this.$refs.date.value)}}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"date",staticClass:"form-control",attrs:{type:"date",name:e.name,title:e.title,autocomplete:"off",placeholder:e.title},domProps:{value:e.value?e.value.substr(0,10):""},on:{input:e.handleInput}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearDate}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"7a261844",null);t.a=o.exports},function(e,t,n){"use strict";var a={name:"CustomString",props:{title:String,name:String,value:String,error:Array},methods:{handleInput:function(e){this.$emit("input",this.$refs.str.value)},clearField:function(){this.name="",this.$refs.str.value="",this.$emit("input",this.$refs.str.value)},hasError:function(){return this.error.length>0}}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"str",staticClass:"form-control",attrs:{type:"text",name:e.name,title:e.title,autocomplete:"off",placeholder:e.title},domProps:{value:e.value},on:{input:e.handleInput}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearField}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"ada77346",null);t.a=o.exports},function(e,t,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(e){this.$emit("input",this.$refs.str.value)},hasError:function(){return this.error.length>0}}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.textValue,expression:"textValue"}],ref:"str",staticClass:"form-control",attrs:{name:e.name,title:e.title,autocomplete:"off",rows:"8",placeholder:e.title},domProps:{value:e.textValue},on:{input:[function(t){t.target.composing||(e.textValue=t.target.value)},e.handleInput]}}),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"40389097",null);t.a=o.exports},function(e,t,n){"use strict";var a={props:["error","value","index"],name:"StandardDate",methods:{hasError:function(){return this.error.length>0},handleInput:function(e){this.$emit("input",this.$refs.date.value)},clearDate:function(){this.name="",this.$refs.date.value="",this.$emit("input",this.$refs.date.value),this.$emit("clear:date")}}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.date"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"date",staticClass:"form-control",attrs:{type:"date",name:"date[]",title:e.$t("firefly.date"),autocomplete:"off",disabled:e.index>0,placeholder:e.$t("firefly.date")},domProps:{value:e.value},on:{input:e.handleInput}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearDate}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"4e877916",null);t.a=o.exports},function(e,t,n){"use strict";var a={props:["error","value","index"],name:"GroupDescription",methods:{hasError:function(){return this.error.length>0},handleInput:function(e){this.$emit("input",this.$refs.descr.value)},clearField:function(){this.name="",this.$refs.descr.value="",this.$emit("input",this.$refs.descr.value)}}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.split_transaction_title"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"descr",staticClass:"form-control",attrs:{type:"text",name:"group_title",title:e.$t("firefly.split_transaction_title"),autocomplete:"off",placeholder:e.$t("firefly.split_transaction_title")},domProps:{value:e.value},on:{input:e.handleInput}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearField}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),0===e.error.length?n("p",{staticClass:"help-block"},[e._v("\n "+e._s(e.$t("firefly.split_transaction_title_help"))+"\n ")]):e._e(),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"2666c561",null);t.a=o.exports},function(e,t,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+"api/v1/autocomplete/transactions?query=",this.$refs.descr.focus()},components:{},data:function(){return{descriptionAutoCompleteURI:null,name:null,description:null,target:null}},methods:{search:function(e){return["ab","cd"]},hasError:function(){return this.error.length>0},clearDescription:function(){this.description="",this.$refs.descr.value="",this.$emit("input",this.$refs.descr.value),this.$emit("clear:description")},handleInput:function(e){this.$emit("input",this.$refs.descr.value)},handleEnter:function(e){e.keyCode},selectedItem:function(e){void 0!==this.name&&"string"!=typeof this.name&&(this.$refs.descr.value=this.name.description,this.$emit("input",this.$refs.descr.value))}}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.description"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"descr",staticClass:"form-control",attrs:{type:"text",name:"description[]",title:e.$t("firefly.description"),autocomplete:"off",placeholder:e.$t("firefly.description")},domProps:{value:e.value},on:{keypress:e.handleEnter,submit:function(e){e.preventDefault()},input:e.handleInput}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearDescription}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-src":e.descriptionAutoCompleteURI,target:e.target,"item-key":"description"},on:{input:e.selectedItem},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}}),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"d7c74274",null);t.a=o.exports},function(e,t,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(e){this.$emit("input",this.value)},getPreference:function(){var e=this,t=document.getElementsByTagName("base")[0].href+"api/v1/preferences/transaction_journal_optional_fields";axios.get(t).then((function(t){e.fields=t.data.data.attributes.data})).catch((function(){return console.warn("Oh. Something went wrong loading custom transaction fields.")}))}}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("p",{staticClass:"help-block",domProps:{innerHTML:e._s(e.$t("firefly.hidden_fields_preferences"))}}),e._v(" "),this.fields.interest_date?n(e.dateComponent,{tag:"component",attrs:{error:e.error.interest_date,name:"interest_date[]",title:e.$t("form.interest_date")},model:{value:e.value.interest_date,callback:function(t){e.$set(e.value,"interest_date",t)},expression:"value.interest_date"}}):e._e(),e._v(" "),this.fields.book_date?n(e.dateComponent,{tag:"component",attrs:{error:e.error.book_date,name:"book_date[]",title:e.$t("form.book_date")},model:{value:e.value.book_date,callback:function(t){e.$set(e.value,"book_date",t)},expression:"value.book_date"}}):e._e(),e._v(" "),this.fields.process_date?n(e.dateComponent,{tag:"component",attrs:{error:e.error.process_date,name:"process_date[]",title:e.$t("form.process_date")},model:{value:e.value.process_date,callback:function(t){e.$set(e.value,"process_date",t)},expression:"value.process_date"}}):e._e(),e._v(" "),this.fields.due_date?n(e.dateComponent,{tag:"component",attrs:{error:e.error.due_date,name:"due_date[]",title:e.$t("form.due_date")},model:{value:e.value.due_date,callback:function(t){e.$set(e.value,"due_date",t)},expression:"value.due_date"}}):e._e(),e._v(" "),this.fields.payment_date?n(e.dateComponent,{tag:"component",attrs:{error:e.error.payment_date,name:"payment_date[]",title:e.$t("form.payment_date")},model:{value:e.value.payment_date,callback:function(t){e.$set(e.value,"payment_date",t)},expression:"value.payment_date"}}):e._e(),e._v(" "),this.fields.invoice_date?n(e.dateComponent,{tag:"component",attrs:{error:e.error.invoice_date,name:"invoice_date[]",title:e.$t("form.invoice_date")},model:{value:e.value.invoice_date,callback:function(t){e.$set(e.value,"invoice_date",t)},expression:"value.invoice_date"}}):e._e(),e._v(" "),this.fields.internal_reference?n(e.stringComponent,{tag:"component",attrs:{error:e.error.internal_reference,name:"internal_reference[]",title:e.$t("form.internal_reference")},model:{value:e.value.internal_reference,callback:function(t){e.$set(e.value,"internal_reference",t)},expression:"value.internal_reference"}}):e._e(),e._v(" "),this.fields.attachments?n(e.attachmentComponent,{tag:"component",attrs:{error:e.error.attachments,name:"attachments[]",title:e.$t("firefly.attachments")},model:{value:e.value.attachments,callback:function(t){e.$set(e.value,"attachments",t)},expression:"value.attachments"}}):e._e(),e._v(" "),this.fields.notes?n(e.textareaComponent,{tag:"component",attrs:{error:e.error.notes,name:"notes[]",title:e.$t("firefly.notes")},model:{value:e.value.notes,callback:function(t){e.$set(e.value,"notes",t)},expression:"value.notes"}}):e._e()],1)}),[],!1,null,"c24d33ba",null);t.a=o.exports},function(e,t,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(e){this.$emit("input",this.$refs.piggy.value)},hasError:function(){return this.error.length>0},loadPiggies:function(){var e=this,t=document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/piggy-banks-with-balance";axios.get(t,{}).then((function(t){var n={0:{group:{title:e.$t("firefly.default_group_title_name")},piggies:[{name_with_balance:e.no_piggy_bank,id:0}]}};for(var a in t.data)if(t.data.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var i=t.data[a];if(i.objectGroup){var o=i.objectGroup.order;n[o]||(n[o]={group:{title:i.objectGroup.title},piggies:[]}),n[o].piggies.push({name_with_balance:i.name_with_balance,id:i.id})}i.objectGroup||n[0].piggies.push({name_with_balance:i.name_with_balance,id:i.id}),e.piggies.push(t.data[a])}var r={};Object.keys(n).sort().forEach((function(e){var t=n[e].group.title;r[t]=n[e]})),e.piggies=r,console.log(r)}))}}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return void 0!==this.transactionType&&"Transfer"===this.transactionType?n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.piggy_bank"))+"\n\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("select",{ref:"piggy",staticClass:"form-control",attrs:{name:"piggy_bank[]"},on:{input:e.handleInput}},e._l(this.piggies,(function(t,a){return n("optgroup",{attrs:{label:a}},e._l(t.piggies,(function(t){return n("option",{attrs:{label:t.name_with_balance},domProps:{value:t.id}},[e._v(e._s(t.name_with_balance))])})),0)})),0),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)]):e._e()}),[],!1,null,"8a36bd0c",null);t.a=o.exports},function(e,t,n){"use strict";var a=n(3),i=n.n(a),o=n(51),r={name:"Tags",components:{VueTagsInput:n.n(o).a},props:["value","error"],data:function(){return{tag:"",autocompleteItems:[],debounce:null,tags:this.value}},watch:{tag:"initItems"},methods:{update:function(e){this.autocompleteItems=[],this.tags=e,this.$emit("input",this.tags)},clearTags:function(){this.tags=[]},hasError:function(){return this.error.length>0},initItems:function(){var e=this;if(!(this.tag.length<2)){var t=document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/tags?query=".concat(this.tag);clearTimeout(this.debounce),this.debounce=setTimeout((function(){i.a.get(t).then((function(t){e.autocompleteItems=t.data.map((function(e){return{text:e.tag}}))})).catch((function(){return console.warn("Oh. Something went wrong loading tags.")}))}),600)}}}},s=n(0),c=Object(s.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.tags"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("vue-tags-input",{attrs:{tags:e.tags,title:e.$t("firefly.tags"),classes:"form-input","autocomplete-items":e.autocompleteItems,"add-only-from-autocomplete":!1,placeholder:e.$t("firefly.tags")},on:{"tags-changed":e.update},model:{value:e.tag,callback:function(t){e.tag=t},expression:"tag"}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearTags}},[n("i",{staticClass:"fa fa-trash-o"})])])],1)]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)}),[],!1,null,"7b121252",null);t.a=c.exports},function(e,t,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+"api/v1/autocomplete/categories?query="},methods:{hasError:function(){return this.error.length>0},aSyncFunction:function(e,t){axios.get(this.categoryAutoCompleteURI+e).then((function(e){t(e.data)})).catch((function(e){}))},handleInput:function(e){"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(e){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(e){e.keyCode}}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.category"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{type:"text",placeholder:e.$t("firefly.category"),autocomplete:"off","data-role":"input",name:"category[]",title:e.$t("firefly.category")},domProps:{value:e.value},on:{input:e.handleInput,keypress:e.handleEnter,submit:function(e){e.preventDefault()}}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:e.clearCategory}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-function":e.aSyncFunction,target:e.target,"item-key":"name"},on:{input:e.selectedItem},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}}),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"02c70491",null);t.a=o.exports},function(e,t,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(e){this.$emit("input",this.$refs.amount.value)},clearAmount:function(){this.$refs.amount.value="",this.$emit("input",this.$refs.amount.value),this.$emit("clear:amount")},hasError:function(){return this.error.length>0},changeData:function(){var e=this.transactionType;e||this.source.name||this.destination.name?(null===e&&(e=""),""!==e||""===this.source.currency_name?""!==e||""===this.destination.currency_name?"withdrawal"!==e.toLowerCase()&&"reconciliation"!==e.toLowerCase()&&"transfer"!==e.toLowerCase()?("deposit"===e.toLowerCase()&&"debt"!==this.source.type.toLowerCase()&&"loan"!==this.source.type.toLowerCase()&&"mortgage"!==this.source.type.toLowerCase()&&$(this.$refs.cur).text(this.destination.currency_name),"deposit"!==e.toLowerCase()||"debt"!==this.source.type.toLowerCase()&&"loan"!==this.source.type.toLowerCase()&&"mortgage"!==this.source.type.toLowerCase()||$(this.$refs.cur).text(this.source.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()}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-8 col-sm-offset-4 text-sm"},[e._v("\n "+e._s(e.$t("firefly.amount"))+"\n ")]),e._v(" "),n("label",{ref:"cur",staticClass:"col-sm-4 control-label"}),e._v(" "),n("div",{staticClass:"col-sm-8"},[n("div",{staticClass:"input-group"},[n("input",{ref:"amount",staticClass:"form-control",attrs:{type:"number",step:"any",name:"amount[]",title:e.$t("firefly.amount"),autocomplete:"off",placeholder:e.$t("firefly.amount")},domProps:{value:e.value},on:{input:e.handleInput}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearAmount}},[n("i",{staticClass:"fa fa-trash-o"})])])])]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)}),[],!1,null,"440928b9",null);t.a=o.exports},function(e,t,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:{clearAmount:function(){this.$refs.amount.value="",this.$emit("input",this.$refs.amount.value),this.$emit("clear:amount")},hasError:function(){return this.error.length>0},handleInput:function(e){var t={amount:this.$refs.amount.value,currency_id:this.$refs.currency_select.value};this.$emit("input",t)},changeData:function(){this.enabledCurrencies=[];var e=this.destination.type?this.destination.type.toLowerCase():"invalid",t=this.source.type?this.source.type.toLowerCase():"invalid",n=this.transactionType?this.transactionType.toLowerCase():"invalid",a=["loan","debt","mortgage"],i=-1!==a.indexOf(t),o=-1!==a.indexOf(e);if("transfer"===n||o||i)for(var r in this.liability=!0,this.currencies)this.currencies.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294&&this.currencies[r].id===this.destination.currency_id&&this.enabledCurrencies.push(this.currencies[r]);else if("withdrawal"===n&&this.source&&!1===i)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 l in this.currencies)this.currencies.hasOwnProperty(l)&&/^0$|^[1-9]\d*$/.test(l)&&l<=4294967294&&this.enabledCurrencies.push(this.currencies[l])},loadCurrencies:function(){var e=this,t=document.getElementsByTagName("base")[0].href+"api/v1/currencies";axios.get(t,{}).then((function(t){for(var n in e.currencies=[{id:0,attributes:{name:e.no_currency,enabled:!0}}],e.enabledCurrencies=[{attributes:{name:e.no_currency,enabled:!0},id:0}],t.data.data)t.data.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&t.data.data[n].attributes.enabled&&(console.log(t.data.data[n].attributes),e.currencies.push(t.data.data[n]),e.enabledCurrencies.push(t.data.data[n]))}))}}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return this.enabledCurrencies.length>=1?n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-8 col-sm-offset-4 text-sm"},[e._v("\n "+e._s(e.$t("form.foreign_amount"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-4"},[n("select",{ref:"currency_select",staticClass:"form-control",attrs:{name:"foreign_currency[]"},on:{input:e.handleInput}},e._l(this.enabledCurrencies,(function(t){return n("option",{attrs:{label:t.attributes.name},domProps:{value:t.id,selected:e.value.currency_id===t.id}},[e._v("\n "+e._s(t.attributes.name)+"\n ")])})),0)]),e._v(" "),n("div",{staticClass:"col-sm-8"},[n("div",{staticClass:"input-group"},[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:e.value.amount},on:{input:e.handleInput}}):e._e(),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearAmount}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)]):e._e()}),[],!1,null,"2fa97eb6",null);t.a=o.exports},function(e,t,n){"use strict";var a={props:{source:String,destination:String,type:String},methods:{changeValue:function(){if(this.source&&this.destination){var e="";window.accountToTypes[this.source]?window.accountToTypes[this.source][this.destination]?e=window.accountToTypes[this.source][this.destination]:console.warn("User selected an impossible destination."):console.warn("User selected an impossible source."),""!==e&&(this.transactionType=e,this.sentence=this.$t("firefly.you_create_"+e.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"},i=n(0),o=Object(i.a)(a,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-group"},[t("div",{staticClass:"col-sm-12"},[""!==this.sentence?t("label",{staticClass:"control-label text-info"},[this._v("\n "+this._s(this.sentence)+"\n ")]):this._e()])])}),[],!1,null,"0539dc1a",null);t.a=o.exports},function(e,t,n){"use strict";var a={props:{inputName:String,inputDescription: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,this.updateACURI(this.allowedTypes.join(",")),this.name=this.accountName,this.triggerTransactionType()},watch:{transactionType:function(){this.triggerTransactionType()},accountName:function(){this.name=this.accountName},accountTypeFilters:function(){var e=this.accountTypeFilters.join(",");0===this.accountTypeFilters.length&&(e=this.defaultAccountTypeFilters.join(",")),this.updateACURI(e)},name:function(){}},methods:{aSyncFunction:function(e,t){axios.get(this.accountAutoCompleteURI+e).then((function(e){t(e.data)})).catch((function(e){}))},updateACURI:function(e){this.accountAutoCompleteURI=document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/accounts?types="+e+"&query=",console.log("Auto complete URI is now "+this.accountAutoCompleteURI)},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(e){void 0!==this.name&&("string"==typeof this.name&&this.$emit("clear:value"),this.$emit("select:account",this.name))},clearSource:function(e){this.name="",this.$emit("clear:value")},handleEnter:function(e){e.keyCode}}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.inputDescription)+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[n("div",{staticClass:"input-group"},[n("input",{ref:"input",staticClass:"form-control",attrs:{type:"text",placeholder:e.inputDescription,"data-index":e.index,autocomplete:"off","data-role":"input",disabled:e.inputDisabled,name:e.inputName,title:e.inputDescription},on:{keypress:e.handleEnter,submit:function(e){e.preventDefault()}}}),e._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-default",attrs:{tabIndex:"-1",type:"button"},on:{click:e.clearSource}},[n("i",{staticClass:"fa fa-trash-o"})])])]),e._v(" "),n("typeahead",{attrs:{"open-on-empty":!0,"open-on-focus":!0,"async-function":e.aSyncFunction,target:e.target,"item-key":"name_with_balance"},on:{input:e.selectedItem},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}}),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)])}),[],!1,null,"7a24c7ce",null);t.a=o.exports},function(e,t,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(e){this.$emit("input",this.$refs.budget.value)},handleInput:function(e){this.$emit("input",this.$refs.budget.value)},hasError:function(){return this.error.length>0},loadBudgets:function(){var e=this,t=document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/budgets";axios.get(t,{}).then((function(t){for(var n in e.budgets=[{name:e.no_budget,id:0}],t.data)t.data.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&e.budgets.push(t.data[n])}))}}},i=n(0),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return void 0===this.transactionType||"withdrawal"===this.transactionType||"Withdrawal"===this.transactionType||""===this.transactionType||null===this.transactionType?n("div",{staticClass:"form-group",class:{"has-error":e.hasError()}},[n("div",{staticClass:"col-sm-12 text-sm"},[e._v("\n "+e._s(e.$t("firefly.budget"))+"\n ")]),e._v(" "),n("div",{staticClass:"col-sm-12"},[this.budgets.length>0?n("select",{directives:[{name:"model",rawName:"v-model",value:e.selected,expression:"selected"}],ref:"budget",staticClass:"form-control",attrs:{name:"budget[]",title:e.$t("firefly.budget")},on:{input:e.handleInput,change:[function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.selected=t.target.multiple?n:n[0]},e.signalChange]}},e._l(this.budgets,(function(t){return n("option",{attrs:{label:t.name},domProps:{value:t.id}},[e._v(e._s(t.name)+"\n ")])})),0):e._e(),e._v(" "),1===this.budgets.length?n("p",{staticClass:"help-block",domProps:{innerHTML:e._s(e.$t("firefly.no_budget_pointer"))}}):e._e(),e._v(" "),e._l(this.error,(function(t){return n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"text-danger"},[e._v(e._s(t))])])}))],2)]):e._e()}),[],!1,null,"e2ce9e94",null);t.a=o.exports},,,,,,,,,,,,,,,,function(e,t,n){e.exports=n(94)},,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var a=n(52),i={name:"EditTransaction",props:{groupId:Number},mounted:function(){this.getGroup()},ready:function(){},methods:{positiveAmount:function(e){return e<0?-1*e:e},roundNumber:function(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n},selectedSourceAccount:function(e,t){if("string"==typeof t)return this.transactions[e].source_account.id=null,void(this.transactions[e].source_account.name=t);this.transactions[e].source_account={id:t.id,name:t.name,type:t.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:this.transactions[e].source_account.allowed_types}},selectedDestinationAccount:function(e,t){if("string"==typeof t)return this.transactions[e].destination_account.id=null,void(this.transactions[e].destination_account.name=t);this.transactions[e].destination_account={id:t.id,name:t.name,type:t.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:this.transactions[e].destination_account.allowed_types}},clearSource:function(e){this.transactions[e].source_account={id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:this.transactions[e].source_account.allowed_types},this.transactions[e].destination_account&&this.selectedDestinationAccount(e,this.transactions[e].destination_account)},setTransactionType:function(e){null!==e&&(this.transactionType=e)},deleteTransaction:function(e,t){t.preventDefault(),this.transactions.splice(e,1)},clearDestination:function(e){this.transactions[e].destination_account={id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2,allowed_types:this.transactions[e].destination_account.allowed_types},this.transactions[e].source_account&&this.selectedSourceAccount(e,this.transactions[e].source_account)},getGroup:function(){var e=this,t=window.location.href.split("/"),n="./api/v1/transactions/"+t[t.length-1]+"?_token="+document.head.querySelector('meta[name="csrf-token"]').content;axios.get(n).then((function(t){e.processIncomingGroup(t.data.data)})).catch((function(e){}))},processIncomingGroup:function(e){this.group_title=e.attributes.group_title;var t=e.attributes.transactions.reverse();for(var n in t)if(t.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294){var a=t[n];this.processIncomingGroupRow(a)}},ucFirst:function(e){return"string"==typeof e?e.charAt(0).toUpperCase()+e.slice(1):null},processIncomingGroupRow:function(e){this.setTransactionType(e.type);var t=[];for(var n in e.tags)e.tags.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294&&t.push({text:e.tags[n],tiClasses:[]});console.log("source allowed types for a "+e.type),console.log(window.expectedSourceTypes.source[this.ucFirst(e.type)]),console.log("destination allowed types for a "+e.type),console.log(window.expectedSourceTypes.destination[this.ucFirst(e.type)]),this.transactions.push({transaction_journal_id:e.transaction_journal_id,description:e.description,date:e.date.substr(0,10),amount:this.roundNumber(this.positiveAmount(e.amount),e.currency_decimal_places),category:e.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:e.budget_id,tags:t,custom_fields:{interest_date:e.interest_date,book_date:e.book_date,process_date:e.process_date,due_date:e.due_date,payment_date:e.payment_date,invoice_date:e.invoice_date,internal_reference:e.internal_reference,notes:e.notes},foreign_amount:{amount:this.roundNumber(this.positiveAmount(e.foreign_amount),e.foreign_currency_decimal_places),currency_id:e.foreign_currency_id},source_account:{id:e.source_id,name:e.source_name,type:e.source_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:window.expectedSourceTypes.source[this.ucFirst(e.type)]},destination_account:{id:e.destination_id,name:e.destination_name,type:e.destination_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:window.expectedSourceTypes.destination[this.ucFirst(e.type)]}})},limitSourceType:function(e){},limitDestinationType:function(e){},convertData:function(){var e,t,n,a={transactions:[]};for(var i in this.transactions.length>1&&(a.group_title=this.group_title),e=this.transactionType?this.transactionType.toLowerCase():"invalid",t=this.transactions[0].source_account.type,n=this.transactions[0].destination_account.type,"invalid"===e&&["Asset account","Loan","Debt","Mortgage"].includes(t)&&(e="withdrawal"),"invalid"===e&&["Asset account","Loan","Debt","Mortgage"].includes(n)&&(e="deposit"),this.transactions)this.transactions.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294&&a.transactions.push(this.convertDataRow(this.transactions[i],i,e));return a},convertDataRow:function(e,t,n){var a,i,o,r,s,c,l=[],u=null,d=null;for(var p in i=e.source_account.id,o=e.source_account.name,r=e.destination_account.id,s=e.destination_account.name,c=e.date,t>0&&(c=this.transactions[0].date),"withdrawal"===n&&""===s&&(r=window.cashAccountId),"deposit"===n&&""===o&&(i=window.cashAccountId),t>0&&("withdrawal"===n.toLowerCase()||"transfer"===n.toLowerCase())&&(i=this.transactions[0].source_account.id,o=this.transactions[0].source_account.name),t>0&&("deposit"===n.toLowerCase()||"transfer"===n.toLowerCase())&&(r=this.transactions[0].destination_account.id,s=this.transactions[0].destination_account.name),l=[],u=null,d=null,e.tags)e.tags.hasOwnProperty(p)&&/^0$|^[1-9]\d*$/.test(p)&&p<=4294967294&&l.push(e.tags[p].text);return""!==e.foreign_amount.amount&&0!==parseFloat(e.foreign_amount.amount)&&(u=e.foreign_amount.amount,d=e.foreign_amount.currency_id),d===e.currency_id&&(u=null,d=null),0===r&&(r=null),0===i&&(i=null),1===(String(e.amount).match(/\,/g)||[]).length&&(e.amount=String(e.amount).replace(",",".")),a={transaction_journal_id:e.transaction_journal_id,type:n,date:c,amount:e.amount,currency_id:e.currency_id,description:e.description,source_id:i,source_name:o,destination_id:r,destination_name:s,category_name:e.category,interest_date:e.custom_fields.interest_date,book_date:e.custom_fields.book_date,process_date:e.custom_fields.process_date,due_date:e.custom_fields.due_date,payment_date:e.custom_fields.payment_date,invoice_date:e.custom_fields.invoice_date,internal_reference:e.custom_fields.internal_reference,notes:e.custom_fields.notes,tags:l},null!==u&&(a.foreign_amount=u,a.foreign_currency_id=d),a.budget_id=parseInt(e.budget),parseInt(e.piggy_bank)>0&&(a.piggy_bank_id=parseInt(e.piggy_bank)),a},submit:function(e){var t=this,n=window.location.href.split("/"),a="./api/v1/transactions/"+n[n.length-1]+"?_token="+document.head.querySelector('meta[name="csrf-token"]').content,i="PUT";this.storeAsNew&&(a="./api/v1/transactions?_token="+document.head.querySelector('meta[name="csrf-token"]').content,i="POST");var o=this.convertData(),r=$("#submitButton");r.prop("disabled",!0),axios({method:i,url:a,data:o}).then((function(e){0===t.collectAttachmentData(e)&&t.redirectUser(e.data.data.id)})).catch((function(e){t.parseErrors(e.response.data)})),e&&e.preventDefault(),r.removeAttr("disabled")},redirectUser:function(e){this.returnAfter?(this.setDefaultErrors(),this.storeAsNew?(this.success_message=this.$t("firefly.transaction_new_stored_link",{ID:e}),this.error_message=""):(this.success_message=this.$t("firefly.transaction_updated_link",{ID:e}),this.error_message="")):this.storeAsNew?window.location.href=window.previousUri+"?transaction_group_id="+e+"&message=created":window.location.href=window.previousUri+"?transaction_group_id="+e+"&message=updated"},collectAttachmentData:function(e){var t=this,n=e.data.data.id,a=[],i=[],o=$('input[name="attachments[]"]');for(var r in o)if(o.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294)for(var s in o[r].files)if(o[r].files.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294){var c=e.data.data.attributes.transactions.reverse();a.push({journal:c[r].transaction_journal_id,file:o[r].files[s]})}var l=a.length,u=function(e){var o,r,s;a.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&(o=a[e],r=t,(s=new FileReader).onloadend=function(t){t.target.readyState===FileReader.DONE&&(i.push({name:a[e].file.name,journal:a[e].journal,content:new Blob([t.target.result])}),i.length===l&&r.uploadFiles(i,n))},s.readAsArrayBuffer(o.file))};for(var d in a)u(d);return l},uploadFiles:function(e,t){var n=this,a=e.length,i=0,o=function(o){if(e.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294){var r={filename:e[o].name,attachable_type:"TransactionJournal",attachable_id:e[o].journal};axios.post("./api/v1/attachments",r).then((function(r){var s="./api/v1/attachments/"+r.data.data.id+"/upload";axios.post(s,e[o].content).then((function(e){return++i===a&&n.redirectUser(t,null),!0})).catch((function(e){return console.error("Could not upload file."),console.error(e),i++,n.error_message="Could not upload attachment: "+e,i===a&&n.redirectUser(t,null),!1}))})).catch((function(e){return console.error("Could not create upload."),console.error(e),++i===a&&n.redirectUser(t,null),!1}))}};for(var r in e)o(r)},addTransaction:function(e){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:[]}}),e&&e.preventDefault()},parseErrors:function(e){var t,n;for(var a in this.setDefaultErrors(),this.error_message="",e.message.length>0?this.error_message=this.$t("firefly.errors_submission"):this.error_message="",e.errors)if(e.errors.hasOwnProperty(a)&&("group_title"===a&&(this.group_title_errors=e.errors[a]),"group_title"!==a)){switch(t=parseInt(a.split(".")[1]),n=a.split(".")[2]){case"amount":case"date":case"budget_id":case"description":case"tags":this.transactions[t].errors[n]=e.errors[a];break;case"source_name":case"source_id":this.transactions[t].errors.source_account=this.transactions[t].errors.source_account.concat(e.errors[a]);break;case"destination_name":case"destination_id":this.transactions[t].errors.destination_account=this.transactions[t].errors.destination_account.concat(e.errors[a]);break;case"foreign_amount":case"foreign_currency_id":this.transactions[t].errors.foreign_amount=this.transactions[t].errors.foreign_amount.concat(e.errors[a])}this.transactions[t].errors.source_account=Array.from(new Set(this.transactions[t].errors.source_account)),this.transactions[t].errors.destination_account=Array.from(new Set(this.transactions[t].errors.destination_account))}},setDefaultErrors:function(){for(var e in this.transactions)this.transactions.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&(this.transactions[e].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}}},o=n(0),r=Object(o.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;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"}}),e._v(" "),""!==e.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":e.$t("firefly.close")}},[n("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])]),e._v(" "),n("strong",[e._v(e._s(e.$t("firefly.flash_error")))]),e._v(" "+e._s(e.error_message)+"\n ")])])]):e._e(),e._v(" "),""!==e.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":e.$t("firefly.close")}},[n("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])]),e._v(" "),n("strong",[e._v(e._s(e.$t("firefly.flash_success")))]),e._v(" "),n("span",{domProps:{innerHTML:e._s(e.success_message)}})])])]):e._e(),e._v(" "),n("div",e._l(e.transactions,(function(t,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"},[e.transactions.length>1?n("span",[e._v(e._s(e.$t("firefly.split"))+" "+e._s(a+1)+" / "+e._s(e.transactions.length))]):e._e(),e._v(" "),1===e.transactions.length?n("span",[e._v(e._s(e.$t("firefly.transaction_journal_information")))]):e._e()]),e._v(" "),e.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(t){return e.deleteTransaction(a,t)}}},[n("i",{staticClass:"fa fa-trash"})])]):e._e()]),e._v(" "),n("div",{staticClass:"box-body"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-4"},["reconciliation"!==e.transactionType.toLowerCase()?n("transaction-description",{attrs:{index:a,error:t.errors.description},model:{value:t.description,callback:function(n){e.$set(t,"description",n)},expression:"transaction.description"}}):e._e(),e._v(" "),"reconciliation"!==e.transactionType.toLowerCase()?n("account-select",{attrs:{inputName:"source[]",inputDescription:e.$t("firefly.source_account"),accountName:t.source_account.name,accountTypeFilters:t.source_account.allowed_types,transactionType:e.transactionType,index:a,error:t.errors.source_account},on:{"clear:value":function(t){return e.clearSource(a)},"select:account":function(t){return e.selectedSourceAccount(a,t)}}}):e._e(),e._v(" "),"reconciliation"===e.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",[e._v("\n "+e._s(e.$t("firefly.source_account_reconciliation"))+"\n ")])])])]):e._e(),e._v(" "),"reconciliation"!==e.transactionType.toLowerCase()?n("account-select",{attrs:{inputName:"destination[]",inputDescription:e.$t("firefly.destination_account"),accountName:t.destination_account.name,accountTypeFilters:t.destination_account.allowed_types,transactionType:e.transactionType,index:a,error:t.errors.destination_account},on:{"clear:value":function(t){return e.clearDestination(a)},"select:account":function(t){return e.selectedDestinationAccount(a,t)}}}):e._e(),e._v(" "),"reconciliation"===e.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",[e._v("\n "+e._s(e.$t("firefly.destination_account_reconciliation"))+"\n ")])])])]):e._e(),e._v(" "),n("standard-date",{attrs:{index:a,error:t.errors.date},model:{value:t.date,callback:function(n){e.$set(t,"date",n)},expression:"transaction.date"}}),e._v(" "),0===a?n("div",[n("transaction-type",{attrs:{source:t.source_account.type,destination:t.destination_account.type},on:{"set:transactionType":function(t){return e.setTransactionType(t)},"act:limitSourceType":function(t){return e.limitSourceType(t)},"act:limitDestinationType":function(t){return e.limitDestinationType(t)}}})],1):e._e()],1),e._v(" "),n("div",{staticClass:"col-lg-4"},[n("amount",{attrs:{source:t.source_account,destination:t.destination_account,error:t.errors.amount,transactionType:e.transactionType},model:{value:t.amount,callback:function(n){e.$set(t,"amount",n)},expression:"transaction.amount"}}),e._v(" "),"reconciliation"!==e.transactionType.toLowerCase()?n("foreign-amount",{attrs:{source:t.source_account,destination:t.destination_account,transactionType:e.transactionType,error:t.errors.foreign_amount,no_currency:e.$t("firefly.none_in_select_list"),title:e.$t("form.foreign_amount")},model:{value:t.foreign_amount,callback:function(n){e.$set(t,"foreign_amount",n)},expression:"transaction.foreign_amount"}}):e._e()],1),e._v(" "),n("div",{staticClass:"col-lg-4"},[n("budget",{attrs:{transactionType:e.transactionType,error:t.errors.budget_id,no_budget:e.$t("firefly.none_in_select_list")},model:{value:t.budget,callback:function(n){e.$set(t,"budget",n)},expression:"transaction.budget"}}),e._v(" "),n("category",{attrs:{transactionType:e.transactionType,error:t.errors.category},model:{value:t.category,callback:function(n){e.$set(t,"category",n)},expression:"transaction.category"}}),e._v(" "),n("tags",{attrs:{transactionType:e.transactionType,tags:t.tags,error:t.errors.tags},model:{value:t.tags,callback:function(n){e.$set(t,"tags",n)},expression:"transaction.tags"}}),e._v(" "),n("custom-transaction-fields",{attrs:{error:t.errors.custom_errors},model:{value:t.custom_fields,callback:function(n){e.$set(t,"custom_fields",n)},expression:"transaction.custom_fields"}})],1)])]),e._v(" "),e.transactions.length-1===a&&"reconciliation"!==e.transactionType.toLowerCase()?n("div",{staticClass:"box-footer"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:e.addTransaction}},[e._v(e._s(e.$t("firefly.add_another_split")))])]):e._e()])])])})),0),e._v(" "),e.transactions.length>1?n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-6 col-md-6 col-sm-12 col-xs-12"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title"},[e._v("\n "+e._s(e.$t("firefly.split_transaction_title"))+"\n ")])]),e._v(" "),n("div",{staticClass:"box-body"},[n("group-description",{attrs:{error:e.group_title_errors},model:{value:e.group_title,callback:function(t){e.group_title=t},expression:"group_title"}})],1)])])]):e._e(),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-6 col-md-6 col-sm-12 col-xs-12"},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-header with-border"},[n("h3",{staticClass:"box-title"},[e._v("\n "+e._s(e.$t("firefly.submission"))+"\n ")])]),e._v(" "),n("div",{staticClass:"box-body"},[n("div",{staticClass:"checkbox"},[n("label",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.returnAfter,expression:"returnAfter"}],attrs:{name:"return_after",type:"checkbox"},domProps:{checked:Array.isArray(e.returnAfter)?e._i(e.returnAfter,null)>-1:e.returnAfter},on:{change:function(t){var n=e.returnAfter,a=t.target,i=!!a.checked;if(Array.isArray(n)){var o=e._i(n,null);a.checked?o<0&&(e.returnAfter=n.concat([null])):o>-1&&(e.returnAfter=n.slice(0,o).concat(n.slice(o+1)))}else e.returnAfter=i}}}),e._v("\n "+e._s(e.$t("firefly.after_update_create_another"))+"\n ")])]),e._v(" "),null!==e.transactionType&&"reconciliation"!==e.transactionType.toLowerCase()?n("div",{staticClass:"checkbox"},[n("label",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.storeAsNew,expression:"storeAsNew"}],attrs:{name:"store_as_new",type:"checkbox"},domProps:{checked:Array.isArray(e.storeAsNew)?e._i(e.storeAsNew,null)>-1:e.storeAsNew},on:{change:function(t){var n=e.storeAsNew,a=t.target,i=!!a.checked;if(Array.isArray(n)){var o=e._i(n,null);a.checked?o<0&&(e.storeAsNew=n.concat([null])):o>-1&&(e.storeAsNew=n.slice(0,o).concat(n.slice(o+1)))}else e.storeAsNew=i}}}),e._v("\n "+e._s(e.$t("firefly.store_as_new"))+"\n ")])]):e._e()]),e._v(" "),n("div",{staticClass:"box-footer"},[n("div",{staticClass:"btn-group"},[n("button",{staticClass:"btn btn-success",on:{click:e.submit}},[e._v(e._s(e.$t("firefly.update_transaction")))])])])])])])])}),[],!1,null,"75a4fb0e",null).exports,s=n(53),c=n(54),l=n(55),u=n(56),d=n(57),p=n(58),_=n(59),A=n(60),f=n(61),h=n(62),g=n(63),m=n(64),v=n(65),y=n(66),b=n(67);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",l.a),Vue.component("standard-date",u.a),Vue.component("group-description",d.a),Vue.component("transaction-description",p.a),Vue.component("custom-transaction-fields",_.a),Vue.component("piggy-bank",A.a),Vue.component("tags",f.a),Vue.component("category",h.a),Vue.component("amount",g.a),Vue.component("foreign-amount",m.a),Vue.component("transaction-type",v.a),Vue.component("account-select",y.a),Vue.component("edit-transaction",r);var k=n(29),w={};new Vue({i18n:k,el:"#edit_transaction",render:function(e){return e(r,{props:w})}})}]); \ No newline at end of file diff --git a/public/v1/js/ff/common/autocomplete.js b/public/v1/js/ff/common/autocomplete.js index fc9916c7cc..ef544da22a 100644 --- a/public/v1/js/ff/common/autocomplete.js +++ b/public/v1/js/ff/common/autocomplete.js @@ -74,7 +74,7 @@ function initExpenseACField(fieldName) { datumTokenizer: Bloodhound.tokenizers.obj.whitespace('name'), queryTokenizer: Bloodhound.tokenizers.whitespace, prefetch: { - url: 'json/expense-accounts?uid=' + uid, + url: 'api/v1/autocomplete/accounts?types=Expense account&uid=' + uid, filter: function (list) { return $.map(list, function (name) { return {name: name}; @@ -82,7 +82,7 @@ function initExpenseACField(fieldName) { } }, remote: { - url: 'json/expense-accounts?search=%QUERY&uid=' + uid, + url: 'api/v1/autocomplete/accounts?types=Expense account&query=%QUERY&uid=' + uid, wildcard: '%QUERY', filter: function (list) { return $.map(list, function (name) { @@ -113,7 +113,7 @@ function initRevenueACField(fieldName) { datumTokenizer: Bloodhound.tokenizers.obj.whitespace('name'), queryTokenizer: Bloodhound.tokenizers.whitespace, prefetch: { - url: 'json/revenue-accounts?uid=' + uid, + url: 'api/v1/autocomplete/accounts?types=Revenue account&uid=' + uid, filter: function (list) { return $.map(list, function (name) { return {name: name}; @@ -121,7 +121,7 @@ function initRevenueACField(fieldName) { } }, remote: { - url: 'json/revenue-accounts?search=%QUERY&uid=' + uid, + url: 'api/v1/autocomplete/accounts?types=Revenue account&query=%QUERY&uid=' + uid, wildcard: '%QUERY', filter: function (list) { return $.map(list, function (name) { diff --git a/public/v1/js/ff/rules/create-edit.js b/public/v1/js/ff/rules/create-edit.js index a7e4c27891..d514d8107a 100644 --- a/public/v1/js/ff/rules/create-edit.js +++ b/public/v1/js/ff/rules/create-edit.js @@ -249,7 +249,7 @@ function updateActionInput(selectList) { break; case 'set_description': console.log('Select list value is ' + selectList.val() + ', so input needs auto complete.'); - createAutoComplete(inputResult, 'json/transaction-journals/all'); + createAutoComplete(inputResult, 'api/v1/autocomplete/transactions'); break; case 'set_source_account': console.log('Select list value is ' + selectList.val() + ', so input needs auto complete.'); @@ -277,7 +277,7 @@ function updateActionInput(selectList) { break; case 'update_piggy': console.log('Select list value is ' + selectList.val() + ', so input needs auto complete.'); - createAutoComplete(inputResult, 'json/piggy-banks'); + createAutoComplete(inputResult, 'api/v1/autocomplete/piggy-banks'); break; default: console.log('Select list value is ' + selectList.val() + ', destroy auto complete, do nothing else.'); @@ -328,14 +328,14 @@ function updateTriggerInput(selectList) { break; case 'transaction_type': console.log('Select list value is ' + selectList.val() + ', so input needs auto complete.'); - createAutoComplete(inputResult, 'json/transaction-types'); + createAutoComplete(inputResult, 'api/v1/autocomplete/transaction-types'); break; case 'description_starts': case 'description_ends': case 'description_contains': case 'description_is': console.log('Select list value is ' + selectList.val() + ', so input needs auto complete.'); - createAutoComplete(inputResult, 'json/transaction-journals/all'); + createAutoComplete(inputResult, 'api/v1/autocomplete/transactions'); break; case 'has_no_category': case 'has_any_category': @@ -352,7 +352,7 @@ function updateTriggerInput(selectList) { case 'currency_is': case 'foreign_currency_is': console.log('Select list value is ' + selectList.val() + ', so input needs auto complete.'); - createAutoComplete(inputResult, 'json/currency-names'); + createAutoComplete(inputResult, 'api/v1/autocomplete/currencies-with-code'); break; case 'amount_less': case 'amount_more': diff --git a/public/v1/js/ff/transactions/convert.js b/public/v1/js/ff/transactions/convert.js index e8e8c4c32b..c59da7c937 100644 --- a/public/v1/js/ff/transactions/convert.js +++ b/public/v1/js/ff/transactions/convert.js @@ -39,7 +39,7 @@ function makeRevenueAC() { datumTokenizer: Bloodhound.tokenizers.obj.whitespace('name'), queryTokenizer: Bloodhound.tokenizers.whitespace, prefetch: { - url: 'json/revenue-accounts?uid=' + uid, + url: 'api/v1/autocomplete/accounts?types=Revenue account?uid=' + uid, filter: function (list) { return $.map(list, function (object) { return {name: object.name}; @@ -47,7 +47,7 @@ function makeRevenueAC() { } }, remote: { - url: 'json/revenue-accounts?search=%QUERY&uid=' + uid, + url: 'api/v1/autocomplete/accounts?types=Revenue account&query=%QUERY&uid=' + uid, wildcard: '%QUERY', filter: function (list) { return $.map(list, function (object) { diff --git a/public/v1/js/ff/transactions/create.js b/public/v1/js/ff/transactions/create.js deleted file mode 100644 index f5fcab4d67..0000000000 --- a/public/v1/js/ff/transactions/create.js +++ /dev/null @@ -1,225 +0,0 @@ -/* - * create.js - * Copyright (c) 2019 james@firefly-iii.org - * - * This file is part of Firefly III (https://github.com/firefly-iii). - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ - -/** global: autoCompleteUri */ - -$(function () { - "use strict"; - initPage(); - -}); -function initPage() { - // recreate buttons and auto-complete things - autoComplete(); - makeButtons(); - runModernizer(); -} - -/** - * Reset all click triggers. - */ -function makeButtons() { - $('.clearDestination').unbind('click').on('click', clearDestination); - $('.clearSource').unbind('click').on('click', clearSource); - $('#addSplitButton').unbind('click').on('click', addSplit); -} - -function addSplit() { - // clone the latest - var latest =$($('#transactions').children()[$('#transactions').children().length - 1]); - latest.clone(true).appendTo('#transactions'); - - initPage(); - - return false; -} - -/** - * Code to handle clearing the source account. - * @param e - */ -function clearSource(e) { - console.log('Now clearing source.'); - var button = $(e.currentTarget); - // empty value. - $(button.parent().parent().find('input').get(0)).val(''); - - // reset source account - setSourceAccount(null); - -} - -/** - * Code to handle clearing the destination account. - * @param e - */ -function clearDestination(e) { - console.log('Now clearing destination.'); - var button = $(e.currentTarget); - // empty value. - $(button.parent().parent().find('input').get(0)).val(''); - - // reset destination account - setDestinationAccount(null); - -} - -/** - * Set the new source account (from a suggestion). - * - * @param newAccount - */ -function setSourceAccount(newAccount) { - if (null === newAccount) { - console.log('New source account is now null.'); - sourceAccount = null; - setAllowedDestinationAccounts(newAccount); - return; - } - console.log('The new source account is now ' + newAccount.value + 'of type ' + newAccount.data.type); - setAllowedDestinationAccounts(newAccount); - - sourceAccount = newAccount; - - setTransactionType(); -} - -/** - * Set the new destination account (from a suggestion). - * - * @param newAccount - */ -function setDestinationAccount(newAccount) { - if (null === newAccount) { - console.log('New destination account is now null.'); - destinationAccount = null; - setAllowedSourceAccounts(newAccount); - return; - } - console.log('The new destination account is now ' + newAccount.value + 'of type ' + newAccount.data.type); - setAllowedSourceAccounts(newAccount); - - sourceAccount = newAccount; - - setTransactionType(); -} - -/** - * Set a new limit on the allowed destination account. - * - * @param newAccount - */ -function setAllowedDestinationAccounts(newAccount) { - if (null === newAccount) { - console.log('Allowed type for destination account is anything.'); - destAllowedAccountTypes = []; - return; - } - destAllowedAccountTypes = allowedOpposingTypes.source[newAccount.data.type]; - console.log('The destination account must be of type: ', destAllowedAccountTypes); - - // todo if the current destination account is not of this type, reset it. -} - -/** - * Set a new limit on the allowed destination account. - * - * @param newAccount - */ -function setAllowedSourceAccounts(newAccount) { - if (null === newAccount) { - console.log('Allowed type for source account is anything.'); - sourceAllowedAccountTypes = []; - return; - } - sourceAllowedAccountTypes = allowedOpposingTypes.source[newAccount.data.type]; - console.log('The source account must be of type: ', sourceAllowedAccountTypes); - - // todo if the current destination account is not of this type, reset it. -} - -/** - * Create auto complete. - */ -function autoComplete() { - var options = { - serviceUrl: getSourceAutoCompleteURI, - groupBy: 'type', - onSelect: function (suggestion) { - setSourceAccount(suggestion); - } - }; - $('.sourceAccountAC').autocomplete(options); - - // also select destination account. - var destinationOptions = { - serviceUrl: getDestinationAutoCompleteURI, - groupBy: 'type', - onSelect: function (suggestion) { - setDestinationAccount(suggestion); - } - }; - - $('.destinationAccountAC').autocomplete(destinationOptions); -} - -function setTransactionType() { - if (sourceAccount === undefined || destinationAccount === undefined || sourceAccount === null || destinationAccount === null) { - $('.transactionTypeIndicator').text(''); - $('.transactionTypeIndicatorBlock').hide(); - console.warn('Not both accounts are known yet.'); - return; - } - $('.transactionTypeIndicatorBlock').show(); - var expectedType = accountToTypes[sourceAccount.data.type][destinationAccount.data.type]; - $('.transactionTypeIndicator').html(creatingTypes[expectedType]); - console.log('Expected transaction type is ' + expectedType); -} - -/** - * Returns the auto complete URI for source accounts. - * @returns {string} - */ -function getSourceAutoCompleteURI() { - console.log('Will filter source accounts', sourceAllowedAccountTypes); - return accountAutoCompleteURI + '?types=' + encodeURI(sourceAllowedAccountTypes.join(',')); -} - -/** - * Returns the auto complete URI for destination accounts. - * @returns {string} - */ -function getDestinationAutoCompleteURI() { - console.log('Will filter destination accounts', destAllowedAccountTypes); - return accountAutoCompleteURI + '?types=' + encodeURI(destAllowedAccountTypes.join(',')); -} - -/** - * Give date a datepicker if not natively supported. - */ -function runModernizer() { - if (!Modernizr.inputtypes.date) { - $('input[type="date"]').datepicker( - { - dateFormat: 'yy-mm-dd' - } - ); - } -} \ No newline at end of file diff --git a/public/v1/js/ff/transactions/mass/edit.js b/public/v1/js/ff/transactions/mass/edit.js index 8d8967cd40..0b977bded4 100644 --- a/public/v1/js/ff/transactions/mass/edit.js +++ b/public/v1/js/ff/transactions/mass/edit.js @@ -28,7 +28,7 @@ $(document).ready(function () { datumTokenizer: Bloodhound.tokenizers.obj.whitespace('name'), queryTokenizer: Bloodhound.tokenizers.whitespace, prefetch: { - url: 'json/transaction-journals/all?uid=' + uid, + url: 'api/v1/autocomplete/transactions?uid=' + uid, filter: function (list) { return $.map(list, function (obj) { return obj; @@ -36,7 +36,7 @@ $(document).ready(function () { } }, remote: { - url: 'json/transaction-journals/all?search=%QUERY&uid=' + uid, + url: 'api/v1/autocomplete/transactions?query=%QUERY&uid=' + uid, wildcard: '%QUERY', filter: function (list) { return $.map(list, function (obj) { @@ -55,7 +55,7 @@ $(document).ready(function () { datumTokenizer: Bloodhound.tokenizers.obj.whitespace('name'), queryTokenizer: Bloodhound.tokenizers.whitespace, prefetch: { - url: 'json/expense-accounts?uid=' + uid, + url: 'api/v1/autocomplete/accounts?types=Expense account?uid=' + uid, filter: function (list) { return $.map(list, function (obj) { return obj; @@ -63,7 +63,7 @@ $(document).ready(function () { } }, remote: { - url: 'json/expense-accounts?search=%QUERY&uid=' + uid, + url: 'api/v1/autocomplete/accounts?types=Expense account?query=%QUERY&uid=' + uid, wildcard: '%QUERY', filter: function (list) { return $.map(list, function (obj) { @@ -83,7 +83,7 @@ $(document).ready(function () { datumTokenizer: Bloodhound.tokenizers.obj.whitespace('name'), queryTokenizer: Bloodhound.tokenizers.whitespace, prefetch: { - url: 'json/revenue-accounts?uid=' + uid, + url: 'api/v1/autocomplete/accounts?types=Revenue account?uid=' + uid, filter: function (list) { return $.map(list, function (obj) { return obj; @@ -91,7 +91,7 @@ $(document).ready(function () { } }, remote: { - url: 'json/revenue-accounts?search=%QUERY&uid=' + uid, + url: 'api/v1/autocomplete/accounts?types=Revenue account?query=%QUERY&uid=' + uid, wildcard: '%QUERY', filter: function (list) { return $.map(list, function (obj) { diff --git a/public/v1/js/ff/transactions/single/.htaccess b/public/v1/js/ff/transactions/single/.htaccess deleted file mode 100644 index 45552cb63e..0000000000 --- a/public/v1/js/ff/transactions/single/.htaccess +++ /dev/null @@ -1 +0,0 @@ -Options -Indexes \ No newline at end of file diff --git a/public/v1/js/ff/transactions/single/common.js b/public/v1/js/ff/transactions/single/common.js deleted file mode 100644 index a053b62343..0000000000 --- a/public/v1/js/ff/transactions/single/common.js +++ /dev/null @@ -1,227 +0,0 @@ -/* - * common.js - * Copyright (c) 2019 james@firefly-iii.org - * - * This file is part of Firefly III (https://github.com/firefly-iii). - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ - -/** global: Modernizr, accountInfo, currencyInfo, accountInfo, transferInstructions, what */ - -var countConversions = 0; - -$(document).ready(function () { - "use strict"; - console.log('in common.js document.ready'); - setCommonAutocomplete(); - runModernizer(); -}); - -/** - * Give date a datepicker if not natively supported. - */ -function runModernizer() { - if (!Modernizr.inputtypes.date) { - $('input[type="date"]').datepicker( - { - dateFormat: 'yy-mm-dd' - } - ); - } -} - -/** - * Auto complete things in both edit and create routines: - */ -function setCommonAutocomplete() { - console.log('In setCommonAutoComplete()'); - - // do destination name (expense accounts): - initExpenseAC(); - - // do source name (revenue accounts): - initRevenueAC(); - - // do categories auto complete: - initCategoryAC(); - - // do tags auto complete: - initTagsAC(); -} - -/** - * When the user changes the currency in the amount drop down, it may jump from being - * the native currency to a foreign currency. Thi s triggers the display of several - * information things that make sure that the user always supplies the amount in the native currency. - * - * @returns {boolean} - */ -function selectsForeignCurrency() { - console.log('In selectsForeignCurrency()'); - var foreignCurrencyId = parseInt($('input[name="amount_currency_id_amount"]').val()); - console.log('Foreign currency ID is ' + foreignCurrencyId); - var selectedAccountId = getAccountId(); - var nativeCurrencyId = parseInt(accountInfo[selectedAccountId].preferredCurrency); - - console.log('Native currency ID is ' + nativeCurrencyId); - - if (foreignCurrencyId !== nativeCurrencyId) { - console.log('These are not the same.'); - // the input where the native amount is entered gets the symbol for the native currency: - $('.non-selectable-currency-symbol').text(currencyInfo[nativeCurrencyId].symbol); - - // the instructions get updated: - $('#ffInput_exchange_rate_instruction').text(getExchangeInstructions()); - - // both holders are shown to the user: - $('#exchange_rate_instruction_holder').show(); - if (what !== 'transfer') { - console.log('Show native amount holder.'); - $('#native_amount_holder').show(); - } - - // if possible the amount is already exchanged for the foreign currency - convertForeignToNative(); - - } - if (foreignCurrencyId === nativeCurrencyId) { - console.log('These are the same.'); - $('#exchange_rate_instruction_holder').hide(); - console.log('Hide native amount holder (a)'); - $('#native_amount_holder').hide(); - - // make all other inputs empty - //console.log('Make destination_amount empty!'); - //$('input[name="destination_amount"]').val(""); - $('input[name="native_amount"]').val(""); - } - - return false; -} - -/** - * Converts any foreign amount to the native currency. - */ -function convertForeignToNative() { - var accountId = getAccountId(); - var foreignCurrencyId = parseInt($('input[name="amount_currency_id_amount"]').val()); - var nativeCurrencyId = parseInt(accountInfo[accountId].preferredCurrency); - var foreignCurrencyCode = currencyInfo[foreignCurrencyId].code; - var nativeCurrencyCode = currencyInfo[nativeCurrencyId].code; - var date = $('#ffInput_date').val(); - var amount = $('#ffInput_amount').val(); - var uri = 'json/rate/' + foreignCurrencyCode + '/' + nativeCurrencyCode + '/' + date + '?amount=' + amount; - $.get(uri).done(updateNativeAmount); -} - -/** - * Once the data has been grabbed will update the field in the form. - * @param data - */ -function updateNativeAmount(data) { - // if native amount is already filled in, even though we do this for the first time: - // don't overrule it. - if (countConversions === 0 && $('#ffInput_native_amount').val().length > 0) { - countConversions++; - return; - } - console.log('Returned amount is: ' + data.amount); - - if (data.amount !== 0) { - $('#ffInput_native_amount').val(data.amount); - } -} - -/** - * Instructions for transfers - */ -function getTransferExchangeInstructions() { - var sourceAccount = $('select[name="source_id"]').val(); - var destAccount = $('select[name="destination_id"]').val(); - - var sourceCurrency = accountInfo[sourceAccount].preferredCurrency; - var destinationCurrency = accountInfo[destAccount].preferredCurrency; - - return transferInstructions.replace('@source_name', accountInfo[sourceAccount].name) - .replace('@dest_name', accountInfo[destAccount].name) - .replace(/@source_currency/g, currencyInfo[sourceCurrency].name) - .replace(/@dest_currency/g, currencyInfo[destinationCurrency].name); -} - -/** - * When the transaction to create is a transfer some more checks are necessary. - */ -function validateCurrencyForTransfer() { - console.log('in validateCurrencyForTransfer()'); - if (what !== "transfer") { - console.log('is not a transfer, so return.'); - return; - } - $('#source_amount_holder').show(); - var sourceAccount = $('select[name="source_id"]').val(); - var destAccount = $('select[name="destination_id"]').val(); - var sourceCurrency = accountInfo[sourceAccount].preferredCurrency; - var sourceSymbol = currencyInfo[sourceCurrency].symbol; - var destinationCurrency = accountInfo[destAccount].preferredCurrency; - var destinationSymbol = currencyInfo[destinationCurrency].symbol; - - $('#source_amount_holder').show().find('.non-selectable-currency-symbol').text(sourceSymbol); - - if (sourceCurrency === destinationCurrency) { - $('#destination_amount_holder').hide(); - $('#amount_holder').hide(); - return; - } - $('#ffInput_exchange_rate_instruction').text(getTransferExchangeInstructions()); - $('#exchange_rate_instruction_holder').show(); - $('input[name="source_amount"]').val($('input[name="amount"]').val()); - convertSourceToDestination(); - - $('#destination_amount_holder').show().find('.non-selectable-currency-symbol').text(destinationSymbol); - $('#amount_holder').hide(); -} - -/** - * Convert from source amount currency to destination currency for transfers. - * - */ -function convertSourceToDestination() { - var sourceAccount = $('select[name="source_id"]').val(); - var destAccount = $('select[name="destination_id"]').val(); - - var sourceCurrency = accountInfo[sourceAccount].preferredCurrency; - var destinationCurrency = accountInfo[destAccount].preferredCurrency; - - var sourceCurrencyCode = currencyInfo[sourceCurrency].code; - var destinationCurrencyCode = currencyInfo[destinationCurrency].code; - - var date = $('#ffInput_date').val(); - var amount = $('#ffInput_source_amount').val(); - $('#ffInput_amount').val(amount); - var uri = 'json/rate/' + sourceCurrencyCode + '/' + destinationCurrencyCode + '/' + date + '?amount=' + amount; - $.get(uri).done(updateDestinationAmount); -} - -/** - * Once the data has been grabbed will update the field (for transfers) - * @param data - */ -function updateDestinationAmount(data) { - console.log('Returned amount is: ' + data.amount); - - if (data.amount !== 0) { - $('#ffInput_destination_amount').val(data.amount); - } -} \ No newline at end of file diff --git a/public/v1/js/ff/transactions/single/create.js b/public/v1/js/ff/transactions/single/create.js deleted file mode 100644 index c357694e82..0000000000 --- a/public/v1/js/ff/transactions/single/create.js +++ /dev/null @@ -1,327 +0,0 @@ -/* - * create.js - * Copyright (c) 2019 james@firefly-iii.org - * - * This file is part of Firefly III (https://github.com/firefly-iii). - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ - -/** global: currencyInfo, overruleCurrency,useAccountCurrency, accountInfo, what,Modernizr, title, breadcrumbs, middleCrumbName, button, piggiesLength, txt, middleCrumbUrl,exchangeRateInstructions, convertForeignToNative, convertSourceToDestination, selectsForeignCurrency, accountInfo */ - -$(document).ready(function () { - "use strict"; - - // hide ALL exchange things and AMOUNT fields - $('#exchange_rate_instruction_holder').hide(); - $('#native_amount_holder').hide(); - $('#amount_holder').hide(); - $('#source_amount_holder').hide(); - $('#destination_amount_holder').hide(); - - // respond to switch buttons (first time always triggers) - updateButtons(); - updateForm(); - updateLayout(); - updateDescription(); - - - // when user changes source account or destination, native currency may be different. - $('select[name="source_id"]').on('change', function () { - selectsDifferentSource(); - // do something for transfers: - validateCurrencyForTransfer(); - }); - $('select[name="destination_id"]').on('change', function () { - selectsDifferentDestination(); - // do something for transfers: - validateCurrencyForTransfer(); - }); - - // convert foreign currency to native currency (when input changes, exchange rate) - $('#ffInput_amount').on('change', convertForeignToNative); - - // convert source currency to destination currency (slightly different routine for transfers) - $('#ffInput_source_amount').on('change', convertSourceToDestination); - - // when user selects different currency, - $('.currency-option').on('click', selectsForeignCurrency); - - - // overrule click on currency: - if (useAccountCurrency === false) { - $('.currency-option[data-id="' + overruleCurrency + '"]').click(); - $('[data-toggle="dropdown"]').parent().removeClass('open'); - } - - - $('#ffInput_description').focus(); -}); - -/** - * The user selects a different source account. Applies to withdrawals - * and transfers. - */ -function selectsDifferentSource() { - console.log('Now in selectsDifferentSource()'); - if (what === "deposit") { - console.log('User is making a deposit. Don\'t bother with source.'); - $('input[name="source_account_currency"]').val("0"); - return; - } - // store original currency ID of the selected account in a separate var: - var sourceId = $('select[name="source_id"]').val(); - var sourceCurrency = accountInfo[sourceId].preferredCurrency; - $('input[name="source_account_currency"]').val(sourceCurrency); - console.log('selectsDifferenctSource(): Set source account currency to ' + sourceCurrency); - - // change input thing: - console.log('Emulate click on .currency-option[data-id="' + sourceCurrency + '"]'); - $('.currency-option[data-id="' + sourceCurrency + '"]').click(); - $('[data-toggle="dropdown"]').parent().removeClass('open'); - $('select[name="source_id"]').focus(); -} - -/** - * The user selects a different source account. Applies to withdrawals - * and transfers. - */ -function selectsDifferentDestination() { - if (what === "withdrawal") { - console.log('User is making a withdrawal. Don\'t bother with destination.'); - $('input[name="destination_account_currency"]').val("0"); - return; - } - // store original currency ID of the selected account in a separate var: - var destinationId = $('select[name="destination_id"]').val(); - var destinationCurrency = accountInfo[destinationId].preferredCurrency; - $('input[name="destination_account_currency"]').val(destinationCurrency); - console.log('selectsDifferentDestination(): Set destinationId account currency to ' + destinationCurrency); - - // change input thing: - $('.currency-option[data-id="' + destinationCurrency + '"]').click(); - $('[data-toggle="dropdown"]').parent().removeClass('open'); - $('select[name="destination_id"]').focus(); -} - - -/** - * This function generates a small helper text to explain the user - * that they have selected a foreign currency. - * @returns {XML|string|void} - */ -function getExchangeInstructions() { - var foreignCurrencyId = parseInt($('input[name="amount_currency_id_amount"]').val()); - var selectedAccountId = getAccountId(); - var nativeCurrencyId = parseInt(accountInfo[selectedAccountId].preferredCurrency); - - var text = exchangeRateInstructions.replace('@name', accountInfo[selectedAccountId].name); - text = text.replace(/@native_currency/g, currencyInfo[nativeCurrencyId].name); - text = text.replace(/@foreign_currency/g, currencyInfo[foreignCurrencyId].name); - return text; -} - -/** - * - */ -function updateDescription() { - - // do description auto complete: - var journalNames = new Bloodhound({ - datumTokenizer: Bloodhound.tokenizers.obj.whitespace('name'), - queryTokenizer: Bloodhound.tokenizers.whitespace, - prefetch: { - url: 'json/transaction-journals/' + what + '?uid=' + uid, - filter: function (list) { - return $.map(list, function (name) { - return {name: name}; - }); - } - }, - remote: { - url: 'json/transaction-journals/' + what + '?search=%QUERY&uid=' + uid, - wildcard: '%QUERY', - filter: function (list) { - return $.map(list, function (name) { - return {name: name}; - }); - } - } - }); - journalNames.initialize(); - $('input[name="description"]').typeahead('destroy').typeahead({hint: true, highlight: true,}, {source: journalNames, displayKey: 'name', autoSelect: false}); - $('#ffInput_description').focus(); -} - -/** - * - */ -function updateLayout() { - "use strict"; - $('#subTitle').text(title[what]); - $('.breadcrumb .active').text(breadcrumbs[what]); - $('.breadcrumb li:nth-child(2)').html('' + middleCrumbName[what] + ''); - $('.transaction-btn').text(button[what]); -} - -/** - * - */ -function updateForm() { - "use strict"; - console.log('Now in updateForm()'); - - $('input[name="what"]').val(what); - - var destName = $('#ffInput_destination_name'); - var srcName = $('#ffInput_source_name'); - - switch (what) { - - case 'withdrawal': - // show source_id and dest_name - document.getElementById('source_id_holder').style.display = 'block'; - document.getElementById('destination_name_holder').style.display = 'block'; - - // hide others: - document.getElementById('source_name_holder').style.display = 'none'; - document.getElementById('destination_id_holder').style.display = 'none'; - document.getElementById('budget_id_holder').style.display = 'block'; - - // hide piggy bank: - document.getElementById('piggy_bank_id_holder').style.display = 'none'; - - // copy destination account name to source account name: - if (destName.val().length > 0) { - srcName.val(destName.val()); - } - - // exchange / foreign currencies: - // hide explanation, hide source and destination amounts, show normal amount - document.getElementById('exchange_rate_instruction_holder').style.display = 'none'; - document.getElementById('source_amount_holder').style.display = 'none'; - document.getElementById('destination_amount_holder').style.display = 'none'; - document.getElementById('amount_holder').style.display = 'block'; - break; - case 'deposit': - // show source_name and dest_id: - document.getElementById('source_name_holder').style.display = 'block'; - document.getElementById('destination_id_holder').style.display = 'block'; - - // hide others: - document.getElementById('source_id_holder').style.display = 'none'; - document.getElementById('destination_name_holder').style.display = 'none'; - - // hide budget - document.getElementById('budget_id_holder').style.display = 'none'; - - // hide piggy bank - document.getElementById('piggy_bank_id_holder').style.display = 'none'; - - // copy name - if (srcName.val().length > 0) { - destName.val(srcName.val()); - } - - // exchange / foreign currencies: - // hide explanation, hide source and destination amounts, show amount - document.getElementById('exchange_rate_instruction_holder').style.display = 'none'; - document.getElementById('source_amount_holder').style.display = 'none'; - document.getElementById('destination_amount_holder').style.display = 'none'; - document.getElementById('amount_holder').style.display = 'block'; - break; - case 'transfer': - // show source_id and dest_id: - document.getElementById('source_id_holder').style.display = 'block'; - document.getElementById('destination_id_holder').style.display = 'block'; - - // hide others: - document.getElementById('source_name_holder').style.display = 'none'; - document.getElementById('destination_name_holder').style.display = 'none'; - - // hide budget - document.getElementById('budget_id_holder').style.display = 'none'; - - // optional piggies - var showPiggies = 'block'; - if ($('#ffInput_piggy_bank_id option').length === 0) { - showPiggies = 'none'; - } - document.getElementById('piggy_bank_id_holder').style.display = showPiggies; - break; - default: - break; - } - // get instructions all the time. - console.log('End of update form'); - selectsDifferentSource(); - selectsDifferentDestination(); - selectsForeignCurrency(); - - // do something for transfers: - validateCurrencyForTransfer(); -} - -/** - * - */ -function updateButtons() { - "use strict"; - $('.switch').each(function (i, v) { - var button = $(v); - - // remove click event: - button.unbind('click'); - // new click event: - button.bind('click', clickButton); - - if (button.data('what') === what) { - button.removeClass('btn-default').addClass('btn-info').html(' ' + txt[button.data('what')]); - } else { - button.removeClass('btn-info').addClass('btn-default').text(txt[button.data('what')]); - } - }); -} - -/** - * - * @param e - * @returns {boolean} - */ -function clickButton(e) { - "use strict"; - var button = $(e.target); - var newWhat = button.data('what'); - if (newWhat !== what) { - what = newWhat; - updateButtons(); - updateForm(); - updateLayout(); - updateDescription(); - } - return false; -} - -/** - * Get accountID based on some meta info. - */ -function getAccountId() { - if (what === "withdrawal") { - return $('select[name="source_id"]').val(); - } - if (what === "deposit" || what === "transfer") { - return $('select[name="destination_id"]').val(); - } - return undefined; -} diff --git a/public/v1/js/ff/transactions/single/edit.js b/public/v1/js/ff/transactions/single/edit.js deleted file mode 100644 index d5a0845165..0000000000 --- a/public/v1/js/ff/transactions/single/edit.js +++ /dev/null @@ -1,241 +0,0 @@ -/* - * edit.js - * Copyright (c) 2019 james@firefly-iii.org - * - * This file is part of Firefly III (https://github.com/firefly-iii). - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ - -/** global: what, Modernizr, selectsForeignCurrency, accountInfo, convertForeignToNative, validateCurrencyForTransfer, convertSourceToDestination, journalData, journal, accountInfo, exchangeRateInstructions, currencyInfo */ - -$(document).ready(function () { - "use strict"; - console.log('in edit.js document.ready'); - setAutocompletes(); - updateInitialPage(); - - // update the two source account currency ID fields (initial value): - initCurrencyIdValues(); - - - // respond to user input: - $('.currency-option').on('click', function () { - // to display instructions and stuff like that. - selectsForeignCurrency(); - }); - $('#ffInput_amount').on('change', convertForeignToNative); - - // respond to account changes: - $('#ffInput_source_id').on('change', function (e) { - console.log('Event: #ffInput_source_id::change'); - - - - validateCurrencyForTransfer(); - // update the two source account currency ID fields (initial value): - initCurrencyIdValues(); - - // call to selectsForeignCurrency - console.log('Extra call to selectsForeignCurrency()'); - selectsForeignCurrency(); - - // update "source_account_currency". - updateSourceAccountCurrency(); - - }); - $('#ffInput_destination_id').on('change', function () { - console.log('Event: #ffInput_destination_id::change'); - validateCurrencyForTransfer(); - // update the two source account currency ID fields (initial value): - initCurrencyIdValues(); - - // call to selectsForeignCurrency - console.log('Extra call to selectsForeignCurrency()'); - selectsForeignCurrency(); - - // update "destination_account_currency". - updateDestinationAccountCurrency(); - - }); - - // convert source currency to destination currency (slightly different routine for transfers) - $('#ffInput_source_amount').on('change', convertSourceToDestination); - - // - - -}); - -/** - * Updates the currency ID of the hidden source account field - * to match the selected account. - */ -function updateSourceAccountCurrency() { - var accountId = $('#ffInput_source_id').val(); - var currency = parseInt(accountInfo[accountId].preferredCurrency); - console.log('Now in updateSourceAccountCurrency() for account #' + accountId); - console.log('Preferred currency for this account is #' + currency); - $('input[name="source_account_currency"]').val(currency); -} - -/** - * Updates the currency ID of the hidden destination account field - * to match the selected account. - */ -function updateDestinationAccountCurrency() { - var accountId = $('#ffInput_destination_id').val(); - var currency = parseInt(accountInfo[accountId].preferredCurrency); - console.log('Now in updateDestinationAccountCurrency() for account #' + accountId); - console.log('Preferred currency for this account is #' + currency); - $('input[name="destination_account_currency"]').val(currency); -} - - - -/** - * Fills two hidden variables with the correct currency ID. - */ -function initCurrencyIdValues() { - console.log('in initCurrencyIdValues()'); - var currencyId; - if (journal.transaction_type.type === "Withdrawal") { - // update source from page load info: - currencyId = journalData.native_currency.id; - console.log('initCurrencyIdValues() withdrawal: Set source account currency to ' + currencyId); - $('input[name="source_account_currency"]').val(currencyId); - return; - } - - if (journal.transaction_type.type === "Deposit") { - // update destination from page load info: - currencyId = $('input[name="amount_currency_id_amount"]').val(); - console.log('Set destination account currency to ' + currencyId); - $('input[name="destination_account_currency"]').val(currencyId); - return; - } - var sourceAccount = $('select[name="source_id"]').val(); - console.log('Source account is ' + sourceAccount); - var destAccount = $('select[name="destination_id"]').val(); - console.log('Destination account is ' + destAccount); - - var sourceCurrency = parseInt(accountInfo[sourceAccount].preferredCurrency); - var destCurrency = parseInt(accountInfo[destAccount].preferredCurrency); - - console.log('initCurrencyIdValues(): Set source account currency to ' + sourceCurrency); - $('input[name="source_account_currency"]').val(sourceCurrency); - - console.log('Set destination account currency to ' + destCurrency); - $('input[name="destination_account_currency"]').val(destCurrency); -} - -/** - * Set some initial values for the user to see. - */ -function updateInitialPage() { - console.log('in updateInitialPage()'); - if (journal.transaction_type.type === "Transfer") { - $('#native_amount_holder').hide(); - $('#amount_holder').hide(); - - - if (journalData.native_currency.id === journalData.destination_currency.id) { - $('#exchange_rate_instruction_holder').hide(); - $('#destination_amount_holder').hide(); - } - if (journalData.native_currency.id !== journalData.destination_currency.id) { - $('#exchange_rate_instruction_holder').show().find('p').text(getTransferExchangeInstructions()); - - } - - return; - } - $('#source_amount_holder').hide(); - $('#destination_amount_holder').hide(); - - if (journalData.native_currency.id === journalData.currency.id) { - $('#exchange_rate_instruction_holder').hide(); - $('#native_amount_holder').hide(); - } - - if (journalData.native_currency.id !== journalData.currency.id) { - $('#ffInput_exchange_rate_instruction').text(getExchangeInstructions()); - } - -} - - -/** - * Get accountID based on some meta info. - */ -function getAccountId() { - console.log('in getAccountId()'); - if (journal.transaction_type.type === "Withdrawal") { - return $('select[name="source_id"]').val(); - } - if (journal.transaction_type.type === "Deposit") { - return $('select[name="destination_id"]').val(); - } - - //alert('Cannot handle ' + journal.transaction_type.type); - return undefined; -} - -/** - * Set the auto-complete JSON things. - */ -function setAutocompletes() { - - // do description auto complete: - var journalNames = new Bloodhound({ - datumTokenizer: Bloodhound.tokenizers.obj.whitespace('name'), - queryTokenizer: Bloodhound.tokenizers.whitespace, - prefetch: { - url: 'json/transaction-journals/' + what + '?uid=' + uid, - filter: function (list) { - return $.map(list, function (name) { - return {name: name}; - }); - } - }, - remote: { - url: 'json/transaction-journals/' + what + '?search=%QUERY&uid=' + uid, - wildcard: '%QUERY', - filter: function (list) { - return $.map(list, function (name) { - return {name: name}; - }); - } - } - }); - journalNames.initialize(); - $('input[name="description"]').typeahead({hint: true, highlight: true,}, {source: journalNames, displayKey: 'name', autoSelect: false}); -} - -/** - * This function generates a small helper text to explain the user - * that they have selected a foreign currency. - * @returns {XML|string|void} - */ -function getExchangeInstructions() { - console.log('In getExchangeInstructions()'); - var selectedAccountId = getAccountId(); - var foreignCurrencyId = parseInt($('input[name="amount_currency_id_amount"]').val()); - var nativeCurrencyId = parseInt(accountInfo[selectedAccountId].preferredCurrency); - - var text = exchangeRateInstructions.replace('@name', accountInfo[selectedAccountId].name); - text = text.replace(/@native_currency/g, currencyInfo[nativeCurrencyId].name); - text = text.replace(/@foreign_currency/g, currencyInfo[foreignCurrencyId].name); - return text; -} \ No newline at end of file diff --git a/resources/assets/js/components/transactions/TransactionDescription.vue b/resources/assets/js/components/transactions/TransactionDescription.vue index 2fa5e625cf..d6a172e398 100644 --- a/resources/assets/js/components/transactions/TransactionDescription.vue +++ b/resources/assets/js/components/transactions/TransactionDescription.vue @@ -67,7 +67,7 @@ name: "TransactionDescription", mounted() { this.target = this.$refs.descr; - this.descriptionAutoCompleteURI = document.getElementsByTagName('base')[0].href + "json/transaction-journals/all?search="; + this.descriptionAutoCompleteURI = document.getElementsByTagName('base')[0].href + "api/v1/autocomplete/transactions?query="; this.$refs.descr.focus(); }, components: { @@ -121,4 +121,4 @@ \ No newline at end of file + diff --git a/routes/api.php b/routes/api.php index 90aaf6de27..0a4e961a2a 100644 --- a/routes/api.php +++ b/routes/api.php @@ -71,6 +71,7 @@ Route::group( Route::get('piggy-banks', ['uses' => 'PiggyBankController@piggyBanks', 'as' => 'piggy-banks']); Route::get('piggy-banks-with-balance', ['uses' => 'PiggyBankController@piggyBanksWithBalance', 'as' => 'piggy-banks-with-balance']); Route::get('tags', ['uses' => 'TagController@tags', 'as' => 'tags']); + Route::get('transaction-types', ['uses' => 'TransactionTypeController@transactionTypes', 'as' => 'transaction-types']); } ); diff --git a/routes/web.php b/routes/web.php index aa119a44ec..2187bc2a54 100644 --- a/routes/web.php +++ b/routes/web.php @@ -607,7 +607,6 @@ Route::group( // Route::get('transaction-journals/all', ['uses' => 'Json\AutoCompleteController@allJournals', 'as' => 'autocomplete.all-journals']); // Route::get('transaction-journals/with-id', ['uses' => 'Json\AutoCompleteController@allJournalsWithID', 'as' => 'autocomplete.all-journals-with-id']); // Route::get('currency-names', ['uses' => 'Json\AutoCompleteController@currencyNames', 'as' => 'autocomplete.currency-names']); - // Route::get('transaction-types', ['uses' => 'Json\AutoCompleteController@transactionTypes', 'as' => 'transaction-types']); // budgets: Route::get( diff --git a/yarn.lock b/yarn.lock index 7995e4b2bb..011daad463 100644 --- a/yarn.lock +++ b/yarn.lock @@ -836,9 +836,9 @@ integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA== "@types/node@*": - version "14.0.23" - resolved "https://registry.yarnpkg.com/@types/node/-/node-14.0.23.tgz#676fa0883450ed9da0bb24156213636290892806" - integrity sha512-Z4U8yDAl5TFkmYsZdFPdjeMa57NOvnaf1tljHzhouaPEp7LCj2JKkejpI1ODviIAQuW4CcQmxkQ77rnLsOOoKw== + version "14.0.24" + resolved "https://registry.yarnpkg.com/@types/node/-/node-14.0.24.tgz#b0f86f58564fa02a28b68f8b55d4cdec42e3b9d6" + integrity sha512-btt/oNOiDWcSuI721MdL8VQGnjsKjlTMdrKyTcLCKeQp/n4AAMFJ961wMbp+09y8WuGPClDEv07RIItdXKIXAA== "@types/q@^1.5.1": version "1.5.4" @@ -846,9 +846,9 @@ integrity sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug== "@vue/component-compiler-utils@^3.1.0": - version "3.1.2" - resolved "https://registry.yarnpkg.com/@vue/component-compiler-utils/-/component-compiler-utils-3.1.2.tgz#8213a5ff3202f9f2137fe55370f9e8b9656081c3" - integrity sha512-QLq9z8m79mCinpaEeSURhnNCN6djxpHw0lpP/bodMlt5kALfONpryMthvnrQOlTcIKoF+VoPi+lPHUYeDFPXug== + version "3.2.0" + resolved "https://registry.yarnpkg.com/@vue/component-compiler-utils/-/component-compiler-utils-3.2.0.tgz#8f85182ceed28e9b3c75313de669f83166d11e5d" + integrity sha512-lejBLa7xAMsfiZfNp7Kv51zOzifnb29FwdnMLa96z26kXErPFioSf9BMcePVIQ6/Gc6/mC0UrPpxAWIHyae0vw== dependencies: consolidate "^0.15.1" hash-sum "^1.0.2" @@ -1637,9 +1637,9 @@ caniuse-api@^3.0.0: lodash.uniq "^4.5.0" caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001093, caniuse-lite@^1.0.30001097: - version "1.0.30001103" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001103.tgz#fe81536d075b97cd013d4988c9212418faa289a8" - integrity sha512-EJkTPrZrgy712tjZ7GQDye5A67SQOyNS6X9b6GS/e5QFu5Renv5qfkx3GHq1S+vObxKzbWWYuPO/7nt4kYW/gA== + version "1.0.30001105" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001105.tgz#d2cb0b31e5cf2f3ce845033b61c5c01566549abf" + integrity sha512-JupOe6+dGMr7E20siZHIZQwYqrllxotAhiaej96y6x00b/48rPt42o+SzOSCPbrpsDWvRja40Hwrj0g0q6LZJg== chalk@^1.1.3: version "1.1.3" @@ -2101,13 +2101,12 @@ css-select@^2.0.0: nth-check "^1.0.2" css-selector-tokenizer@^0.7.0: - version "0.7.2" - resolved "https://registry.yarnpkg.com/css-selector-tokenizer/-/css-selector-tokenizer-0.7.2.tgz#11e5e27c9a48d90284f22d45061c303d7a25ad87" - integrity sha512-yj856NGuAymN6r8bn8/Jl46pR+OC3eEvAhfGYDUe7YPtTPAYrSSw4oAniZ9Y8T5B92hjhwTBLUen0/vKPxf6pw== + version "0.7.3" + resolved "https://registry.yarnpkg.com/css-selector-tokenizer/-/css-selector-tokenizer-0.7.3.tgz#735f26186e67c749aaf275783405cf0661fae8f1" + integrity sha512-jWQv3oCEL5kMErj4wRnK/OPoBi0D+P1FR2cDCKYPaMeD2eW3/mttav8HT4hT1CKopiJI/psEULjkClhvJo4Lvg== dependencies: cssesc "^3.0.0" fastparse "^1.1.2" - regexpu-core "^4.6.0" css-tree@1.0.0-alpha.37: version "1.0.0-alpha.37" @@ -2454,9 +2453,9 @@ ee-first@1.1.1: integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= electron-to-chromium@^1.3.488: - version "1.3.501" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.501.tgz#faa17a2cb0105ee30d5e1ca87eae7d8e85dd3175" - integrity sha512-tyzuKaV2POw2mtqBBzQGNBojMZzH0MRu8bT8T/50x+hWeucyG/9pkgAATy+PcM2ySNM9+8eG2VllY9c6j4i+bg== + version "1.3.504" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.504.tgz#54d6288202f8453053c006eb862e2e3b7bc867a5" + integrity sha512-yOXnuPaaLAIZUVuXHYDCo3EeaiEfbFgYWCPH1tBMp+jznCq/zQYKnf6HmkKBmLJ0VES81avl18JZO1lx/XAHOw== elliptic@^6.0.0, elliptic@^6.5.2: version "6.5.3" @@ -2623,9 +2622,9 @@ eventemitter3@^4.0.0: integrity sha512-rlaVLnVxtxvoyLsQQFBx53YmXHDxRIzzTLbdfxqi4yocpSjAxXwkU0cScM5JgSKMqEhrZpnvQ2D9gjylR0AimQ== events@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/events/-/events-3.1.0.tgz#84279af1b34cb75aa88bf5ff291f6d0bd9b31a59" - integrity sha512-Rv+u8MLHNOdMjTAFeT3nCjHn2aGlx435FP/sDHNaRhDEMwyI/aB22Kj2qIN8R0cw3z28psEQLYwxVKLsKrMgWg== + version "3.2.0" + resolved "https://registry.yarnpkg.com/events/-/events-3.2.0.tgz#93b87c18f8efcd4202a461aec4dfc0556b639379" + integrity sha512-/46HWwbfCX2xTawVfkKLGxMifJYQBWMwY1mjywRtb4c9x8l5NP3KoJtnIOiL1hfdRkIuYhETxQlo62IF8tcnlg== eventsource@^1.0.7: version "1.0.7" @@ -4882,9 +4881,9 @@ pkg-dir@^4.1.0: find-up "^4.0.0" portfinder@^1.0.26: - version "1.0.26" - resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.26.tgz#475658d56ca30bed72ac7f1378ed350bd1b64e70" - integrity sha512-Xi7mKxJHHMI3rIUrnm/jjUgwhbYMkp/XKEcZX3aG4BrumLpq3nmoQMX+ClYnDZnZ/New7IatC1no5RX0zo1vXQ== + version "1.0.27" + resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.27.tgz#a41333c116b5e5f3d380f9745ac2f35084c4c758" + integrity sha512-bJ3U3MThKnyJ9Dx1Idtm5pQmxXqw08+XOHhi/Lie8OF1OlhVaBFhsntAIhkZYjfDcCzszSr0w1yCbccThhzgxQ== dependencies: async "^2.6.2" debug "^3.1.1" @@ -5448,9 +5447,9 @@ regenerate@^1.4.0: integrity sha512-j2+C8+NtXQgEKWk49MMP5P/u2GhnahTtVkRIHr5R5lVRlbKvmQ+oS+A5aLKWp2ma5VkT8sh6v+v4hbH0YHR66A== regenerator-runtime@^0.13.4: - version "0.13.5" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz#d878a1d094b4306d10b9096484b33ebd55e26697" - integrity sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA== + version "0.13.7" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz#cac2dacc8a1ea675feaabaeb8ae833898ae46f55" + integrity sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew== regenerator-transform@^0.14.2: version "0.14.5" @@ -5475,7 +5474,7 @@ regexp.prototype.flags@^1.2.0: define-properties "^1.1.3" es-abstract "^1.17.0-next.1" -regexpu-core@^4.6.0, regexpu-core@^4.7.0: +regexpu-core@^4.7.0: version "4.7.0" resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-4.7.0.tgz#fcbf458c50431b0bb7b45d6967b8192d91f3d938" integrity sha512-TQ4KXRnIn6tz6tjnrXEkD/sshygKH/j5KzK86X8MkeHyZ8qst/LZ89j3X4/8HEIfHANTFIP/AbXakeRhWIl5YQ==