Files
ventas_php/modules/metodos-pago.php

16 lines
360 B
PHP
Executable File

<?php
$empresa->AuthUser();
if($Usr['type'] != 'admin' && $Usr['type'] != 'direccion' && $Usr['type'] != 'almacen' && $Usr['type'] != 'centralizador'){
header('Location: '.WEB_ROOT);
exit;
}
$p = intval($_GET["p"] ?? 0);
$metodoPago->SetPage($p);
$metodosPago = $metodoPago->Enumerate();
$smarty->assign('metodosPago', $metodosPago);
?>