|
@@ -42,6 +42,7 @@ const actions = {
|
|
|
/* Fin del processo */
|
|
|
endProcess({getters, commit, dispatch}) {
|
|
|
let data = {}
|
|
|
+
|
|
|
if (getters.isTransfer || getters.isInputCashbox || getters.isOutputCashbox) {
|
|
|
/* Verift Amount Operation */
|
|
|
if (getters.amountOperation <= 0) {
|
|
@@ -66,6 +67,7 @@ const actions = {
|
|
|
commit('setDataEndProcess', data)
|
|
|
dispatch('createCasboxMove')
|
|
|
}
|
|
|
+
|
|
|
if (getters.isStatmentConfirm) {
|
|
|
let data = {}
|
|
|
if (!getters.description.trim()) {
|
|
@@ -151,7 +153,7 @@ const actions = {
|
|
|
journal_id: getters.selectedJournal,
|
|
|
type_statement: getters.selectedStatementType,
|
|
|
user_id: getters.selectedUserStatement,
|
|
|
- date: getters.dateStatement,
|
|
|
+ date: moment(getters.dateStatement).format('YYYY-MM-DD'),
|
|
|
}
|
|
|
commit('setDataEndProcess', data)
|
|
|
dispatch('createAccountBankStatement')
|