Creating a formatCurrency function
This commit is contained in:
		@ -19,8 +19,8 @@ Buy one widget
 | 
			
		||||
      autocomplete="off"
 | 
			
		||||
      novalidate="">
 | 
			
		||||
    <input type="hidden" name="product_id" value="{{$widget.ID}}">
 | 
			
		||||
    <input type="hidden" name="amount" value="{{$widget.Price}}">
 | 
			
		||||
    <h3 class="mt-2 mb-3 text-center">{{$widget.Name}}: {{$widget.Price}}</h3>
 | 
			
		||||
    <input type="hidden" id="amount" name="amount" value="{{$widget.Price}}">
 | 
			
		||||
    <h3 class="mt-2 mb-3 text-center">{{$widget.Name}}: {{formatCurrency $widget.Price}}</h3>
 | 
			
		||||
    <p class="mt-2 mb-3 text-center">{{$widget.Description}}</p>
 | 
			
		||||
    <hr>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user