Skip to content

Commit

Permalink
#464: remove info about old vat checker, remove client side check for…
Browse files Browse the repository at this point in the history
… vatnr
  • Loading branch information
syjer committed Jul 2, 2018
1 parent 25ff546 commit ecbadf8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ <h2>Invoice settings</h2>
<div class="panel-title"><i class="fa fa-eur"></i> EU-Specific invoice settings</div>
</div>
<div class="panel-body">
<div class="alert alert-info"><i class="fa fa-info-circle"></i> You'll need to build and deploy the <a href="https://github.com/stephanj/ServerlessEUVATChecker" target="_blank">ServerlessEUVATChecker</a> Lambda Function on AWS.</div>
<div data-ng-repeat="setting in systemConf.invoiceEu.settings">
<setting data-obj="setting" data-display-delete-if-needed="true" data-delete-handler="systemConf.delete(setting)" list-values="setting.listValues"></setting>
</div>
Expand Down
13 changes: 1 addition & 12 deletions src/main/webapp/resources/js/event/reservation-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,7 @@
if(!this.checkValidity()) {
return false;
}

var vatCountry = $('#vatCountry');
if(vatCountry.length && vatCountry.val() !== '') {
var vatNr = $('#vatNr');
markFieldAsError(vatNr);
$('#validation-result-container').removeClass(hiddenClasses);
var validationResult = $('#validation-result');
validationResult.html(validationResult.attr('data-validation-required-msg'));
vatNr.focus();
return false;
}


// Disable the submit button to prevent repeated clicks
$form.find('button').prop('disabled', true);

Expand Down

0 comments on commit ecbadf8

Please sign in to comment.