mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 10:47:00 +00:00 
			
		
		
		
	Added some rounding. [skip ci]
This commit is contained in:
		| @@ -46,9 +46,9 @@ | ||||
|             <div class="input-group"> | ||||
|                 <div class="input-group-addon">€</div> | ||||
|             @if($what == 'add') | ||||
|                 <input type="number" step="any" max="{{min($maxAdd,$piggybank->targetamount)}}" min="0.01" class="form-control" id="amount" name="amount"> | ||||
|                 <input type="number" step="any" max="{{round(min($maxAdd,$piggybank->targetamount),2)}}" min="0.01" class="form-control" id="amount" name="amount"> | ||||
|             @else | ||||
|                 <input type="number" step="any" max="{{$maxRemove}}" min="0.01" class="form-control" id="amount" name="amount"> | ||||
|                 <input type="number" step="any" max="{{round($maxRemove,2)}}" min="0.01" class="form-control" id="amount" name="amount"> | ||||
|             @endif | ||||
|             </div> | ||||
|         </div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user