invoices.php 473 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * Copyright (c) UNA, Inc - https://una.io
  4. * MIT License - https://opensource.org/licenses/MIT
  5. *
  6. * @defgroup UnaCore UNA Core
  7. * @{
  8. */
  9. require_once('./inc/header.inc.php');
  10. require_once(BX_DIRECTORY_PATH_INC . "design.inc.php");
  11. bx_import('BxDolLanguages');
  12. check_logged();
  13. $sUrl = BxDolPayments::getInstance()->getInvoicesUrl();
  14. if(empty($sUrl))
  15. BxDolTemplate::getInstance()->displayPageNotFound();
  16. header('Location: ' . $sUrl);
  17. exit;
  18. /** @} */