@extends('layout.base')

@section('content')
<div class="page-heading">
	<h2>Agregar Bono Pie</h2>
</div>
<br />
<form class="form-horizontal" method="post" action="{{nUrl('bonos', 'do_add', ['venta' => $venta->id])}}">
<div class="row">
	<div class="col-md-2">Pie</div>
	<div class="col-md-2">
		@if ($venta->pie())
			{{format('ufs', $venta->pie()->valor, null, true)}}
		@endif
	</div>
</div>
<br />
<div class="form-group">
	<div class="col-md-2">Valor</div>
	<div class="col-md-3"><input type="text" name="valor" class="form-control" /></div>
	<div class="col-md-2">UF</div>
</div>
<div class="form-group">
	<div class="col-md-offset-2 col-md-2">
		<button class="form-control" type="submit">Agregar</button>
	</div>
</div>
</form>
@endsection
