This commit is contained in:
James Cole 2019-09-04 09:21:31 +02:00
parent 5c468e1c49
commit fff98186b2
3 changed files with 4 additions and 4 deletions

2
public/v1/js/app.js vendored

File diff suppressed because one or more lines are too long

View File

@ -399,7 +399,7 @@
console.log('Will create another.');
// do message:
this.success_message = '<a href="transactions/show/' + groupId + '">The transaction</a> has been stored.';
this.success_message = '<a href="transactions/show/' + groupId + '">Transaction #' + groupId + '</a> has been stored.';
this.error_message = '';
if (this.resetFormAfter) {
// also clear form.

View File

@ -19,10 +19,10 @@
-->
<template>
<div class="form-group" v-bind:class="{ 'has-error': hasError()}" v-if="this.enabledCurrencies.length > 0">
<div class="form-group" v-bind:class="{ 'has-error': hasError()}" v-if="this.enabledCurrencies.length > 2">
<div class="col-sm-4">
<select class="form-control" ref="currency_select" name="foreign_currency[]"
v-if="this.enabledCurrencies.length > 0" @input="handleInput">
v-if="this.enabledCurrencies.length > 2" @input="handleInput">
<option
v-for="currency in this.enabledCurrencies"
v-if="currency.enabled"