예제 #1
0
 public function facturar_detalles()
 {
     foreach ($_SESSION["carrito"] as $articulos) {
         foreach ($articulos as $art) {
             parent::add_detalle($art["codigo"], $art["nombre"], $art["cantidad"], $art["costo"]);
         }
     }
 }
예제 #2
0
 public function Consulta_Detalles()
 {
     $detalles = $this->consultas->consulta_factura_codigo($this->codigo);
     foreach ($detalles as $array) {
         parent::add_detalle($array["codigo"], $array["nombre"], $array["cantidad"], $array["costo"]);
     }
     return parent::mostrar();
 }
예제 #3
0
 public function facturar_detalles()
 {
     foreach ($_SESSION['produc_var_session_'] as $articulos) {
         parent::add_detalle($articulos['id'], $articulos['descrip'], 1, $articulos['precio']);
     }
 }