Base
This commit is contained in:
39
resources/views/proyectos/avances/edit.blade.php
Normal file
39
resources/views/proyectos/avances/edit.blade.php
Normal file
@ -0,0 +1,39 @@
|
||||
@extends('layout.base')
|
||||
|
||||
@section('content')
|
||||
<div class="row page-heading">
|
||||
<h3>Edit Avance - {{$avance->proyecto()->descripcion}}</h3>
|
||||
</div>
|
||||
<br />
|
||||
<form method="post" class="form-horizontal" action="{{nUrl('proyectos', 'edit_avance', ['avance' => $avance->id])}}">
|
||||
<div class="form-group">
|
||||
<div class="col-md-3">Estado de Pago</div>
|
||||
<div class="col-md-1">{{$avance->numero}}</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-md-3">Fecha</div>
|
||||
<?php $f = $avance->fecha() ?>
|
||||
@include('form.fecha')
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-md-3">% Avance</div>
|
||||
<div class="col-md-1"><input type="text" name="avance" class="form-control" value="{{$avance->avance * 100}}" /></div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-md-3">Valor Estado de Pago [UF]</div>
|
||||
<div class="col-md-3"><input type="text" name="estado_pago" class="form-control" value="{{$avance->estado_pago}}" /></div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-md-3">Pagado [$]</div>
|
||||
<div class="col-md-3"><input type="text" name="pagado" class="form-control" value="{{$avance->pagado}}" /></div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-md-offset-1 col-md-2">Fecha</div>
|
||||
<?php $f = $avance->fechaPago(); $id = '_pago' ?>
|
||||
@include('form.fecha')
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-md-offset-3 col-md-2"><button class="form-control">Editar</button></div>
|
||||
</div>
|
||||
</form>
|
||||
@endsection
|
Reference in New Issue
Block a user