Invoice and bill add payment change paid at format and add language support.
This commit is contained in:
		@@ -334,7 +334,7 @@
 | 
			
		||||
                html += '                   {!! Form::label('paid_at', trans('general.date'), ['class' => 'control-label']) !!}';
 | 
			
		||||
                html += '                   <div class="input-group">';
 | 
			
		||||
                html += '                       <div class="input-group-addon"><i class="fa fa-calendar"></i></div>';
 | 
			
		||||
                html += '                       {!! Form::text('paid_at', \Date::now()->toDateString(), ['id' => 'paid_at', 'class' => 'form-control', 'required' => 'required', 'data-inputmask' => '\'alias\': \'yyyy-mm-dd\'', 'data-mask' => '']) !!}';
 | 
			
		||||
                html += '                       {!! Form::text('paid_at', \Date::now()->toDateString(), ['id' => 'paid_at', 'class' => 'form-control', 'required' => 'required', 'data-inputmask' => '\'alias\': \'yyyy-mm-dd\'', 'data-mask' => '', 'autocomplete' => 'off']) !!}';
 | 
			
		||||
                html += '                   </div>';
 | 
			
		||||
                html += '               </div>';
 | 
			
		||||
                html += '               <div class="form-group col-md-6 required">';
 | 
			
		||||
@@ -391,7 +391,9 @@
 | 
			
		||||
 | 
			
		||||
                $('#paid_at').datepicker({
 | 
			
		||||
                    format: 'yyyy-mm-dd',
 | 
			
		||||
                    autoclose: true
 | 
			
		||||
                    weekStart: 1,
 | 
			
		||||
                    autoclose: true,
 | 
			
		||||
                    language: '{{ language()->getShortCode() }}'
 | 
			
		||||
                });
 | 
			
		||||
 | 
			
		||||
                $("#account_id").select2({
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user