<div class="form-group"> <label class="control-label col-sm-2">Monto Solicitiado</label> <div class="col-sm-6"> <input type="text" class="form-control" id="" name="importe" value="{{$pago_cheque->importe}}"></input> </div> </div> <div class="form-group"> <label class="control-label col-md-2">Nro. Memo</label> <div class="col-md-6"> <?php if (!empty($pago_cheque->nro_memo_id)) { $nro_memo = PagoCheque::getMemoById($pago_cheque->nro_memo_id); } ?> <select class="form-control " name="nro_memo_id" id="b_nro_memo_id"> <option value="{{$pago_cheque->nro_memo_id}}" selected>{{ $nro_memo }}</option> </select> </div> </div> <div class="form-group"> <label class="control-label col-md-2">Disponible</label> <div class="col-md-6"> <select class="form-control" name="disponible_id" id="b_disponible_id"> @foreach($disponible as $key=>$disponible_id) <?php if ($pago_cheque->disponible_id == $disponible_id->dominio_id) { ?>
public function editCursoPagoCheque($id) { // $pago_cheque = PagoCheque::find($id); $docente = DPagoCheque::getDatosDocenteById($pago_cheque->docente_id); $curso = DPagoCheque::getDatosCursoById($pago_cheque->curso_id); //print_r($id); //exit; //Traer Docente y Actividad $helper = new Helper(); $disponible = $helper->getHelperByDominio('disponible_id'); $entregado_por = Agente::get(); $nro_memo = Remitidos::where('remitidos_id', '=', $pago_cheque->nro_memo_id)->first(); $nro_recibo = $this->traeUltimoNroRecibo(); return view('cheques.editCursoPagoCheque')->with('pago_cheque', $pago_cheque)->with('docente', $docente)->with('curso', $curso)->with('disponible', $disponible)->with('entregado_por', $entregado_por)->with('nro_memo', $nro_memo)->with('nro_recibo', $nro_recibo); }