Пример #1
0
              <tr>
                <td class="tableColumn50"><?php 
echo number_format($bill->getIdClient(), 0, ',', '.');
?>
</td>
                <td class="tableColumn50"><?php 
echo $bill->getNameClient();
?>
</td>
              </tr>
            </thead>
          </table>
        </fieldset>
        
        <?php 
if ($bill->getTonico() > 0) {
    ?>
        <fieldset>
          <legend><?php 
    echo $tonico->getName();
    ?>
</legend>
          <table class="table table-bordered">
            <tbody>
              <tr>
                <td class="tableColumn50">Valor unitario</td>
                <td class="tableColumn50">$ <?php 
    echo number_format($tonico->getSalePrice());
    ?>
</td>
              </tr>
Пример #2
0
<?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>