Skip to content

Firefly III: a personal finances manager

Can store and submit transactions.

James Cole627ef09f11a2
diff --git a/public/v1/js/app.js b/public/v1/js/app.js
index c1f6bdd62c..54310ae926 100644
--- a/public/v1/js/app.js
+++ b/public/v1/js/app.js
@@ -60,7 +60,7 @@
/******/ __webpack_require__.p = "";
/******/
/******/ // Load entry module and return exports
-/******/ return __webpack_require__(__webpack_require__.s = 15);
+/******/ return __webpack_require__(__webpack_require__.s = 14);
/******/ })
/************************************************************************/
/******/ ([
@@ -165,7 +165,7 @@ if (typeof DEBUG !== 'undefined' && DEBUG) {
) }
}
-var listToStyles = __webpack_require__(46)
+var listToStyles = __webpack_require__(45)
/*
type StyleObject = {
@@ -490,7 +490,7 @@ module.exports = function normalizeComponent (
var bind = __webpack_require__(7);
-var isBuffer = __webpack_require__(23);
+var isBuffer = __webpack_require__(22);
/*global toString:true*/
@@ -827,7 +827,7 @@ module.exports = g;
/* WEBPACK VAR INJECTION */(function(process) {
var utils = __webpack_require__(3);
-var normalizeHeaderName = __webpack_require__(25);
+var normalizeHeaderName = __webpack_require__(24);
var DEFAULT_CONTENT_TYPE = {
'Content-Type': 'application/x-www-form-urlencoded'
@@ -923,7 +923,7 @@ module.exports = defaults;
/* 6 */
/***/ (function(module, exports, __webpack_require__) {
-module.exports = __webpack_require__(22);
+module.exports = __webpack_require__(21);
/***/ }),
/* 7 */
@@ -1141,12 +1141,12 @@ process.umask = function() { return 0; };
var utils = __webpack_require__(3);
-var settle = __webpack_require__(26);
-var buildURL = __webpack_require__(28);
-var parseHeaders = __webpack_require__(29);
-var isURLSameOrigin = __webpack_require__(30);
+var settle = __webpack_require__(25);
+var buildURL = __webpack_require__(27);
+var parseHeaders = __webpack_require__(28);
+var isURLSameOrigin = __webpack_require__(29);
var createError = __webpack_require__(10);
-var btoa = (typeof window !== 'undefined' && window.btoa && window.btoa.bind(window)) || __webpack_require__(31);
+var btoa = (typeof window !== 'undefined' && window.btoa && window.btoa.bind(window)) || __webpack_require__(30);
module.exports = function xhrAdapter(config) {
return new Promise(function dispatchXhrRequest(resolve, reject) {
@@ -1243,7 +1243,7 @@ module.exports = function xhrAdapter(config) {
// This is only done if running in a standard browser environment.
// Specifically not if we're in a web worker, or react-native.
if (utils.isStandardBrowserEnv()) {
- var cookies = __webpack_require__(32);
+ var cookies = __webpack_require__(31);
// Add xsrf header
var xsrfValue = (config.withCredentials || isURLSameOrigin(config.url)) && config.xsrfCookieName ?
@@ -1327,7 +1327,7 @@ module.exports = function xhrAdapter(config) {
"use strict";
-var enhanceError = __webpack_require__(27);
+var enhanceError = __webpack_require__(26);
/**
* Create an Error with the specified message, config, error code, request and response.
@@ -12478,93 +12478,42 @@ Vue.compile = compileToFunctions;
module.exports = Vue;
-/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(4), __webpack_require__(40).setImmediate))
+/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(4), __webpack_require__(39).setImmediate))
/***/ }),
/* 14 */
/***/ (function(module, exports, __webpack_require__) {
-var disposed = false
-function injectStyle (ssrContext) {
- if (disposed) return
- __webpack_require__(74)
-}
-var normalizeComponent = __webpack_require__(2)
-/* script */
-var __vue_script__ = __webpack_require__(76)
-/* template */
-var __vue_template__ = __webpack_require__(77)
-/* template functional */
-var __vue_template_functional__ = false
-/* styles */
-var __vue_styles__ = injectStyle
-/* scopeId */
-var __vue_scopeId__ = "data-v-7425a390"
-/* moduleIdentifier (server only) */
-var __vue_module_identifier__ = null
-var Component = normalizeComponent(
- __vue_script__,
- __vue_template__,
- __vue_template_functional__,
- __vue_styles__,
- __vue_scopeId__,
- __vue_module_identifier__
-)
-Component.options.__file = "resources/assets/js/components/transactions/GroupDescription.vue"
-
-/* hot reload */
-if (false) {(function () {
- var hotAPI = require("vue-hot-reload-api")
- hotAPI.install(require("vue"), false)
- if (!hotAPI.compatible) return
- module.hot.accept()
- if (!module.hot.data) {
- hotAPI.createRecord("data-v-7425a390", Component.options)
- } else {
- hotAPI.reload("data-v-7425a390", Component.options)
- }
- module.hot.dispose(function (data) {
- disposed = true
- })
-})()}
-
-module.exports = Component.exports
+module.exports = __webpack_require__(15);
/***/ }),
/* 15 */
-/***/ (function(module, exports, __webpack_require__) {
-
-module.exports = __webpack_require__(16);
-
-
-/***/ }),
-/* 16 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_uiv__ = __webpack_require__(42);
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_uiv__ = __webpack_require__(41);
/**
* First we will load all of this project's JavaScript dependencies which
* includes Vue and other libraries. It is a great starting point when
* building robust, powerful web applications using Vue and Laravel.
*/
-__webpack_require__(17);
+__webpack_require__(16);
window.Vue = __webpack_require__(13);
Vue.use(__WEBPACK_IMPORTED_MODULE_0_uiv__);
// components for create and edit transactions.
-Vue.component('budget', __webpack_require__(43));
-
-Vue.component('custom-date', __webpack_require__(49));
-Vue.component('custom-string', __webpack_require__(54));
-Vue.component('custom-attachments', __webpack_require__(59));
-Vue.component('custom-textarea', __webpack_require__(64));
-Vue.component('standard-date', __webpack_require__(69));
-Vue.component('group-description', __webpack_require__(14));
+Vue.component('budget', __webpack_require__(42));
+
+Vue.component('custom-date', __webpack_require__(48));
+Vue.component('custom-string', __webpack_require__(53));
+Vue.component('custom-attachments', __webpack_require__(58));
+Vue.component('custom-textarea', __webpack_require__(63));
+Vue.component('standard-date', __webpack_require__(68));
+Vue.component('group-description', __webpack_require__(73));
Vue.component('transaction-description', __webpack_require__(78));
Vue.component('custom-transaction-fields', __webpack_require__(83));
@@ -12589,11 +12538,11 @@ var app = new Vue({
});
/***/ }),
-/* 17 */
+/* 16 */
/***/ (function(module, exports, __webpack_require__) {
/* TODO REMOVE ME */
-window._ = __webpack_require__(18);
+window._ = __webpack_require__(17);
/**
* We'll load jQuery and the Bootstrap jQuery plugin which provides support
@@ -12602,9 +12551,9 @@ window._ = __webpack_require__(18);
*/
try {
- window.$ = window.jQuery = __webpack_require__(20);
+ window.$ = window.jQuery = __webpack_require__(19);
- __webpack_require__(21);
+ __webpack_require__(20);
} catch (e) {}
/**
@@ -12632,7 +12581,7 @@ if (token) {
}
/***/ }),
-/* 18 */
+/* 17 */
/***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(global, module) {var __WEBPACK_AMD_DEFINE_RESULT__;/**
@@ -29744,10 +29693,10 @@ if (token) {
}
}.call(this));
-/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(4), __webpack_require__(19)(module)))
+/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(4), __webpack_require__(18)(module)))
/***/ }),
-/* 19 */
+/* 18 */
/***/ (function(module, exports) {
module.exports = function(module) {
@@ -29775,7 +29724,7 @@ module.exports = function(module) {
/***/ }),
-/* 20 */
+/* 19 */
/***/ (function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -40146,7 +40095,7 @@ return jQuery;
/***/ }),
-/* 21 */
+/* 20 */
/***/ (function(module, exports) {
/*!
@@ -42560,7 +42509,7 @@ if (typeof jQuery === 'undefined') {
/***/ }),
-/* 22 */
+/* 21 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@@ -42568,7 +42517,7 @@ if (typeof jQuery === 'undefined') {
var utils = __webpack_require__(3);
var bind = __webpack_require__(7);
-var Axios = __webpack_require__(24);
+var Axios = __webpack_require__(23);
var defaults = __webpack_require__(5);
/**
@@ -42603,14 +42552,14 @@ axios.create = function create(instanceConfig) {
// Expose Cancel & CancelToken
axios.Cancel = __webpack_require__(12);
-axios.CancelToken = __webpack_require__(38);
+axios.CancelToken = __webpack_require__(37);
axios.isCancel = __webpack_require__(11);
// Expose all/spread
axios.all = function all(promises) {
return Promise.all(promises);
};
-axios.spread = __webpack_require__(39);
+axios.spread = __webpack_require__(38);
module.exports = axios;
@@ -42619,7 +42568,7 @@ module.exports.default = axios;
/***/ }),
-/* 23 */
+/* 22 */
/***/ (function(module, exports) {
/*!
@@ -42646,7 +42595,7 @@ function isSlowBuffer (obj) {
/***/ }),
-/* 24 */
+/* 23 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@@ -42654,8 +42603,8 @@ function isSlowBuffer (obj) {
var defaults = __webpack_require__(5);
var utils = __webpack_require__(3);
-var InterceptorManager = __webpack_require__(33);
-var dispatchRequest = __webpack_require__(34);
+var InterceptorManager = __webpack_require__(32);
+var dispatchRequest = __webpack_require__(33);
/**
* Create a new instance of Axios
@@ -42732,7 +42681,7 @@ module.exports = Axios;
/***/ }),
-/* 25 */
+/* 24 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@@ -42751,7 +42700,7 @@ module.exports = function normalizeHeaderName(headers, normalizedName) {
/***/ }),
-/* 26 */
+/* 25 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@@ -42784,7 +42733,7 @@ module.exports = function settle(resolve, reject, response) {
/***/ }),
-/* 27 */
+/* 26 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@@ -42812,7 +42761,7 @@ module.exports = function enhanceError(error, config, code, request, response) {
/***/ }),
-/* 28 */
+/* 27 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@@ -42887,7 +42836,7 @@ module.exports = function buildURL(url, params, paramsSerializer) {
/***/ }),
-/* 29 */
+/* 28 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@@ -42947,7 +42896,7 @@ module.exports = function parseHeaders(headers) {
/***/ }),
-/* 30 */
+/* 29 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@@ -43022,7 +42971,7 @@ module.exports = (
/***/ }),
-/* 31 */
+/* 30 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@@ -43065,7 +43014,7 @@ module.exports = btoa;
/***/ }),
-/* 32 */
+/* 31 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@@ -43125,7 +43074,7 @@ module.exports = (
/***/ }),
-/* 33 */
+/* 32 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@@ -43184,18 +43133,18 @@ module.exports = InterceptorManager;
/***/ }),
-/* 34 */
+/* 33 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var utils = __webpack_require__(3);
-var transformData = __webpack_require__(35);
+var transformData = __webpack_require__(34);
var isCancel = __webpack_require__(11);
var defaults = __webpack_require__(5);
-var isAbsoluteURL = __webpack_require__(36);
-var combineURLs = __webpack_require__(37);
+var isAbsoluteURL = __webpack_require__(35);
+var combineURLs = __webpack_require__(36);
/**
* Throws a `Cancel` if cancellation has been requested.
@@ -43277,7 +43226,7 @@ module.exports = function dispatchRequest(config) {
/***/ }),
-/* 35 */
+/* 34 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@@ -43304,7 +43253,7 @@ module.exports = function transformData(data, headers, fns) {
/***/ }),
-/* 36 */
+/* 35 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@@ -43325,7 +43274,7 @@ module.exports = function isAbsoluteURL(url) {
/***/ }),
-/* 37 */
+/* 36 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@@ -43346,7 +43295,7 @@ module.exports = function combineURLs(baseURL, relativeURL) {
/***/ }),
-/* 38 */
+/* 37 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@@ -43410,7 +43359,7 @@ module.exports = CancelToken;
/***/ }),
-/* 39 */
+/* 38 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
@@ -43444,7 +43393,7 @@ module.exports = function spread(callback) {
/***/ }),
-/* 40 */
+/* 39 */
/***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(global) {var scope = (typeof global !== "undefined" && global) ||
@@ -43500,7 +43449,7 @@ exports._unrefActive = exports.active = function(item) {
};
// setimmediate attaches itself to the global object
-__webpack_require__(41);
+__webpack_require__(40);
// On some exotic environments, it's not clear which object `setimmediate` was
// able to install onto. Search each possibility in the same order as the
// `setimmediate` library.
@@ -43514,7 +43463,7 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(4)))
/***/ }),
-/* 41 */
+/* 40 */
/***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(global, process) {(function (global, undefined) {
@@ -43707,7 +43656,7 @@ exports.clearImmediate = (typeof self !== "undefined" && self.clearImmediate) ||
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(4), __webpack_require__(8)))
/***/ }),
-/* 42 */
+/* 41 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
@@ -48527,19 +48476,19 @@ var install = function install(Vue$$1) {
/***/ }),
-/* 43 */
+/* 42 */
/***/ (function(module, exports, __webpack_require__) {
var disposed = false
function injectStyle (ssrContext) {
if (disposed) return
- __webpack_require__(44)
+ __webpack_require__(43)
}
var normalizeComponent = __webpack_require__(2)
/* script */
-var __vue_script__ = __webpack_require__(47)
+var __vue_script__ = __webpack_require__(46)
/* template */
-var __vue_template__ = __webpack_require__(48)
+var __vue_template__ = __webpack_require__(47)
/* template functional */
var __vue_template_functional__ = false
/* styles */
@@ -48578,13 +48527,13 @@ module.exports = Component.exports
/***/ }),
-/* 44 */
+/* 43 */
/***/ (function(module, exports, __webpack_require__) {
// style-loader: Adds some css to the DOM by adding a <style> tag
// load the styles
-var content = __webpack_require__(45);
+var content = __webpack_require__(44);
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
// add the styles to the DOM
@@ -48604,7 +48553,7 @@ if(false) {
}
/***/ }),
-/* 45 */
+/* 44 */
/***/ (function(module, exports, __webpack_require__) {
exports = module.exports = __webpack_require__(0)(false);
@@ -48618,7 +48567,7 @@ exports.push([module.i, "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\
/***/ }),
-/* 46 */
+/* 45 */
/***/ (function(module, exports) {
/**
@@ -48651,7 +48600,7 @@ module.exports = function listToStyles (parentId, list) {
/***/ }),
-/* 47 */
+/* 46 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
@@ -48733,7 +48682,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
});
/***/ }),
-/* 48 */
+/* 47 */
/***/ (function(module, exports, __webpack_require__) {
var render = function() {
@@ -48798,19 +48747,19 @@ if (false) {
}
/***/ }),
-/* 49 */
+/* 48 */
/***/ (function(module, exports, __webpack_require__) {
var disposed = false
function injectStyle (ssrContext) {
if (disposed) return
- __webpack_require__(50)
+ __webpack_require__(49)
}
var normalizeComponent = __webpack_require__(2)
/* script */
-var __vue_script__ = __webpack_require__(52)
+var __vue_script__ = __webpack_require__(51)
/* template */
-var __vue_template__ = __webpack_require__(53)
+var __vue_template__ = __webpack_require__(52)
/* template functional */
var __vue_template_functional__ = false
/* styles */
@@ -48849,13 +48798,13 @@ module.exports = Component.exports
/***/ }),
-/* 50 */
+/* 49 */
/***/ (function(module, exports, __webpack_require__) {
// style-loader: Adds some css to the DOM by adding a <style> tag
// load the styles
-var content = __webpack_require__(51);
+var content = __webpack_require__(50);
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
// add the styles to the DOM
@@ -48875,7 +48824,7 @@ if(false) {
}
/***/ }),
-/* 51 */
+/* 50 */
/***/ (function(module, exports, __webpack_require__) {
exports = module.exports = __webpack_require__(0)(false);
@@ -48889,7 +48838,7 @@ exports.push([module.i, "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\
/***/ }),
-/* 52 */
+/* 51 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
@@ -48935,7 +48884,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
});
/***/ }),
-/* 53 */
+/* 52 */
/***/ (function(module, exports, __webpack_require__) {
var render = function() {
@@ -48990,19 +48939,19 @@ if (false) {
}
/***/ }),
-/* 54 */
+/* 53 */
/***/ (function(module, exports, __webpack_require__) {
var disposed = false
function injectStyle (ssrContext) {
if (disposed) return
- __webpack_require__(55)
+ __webpack_require__(54)
}
var normalizeComponent = __webpack_require__(2)
/* script */
-var __vue_script__ = __webpack_require__(57)
+var __vue_script__ = __webpack_require__(56)
/* template */
-var __vue_template__ = __webpack_require__(58)
+var __vue_template__ = __webpack_require__(57)
/* template functional */
var __vue_template_functional__ = false
/* styles */
@@ -49041,13 +48990,13 @@ module.exports = Component.exports
/***/ }),
-/* 55 */
+/* 54 */
/***/ (function(module, exports, __webpack_require__) {
// style-loader: Adds some css to the DOM by adding a <style> tag
// load the styles
-var content = __webpack_require__(56);
+var content = __webpack_require__(55);
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
// add the styles to the DOM
@@ -49067,7 +49016,7 @@ if(false) {
}
/***/ }),
-/* 56 */
+/* 55 */
/***/ (function(module, exports, __webpack_require__) {
exports = module.exports = __webpack_require__(0)(false);
@@ -49081,7 +49030,7 @@ exports.push([module.i, "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\
/***/ }),
-/* 57 */
+/* 56 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
@@ -49127,7 +49076,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
});
/***/ }),
-/* 58 */
+/* 57 */
/***/ (function(module, exports, __webpack_require__) {
var render = function() {
@@ -49182,19 +49131,19 @@ if (false) {
}
/***/ }),
-/* 59 */
+/* 58 */
/***/ (function(module, exports, __webpack_require__) {
var disposed = false
function injectStyle (ssrContext) {
if (disposed) return
- __webpack_require__(60)
+ __webpack_require__(59)
}
var normalizeComponent = __webpack_require__(2)
/* script */
-var __vue_script__ = __webpack_require__(62)
+var __vue_script__ = __webpack_require__(61)
/* template */
-var __vue_template__ = __webpack_require__(63)
+var __vue_template__ = __webpack_require__(62)
/* template functional */
var __vue_template_functional__ = false
/* styles */
@@ -49233,13 +49182,13 @@ module.exports = Component.exports
/***/ }),
-/* 60 */
+/* 59 */
/***/ (function(module, exports, __webpack_require__) {
// style-loader: Adds some css to the DOM by adding a <style> tag
// load the styles
-var content = __webpack_require__(61);
+var content = __webpack_require__(60);
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
// add the styles to the DOM
@@ -49259,7 +49208,7 @@ if(false) {
}
/***/ }),
-/* 61 */
+/* 60 */
/***/ (function(module, exports, __webpack_require__) {
exports = module.exports = __webpack_require__(0)(false);
@@ -49273,7 +49222,7 @@ exports.push([module.i, "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\
/***/ }),
-/* 62 */
+/* 61 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
@@ -49314,7 +49263,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
});
/***/ }),
-/* 63 */
+/* 62 */
/***/ (function(module, exports, __webpack_require__) {
var render = function() {
@@ -49367,19 +49316,19 @@ if (false) {
}
/***/ }),
-/* 64 */
+/* 63 */
/***/ (function(module, exports, __webpack_require__) {
var disposed = false
function injectStyle (ssrContext) {
if (disposed) return
- __webpack_require__(65)
+ __webpack_require__(64)
}
var normalizeComponent = __webpack_require__(2)
/* script */
-var __vue_script__ = __webpack_require__(67)
+var __vue_script__ = __webpack_require__(66)
/* template */
-var __vue_template__ = __webpack_require__(68)
+var __vue_template__ = __webpack_require__(67)
/* template functional */
var __vue_template_functional__ = false
/* styles */
@@ -49418,13 +49367,13 @@ module.exports = Component.exports
/***/ }),
-/* 65 */
+/* 64 */
/***/ (function(module, exports, __webpack_require__) {
// style-loader: Adds some css to the DOM by adding a <style> tag
// load the styles
-var content = __webpack_require__(66);
+var content = __webpack_require__(65);
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
// add the styles to the DOM
@@ -49444,7 +49393,7 @@ if(false) {
}
/***/ }),
-/* 66 */
+/* 65 */
/***/ (function(module, exports, __webpack_require__) {
exports = module.exports = __webpack_require__(0)(false);
@@ -49458,7 +49407,7 @@ exports.push([module.i, "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\
/***/ }),
-/* 67 */
+/* 66 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
@@ -49504,7 +49453,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
});
/***/ }),
-/* 68 */
+/* 67 */
/***/ (function(module, exports, __webpack_require__) {
var render = function() {
@@ -49558,19 +49507,19 @@ if (false) {
}
/***/ }),
-/* 69 */
+/* 68 */
/***/ (function(module, exports, __webpack_require__) {
var disposed = false
function injectStyle (ssrContext) {
if (disposed) return
- __webpack_require__(70)
+ __webpack_require__(69)
}
var normalizeComponent = __webpack_require__(2)
/* script */
-var __vue_script__ = __webpack_require__(72)
+var __vue_script__ = __webpack_require__(71)
/* template */
-var __vue_template__ = __webpack_require__(73)
+var __vue_template__ = __webpack_require__(72)
/* template functional */
var __vue_template_functional__ = false
/* styles */
@@ -49609,13 +49558,13 @@ module.exports = Component.exports
/***/ }),
-/* 70 */
+/* 69 */
/***/ (function(module, exports, __webpack_require__) {
// style-loader: Adds some css to the DOM by adding a <style> tag
// load the styles
-var content = __webpack_require__(71);
+var content = __webpack_require__(70);
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
// add the styles to the DOM
@@ -49635,7 +49584,7 @@ if(false) {
}
/***/ }),
-/* 71 */
+/* 70 */
/***/ (function(module, exports, __webpack_require__) {
exports = module.exports = __webpack_require__(0)(false);
@@ -49649,7 +49598,7 @@ exports.push([module.i, "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\
/***/ }),
-/* 72 */
+/* 71 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
@@ -49690,7 +49639,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
});
/***/ }),
-/* 73 */
+/* 72 */
/***/ (function(module, exports, __webpack_require__) {
var render = function() {
@@ -49741,6 +49690,57 @@ if (false) {
}
}
+/***/ }),
+/* 73 */
+/***/ (function(module, exports, __webpack_require__) {
+
+var disposed = false
+function injectStyle (ssrContext) {
+ if (disposed) return
+ __webpack_require__(74)
+}
+var normalizeComponent = __webpack_require__(2)
+/* script */
+var __vue_script__ = __webpack_require__(76)
+/* template */
+var __vue_template__ = __webpack_require__(77)
+/* template functional */
+var __vue_template_functional__ = false
+/* styles */
+var __vue_styles__ = injectStyle
+/* scopeId */
+var __vue_scopeId__ = "data-v-7425a390"
+/* moduleIdentifier (server only) */
+var __vue_module_identifier__ = null
+var Component = normalizeComponent(
+ __vue_script__,
+ __vue_template__,
+ __vue_template_functional__,
+ __vue_styles__,
+ __vue_scopeId__,
+ __vue_module_identifier__
+)
+Component.options.__file = "resources/assets/js/components/transactions/GroupDescription.vue"
+
+/* hot reload */
+if (false) {(function () {
+ var hotAPI = require("vue-hot-reload-api")
+ hotAPI.install(require("vue"), false)
+ if (!hotAPI.compatible) return
+ module.hot.accept()
+ if (!module.hot.data) {
+ hotAPI.createRecord("data-v-7425a390", Component.options)
+ } else {
+ hotAPI.reload("data-v-7425a390", Component.options)
+ }
+ module.hot.dispose(function (data) {
+ disposed = true
+ })
+})()}
+
+module.exports = Component.exports
+
+
/***/ }),
/* 74 */
/***/ (function(module, exports, __webpack_require__) {
@@ -52145,7 +52145,7 @@ exports = module.exports = __webpack_require__(0)(false);
// module
-exports.push([module.i, "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", ""]);
+exports.push([module.i, "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", ""]);
// exports
@@ -52264,9 +52264,6 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
accountTypeFilters: function accountTypeFilters() {
var types = this.accountTypeFilters.join(',');
this.accountAutoCompleteURI = document.getElementsByTagName('base')[0].href + "json/accounts?types=" + types + "&query=";
- },
- name: function name() {
- console.log('Trigger watch on name.');
}
},
methods: {
@@ -54644,7 +54641,7 @@ exports = module.exports = __webpack_require__(0)(false);
// module
-exports.push([module.i, "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", ""]);
// exports
@@ -54860,7 +54857,6 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
//
//
//
-//
/* harmony default export */ __webpack_exports__["default"] = ({
name: "CreateTransaction",
@@ -55028,8 +55024,8 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
axios.post(uri, data).then(function (response) {
if (_this.createAnother) {
// do message:
- _this.success_message = 'The transaction has been stored.';
- _this.invalid_submission = '';
+ _this.success_message = '<a href="transactions/show/' + response.data.data.id + '">The transaction</a> has been stored.';
+ _this.error_message = '';
if (_this.resetFormAfter) {
_this.addTransaction();
}
@@ -55079,11 +55075,11 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
},
parseErrors: function parseErrors(errors) {
this.setDefaultErrors();
- this.invalid_submission = "";
+ this.error_message = "";
if (errors.message.length > 0) {
- this.invalid_submission = "There was something wrong with your submission. Please check out the errors below.";
+ this.error_message = "There was something wrong with your submission. Please check out the errors below.";
} else {
- this.invalid_submission = '';
+ this.error_message = '';
}
var transactionIndex = void 0;
var fieldName = void 0;
@@ -55195,10 +55191,14 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
allowed_types: []
}
});
+ if (this.transactions.length === 1) {
+ // set first date.
+ var today = new Date();
+ this.transactions[0].date = today.getFullYear() + '-' + ("0" + (today.getMonth() + 1)).slice(-2) + '-' + ("0" + today.getDate()).slice(-2);
+ }
if (e) {
e.preventDefault();
}
- console.log(this.transactions);
},
setTransactionType: function setTransactionType(type) {
this.transactionType = type;
@@ -55323,7 +55323,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
group_title: "",
transactions: [],
group_title_errors: [],
- invalid_submission: "",
+ error_message: "",
success_message: "",
cash_account_id: 0,
createAnother: false,
@@ -55356,7 +55356,7 @@ var render = function() {
[
_c("input", { attrs: { name: "_token", type: "hidden", value: "xxx" } }),
_vm._v(" "),
- _vm.invalid_submission !== ""
+ _vm.error_message !== ""
? _c("div", { staticClass: "row" }, [
_c("div", { staticClass: "col-lg-12" }, [
_c(
@@ -55369,9 +55369,7 @@ var render = function() {
_vm._m(0),
_vm._v(" "),
_c("strong", [_vm._v("Error!")]),
- _vm._v(
- " " + _vm._s(_vm.invalid_submission) + "\n "
- )
+ _vm._v(" " + _vm._s(_vm.error_message) + "\n ")
]
)
])
@@ -55391,7 +55389,10 @@ var render = function() {
_vm._m(1),
_vm._v(" "),
_c("strong", [_vm._v("Success!")]),
- _vm._v(" " + _vm._s(_vm.success_message) + "\n ")
+ _vm._v(" "),
+ _c("span", {
+ domProps: { innerHTML: _vm._s(_vm.success_message) }
+ })
]
)
])
@@ -55824,15 +55825,6 @@ var render = function() {
"button",
{ staticClass: "btn btn-success", on: { click: _vm.submit } },
[_vm._v("Submit")]
- ),
- _vm._v(" "),
- _c(
- "button",
- {
- staticClass: "btn btn-primary",
- on: { click: _vm.addTransaction }
- },
- [_vm._v("Add another split")]
)
])
])
diff --git a/resources/assets/js/components/transactions/AccountSelect.vue b/resources/assets/js/components/transactions/AccountSelect.vue
index 243ba65545..d766058991 100644
--- a/resources/assets/js/components/transactions/AccountSelect.vue
+++ b/resources/assets/js/components/transactions/AccountSelect.vue
@@ -105,9 +105,6 @@
accountTypeFilters() {
let types = this.accountTypeFilters.join(',');
this.accountAutoCompleteURI = document.getElementsByTagName('base')[0].href + "json/accounts?types=" + types + "&query=";
- },
- name() {
- console.log('Trigger watch on name.');
}
},
methods:
diff --git a/resources/assets/js/components/transactions/CreateTransaction.vue b/resources/assets/js/components/transactions/CreateTransaction.vue
index 0df842519b..50a80b1180 100644
--- a/resources/assets/js/components/transactions/CreateTransaction.vue
+++ b/resources/assets/js/components/transactions/CreateTransaction.vue
@@ -22,12 +22,12 @@
<form method="POST" action="transactions/store" accept-charset="UTF-8" class="form-horizontal" id="store"
enctype="multipart/form-data">
<input name="_token" type="hidden" value="xxx">
- <div class="row" v-if="invalid_submission !== ''">
+ <div class="row" v-if="error_message !== ''">
<div class="col-lg-12">
<div class="alert alert-danger alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span
aria-hidden="true">&times;</span></button>
- <strong>Error!</strong> {{ invalid_submission }}
+ <strong>Error!</strong> {{ error_message }}
</div>
</div>
</div>
@@ -37,7 +37,7 @@
<div class="alert alert-success alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span
aria-hidden="true">&times;</span></button>
- <strong>Success!</strong> {{ success_message }}
+ <strong>Success!</strong> <span v-html="success_message"></span>
</div>
</div>
</div>
@@ -195,7 +195,6 @@
<div class="box-footer">
<div class="btn-group">
<button class="btn btn-success" @click="submit">Submit</button>
- <button class="btn btn-primary" @click="addTransaction">Add another split</button>
</div>
</div>
</div>
@@ -374,8 +373,8 @@
.then(response => {
if (this.createAnother) {
// do message:
- this.success_message = 'The transaction has been stored.';
- this.invalid_submission = '';
+ this.success_message = '<a href="transactions/show/' + response.data.data.id + '">The transaction</a> has been stored.';
+ this.error_message = '';
if (this.resetFormAfter) {
this.addTransaction();
}
@@ -424,11 +423,11 @@
},
parseErrors: function (errors) {
this.setDefaultErrors();
- this.invalid_submission = "";
+ this.error_message = "";
if (errors.message.length > 0) {
- this.invalid_submission = "There was something wrong with your submission. Please check out the errors below.";
+ this.error_message = "There was something wrong with your submission. Please check out the errors below.";
} else {
- this.invalid_submission = '';
+ this.error_message = '';
}
let transactionIndex;
let fieldName;
@@ -543,10 +542,14 @@
allowed_types: []
}
});
+ if (this.transactions.length === 1) {
+ // set first date.
+ let today = new Date();
+ this.transactions[0].date = today.getFullYear() + '-' + ("0" + (today.getMonth() + 1)).slice(-2) + '-' + ("0" + today.getDate()).slice(-2);
+ }
if (e) {
e.preventDefault();
}
- console.log(this.transactions);
},
setTransactionType: function (type) {
this.transactionType = type;
@@ -675,7 +678,7 @@
group_title: "",
transactions: [],
group_title_errors: [],
- invalid_submission: "",
+ error_message: "",
success_message: "",
cash_account_id: 0,
createAnother: false,