Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(count($pedidos) > 0){ foreach($pedidos as $pedido){ $totalHoje += $valorCompra; ?>
- <tr onclick="window.location='<?=base_url();?>index.php/adm/pedidos/alterar/<?=$pedido->id;?>'" style="cursor:pointer" target='_blank'>
- <td width="50">
- <?=$pedido->id;?>
- </td>
- <td class="pedidonome">
- <?=strtolower($pedido->nome ? $pedido->nome : $pedido->razao_social);?>
- </td>
- <td>
- <?php echo getPagamento($pedido->pagamento);?>
- </td>
- <td>R$
- <?=$pedido->frete;?>
- </td>
- <td>R$
- <?=$pedido->valor_pedido;?>
- </td>
- <td><span class="<?=$pedido->situacao;?>"><?=$pedido->situacao;?></span></td>
- </tr>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement