refs #451 Add format files;

Banking => Account,
Banking => Transfer,
Common => Items,
Expense => Payment,
Income => Revenue
This commit is contained in:
cuneytsenturk
2018-08-13 21:14:58 +03:00
parent 784d2fd6b1
commit e9d6cecf14
21 changed files with 1099 additions and 25 deletions

View File

@ -67,6 +67,33 @@
var text_no = '{{ trans('general.no') }}';
$(document).ready(function(){
$("#sale_price").maskMoney({
thousands : '{{ $currency->thousands_separator }}',
decimal : '{{ $currency->decimal_mark }}',
precision : {{ $currency->precision }},
allowZero : true,
@if($currency->symbol_first)
prefix : '{{ $currency->symbol }}'
@else
suffix : '{{ $currency->symbol }}'
@endif
});
$("#purchase_price").maskMoney({
thousands : '{{ $currency->thousands_separator }}',
decimal : '{{ $currency->decimal_mark }}',
precision : {{ $currency->precision }},
allowZero : true,
@if($currency->symbol_first)
prefix : '{{ $currency->symbol }}'
@else
suffix : '{{ $currency->symbol }}'
@endif
});
$("#sale_price").focusout();
$("#purchase_price").focusout();
$('#enabled_1').trigger('click');
$('#name').focus();