tickets.php 505 B

12345678910111213141516171819202122
  1. <?php /** @noinspection PhpUnhandledExceptionInspection */
  2. namespace App;
  3. $core = Core::getInstance();
  4. $core->addBreadcrumb("/tickets", __("Tickets"));
  5. $core = Core::getInstance();
  6. $core->addScript("/js/ticket-modal.js");
  7. $request = Request::fromRequest();
  8. $nvp = [
  9. "dts_deleted" => null
  10. ];
  11. $tickets = Ticket::query($nvp, ["sort" => "dts_updated", "order" => "desc"]);
  12. View::include("header");
  13. View::include("tickets", compact("tickets"));
  14. View::include("modals/ticket");
  15. View::include("footer");