close #466 Fixed: Bill Payment Problem
This commit is contained in:
		@@ -373,6 +373,11 @@
 | 
			
		||||
                        $('#currency_rate').val(data.currency_rate);
 | 
			
		||||
 | 
			
		||||
                        $('.input-price').each(function(){
 | 
			
		||||
                            input_price_id = $(this).attr('id');
 | 
			
		||||
                            input_currency_id = input_price_id.replace('price', 'currency');
 | 
			
		||||
 | 
			
		||||
                            $('#' + input_currency_id).val(data.currency_code);
 | 
			
		||||
 | 
			
		||||
                            amount = $(this).maskMoney('unmasked')[0];
 | 
			
		||||
 | 
			
		||||
                            $(this).maskMoney({
 | 
			
		||||
 
 | 
			
		||||
@@ -381,6 +381,11 @@
 | 
			
		||||
                        $('#currency_rate').val(data.currency_rate);
 | 
			
		||||
 | 
			
		||||
                        $('.input-price').each(function(){
 | 
			
		||||
                            input_price_id = $(this).attr('id');
 | 
			
		||||
                            input_currency_id = input_price_id.replace('price', 'currency');
 | 
			
		||||
 | 
			
		||||
                            $('#' + input_currency_id).val(data.currency_code);
 | 
			
		||||
 | 
			
		||||
                            amount = $(this).maskMoney('unmasked')[0];
 | 
			
		||||
 | 
			
		||||
                            $(this).maskMoney({
 | 
			
		||||
 
 | 
			
		||||
@@ -24,7 +24,7 @@
 | 
			
		||||
    @stack('price_td_start')
 | 
			
		||||
    <td>
 | 
			
		||||
        @stack('price_input_start')
 | 
			
		||||
        <input value="{{ empty($item) ? '' : $item->price }}" class="form-control text-right" required="required" name="item[{{ $item_row }}][price]" type="text" id="item-price-{{ $item_row }}">
 | 
			
		||||
        <input value="{{ empty($item) ? '' : $item->price }}" class="form-control text-right input-price" required="required" name="item[{{ $item_row }}][price]" type="text" id="item-price-{{ $item_row }}">
 | 
			
		||||
        <input value="{{ $currency->code }}" name="item[{{ $item_row }}][currency]" type="hidden" id="item-currency-{{ $item_row }}">
 | 
			
		||||
        @stack('price_input_end')
 | 
			
		||||
    </td>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user