<tr> <td>Costo total del producto</td> <td>$ <?php echo number_format(bill::getValorTotalTonico()); ?> </td> </tr> </tbody> </table> </fieldset> <?php } ?> <?php if ($bill->getJabon() > 0) { ?> <fieldset> <legend><?php echo $jabon->getName(); ?> </legend> <table class="table table-bordered"> <tbody> <tr> <td class="tableColumn50">Valor unitario</td> <td class="tableColumn50">$ <?php echo number_format($jabon->getSalePrice()); ?> </td> </tr>
<?php session_start(); include 'class/routingClass.php'; include 'class/productClass.php'; include 'class/jabonClass.php'; include 'class/tonicoClass.php'; include 'class/billClass.php'; use barla\bill\billClass as bill; use barla\routing\routingClass as routing; $bill = new bill(); // ($bill->getShirt() === 0 and $bill->getPants() === 0) ? routing::redirect('mainMenu.php') : null // if ($bill->getShirt() === 0 and $bill->getPants() === 0) routing::redirect('mainMenu.php') if ($bill->getTonico() === 0 and $bill->getJabon() === 0) { routing::redirect('sell.php'); } ?> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>BARLA - Sistema de ventas</title> <?php include 'html/head.php'; ?> </head> <body> <div class="container container-fluid"> <div class="well" id="wellIdentificacion"> <div class="page-header"> <h1><i class="mdi-action-assignment-ind"></i> Datos del cliente</h1>