Ver Mensaje Individual
  #1 (permalink)  
Antiguo 23/06/2012, 07:07
unasemana
 
Fecha de Ingreso: julio-2005
Mensajes: 7
Antigüedad: 18 años, 9 meses
Puntos: 0
Obtener dato en MyClientBase

Hola que tal, escribo por lo siguiente:

Estoy utilizando MyClientBase, un generador de invoices de codigo abierto bastante completo.

Al generar un reporte de ventas quiero que tambien me salga la opción Item Description, pero no logro que me aparezca aunque copie el codigo de otra opcion similar al item_description.

ASi no funciona, que puedo hacer?, sale la la tabla pero me da error en esa casilla.

<table style="width: 100%;">

<tr>
<th scope="col" class="first" style="width: 30%;"><?php echo $this->lang->line('item'); ?></th>
<th scope="col" style="width: 10%;"><?php echo $this->lang->line('item_description'); ?></th>

<th scope="col" style="width: 13%; text-align: right;"><?php echo $this->lang->line('quantity'); ?></th>
<th scope="col" style="width: 13%; text-align: right;"><?php echo $this->lang->line('unit_price'); ?></th>
<th scope="col" style="width: 13%; text-align: right;"><?php echo $this->lang->line('subtotal'); ?></th>
<th scope="col" style="width: 15%; text-align: right;" class="last"><?php echo $this->lang->line('sales_with_tax'); ?></th>
</tr>

<?php foreach ($items as $item) { ?>

<tr>
<td class="first"><?php echo $item->item_name; ?></td>
<td style="text-align: right;"><?php echo format_number($item->item_description, FALSE); ?></td>

<td style="text-align: right;"><?php echo format_number($item->sum_item_qty, FALSE); ?></td>
<td style="text-align: right;"><?php echo display_currency($item->item_price, FALSE); ?></td>
<td style="text-align: right;"><?php echo display_currency($item->sum_item_subtotal, FALSE); ?></td>
<td class="last" style="text-align: right;"><?php echo display_currency($item->sum_item_total, FALSE); ?></td>
</tr>

<?php } ?>

</table>