Invoice & Bill validation errors then set hidden fields.

This commit is contained in:
cuneytsenturk 2018-11-02 15:16:09 +03:00
parent a73537f5e5
commit c412f2c4ab
4 changed files with 16 additions and 0 deletions

View File

@ -220,6 +220,10 @@
});
$(document).ready(function(){
@if (old('item'))
$('#vendor_id').trigger('change');
@endif
$(".input-price").maskMoney({
thousands : '{{ $currency->thousands_separator }}',
decimal : '{{ $currency->decimal_mark }}',

View File

@ -219,6 +219,10 @@
});
$(document).ready(function(){
@if (old('item'))
$('#vendor_id').trigger('change');
@endif
$(".input-price").maskMoney({
thousands : '{{ $currency->thousands_separator }}',
decimal : '{{ $currency->decimal_mark }}',

View File

@ -220,6 +220,10 @@
});
$(document).ready(function(){
@if (old('item'))
$('#customer_id').trigger('change');
@endif
$(".input-price").maskMoney({
thousands : '{{ $currency->thousands_separator }}',
decimal : '{{ $currency->decimal_mark }}',

View File

@ -219,6 +219,10 @@
});
$(document).ready(function(){
@if (old('item'))
$('#customer_id').trigger('change');
@endif
$(".input-price").maskMoney({
thousands : '{{ $currency->thousands_separator }}',
decimal : '{{ $currency->decimal_mark }}',