예제 #1
0
        ?>
	  </td>
	</tr>
	<?php 
    }
    ?>
      </tbody>
    </table>
    

    <?php 
}
?>

   <div class="smallMargins">
      <?php 
WebHelper::linkButton(array('linkClass' => 'btnAdd', 'text' => 'Agregar Contacto', 'target' => url_for('contacto/new?cliente_id=' . $cliente->getId())));
?>

    </div>

</div>
    <hr/>


<div class="smallMargins">
      <?php 
WebHelper::linkButton(array('linkClass' => 'btnBack', 'text' => 'Volver', 'target' => url_for('cliente/index')));
?>
</div>
예제 #2
0
        ?>
	</td>

	<td>
		<?php 
        WebHelper::linkButton(array('target' => url_for('puntoVenta/delete?id=' . $punto_venta->getId()), 'confirmMessage' => '¿Está seguro de eliminar este Punto de Venta?', 'linkClass' => 'btnX'));
        ?>
	</td>

    </tr>
    <?php 
    }
    ?>
  </tbody>
</table>
   <?php 
} else {
    ?>
  <p>No se han definido Puntos de Venta</p>
   <?php 
}
?>
</div>


<div class="smallMargins">
  <?php 
WebHelper::linkButton(array('text' => 'Nuevo Punto de Venta', 'target' => url_for('puntoVenta/new'), 'linkClass' => 'btnAdd'));
?>
</div>
예제 #3
0
        ?>
	</td>

	<td>
		<?php 
        WebHelper::linkButton(array('target' => url_for('cliente/delete?id=' . $cliente->getId()), 'confirmMessage' => '¿Está seguro de eliminar este Cliente?', 'linkClass' => 'btnX'));
        ?>
	</td>
      </tr>
      <?php 
    }
    ?>
    </tbody>
  </table>
   <?php 
} else {
    ?>
  <p>No existe informaci&oacute;n de Clientes</p>
   <?php 
}
?>
</div>



<div class="smallMargins">
  <?php 
WebHelper::linkButton(array('text' => 'Nuevo Cliente', 'target' => url_for('cliente/new'), 'linkClass' => 'btnAdd'));
?>
</div>
예제 #4
0
    ?>
<input type="hidden" name="sf_method" value="put" />
<?php 
}
?>
  <table>
    <tfoot>
      <tr>
        <td colspan="2">
	  <div style="float:left" class="smallMargins">
		<?php 
WebHelper::linkButton(array('linkClass' => 'btnBack', 'text' => 'Cancelar', 'target' => url_for('cliente/show/?id=' . $cliente->getId())));
?>
	  </div>

	  <div style="float:left" class="smallMargins">&nbsp;</div>
	  <div  class="smallMargins">
		<?php 
WebHelper::linkButton(array('linkClass' => 'btnOk', 'text' => 'Confirmar', 'target' => "#", 'clickAction' => 'document.contactoForm.submit()'));
?>
        </td>
      </tr>
    </tfoot>
    <tbody>
      <?php 
echo $form;
?>
    </tbody>
  </table>
</form>