<?php
require_once __DIR__ . '/includes/settings_helpers.php';
settings_require_auth();
settings_ensure_tables($conn);
settings_get_current_org($conn);
?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="<?php echo billing_escape(billing_base_href()); ?>">
  <title>PDF Templates | Settings</title>
  <link rel="stylesheet" href="assets/fontawesome/css/all.min.css">
  <link rel="stylesheet" href="assets/font-inter.css">
  <link rel="stylesheet" href="orgprofile.css">
  <style>.hero{min-height:420px;display:flex;align-items:center;justify-content:center;text-align:center}.hero i{font-size:90px;color:#c7d2fe}.hero h2{font-size:28px;margin:16px 0 8px}</style>
</head>
<body class="orgprofile-page">
  <?php settings_render_header($_SESSION['org_name'] ?? 'demo', 'dashboard.php', 'fa-file-pdf'); ?>
  <main class="profile-layout">
    <?php settings_render_sidebar('email_templates'); ?>
    <section class="profile-main">
      <div class="profile-head"><h1>PDF Templates</h1></div>
      <div class="profile-card"><div class="hero"><div><i class="fa-regular fa-file-pdf"></i><h2>PDF Templates</h2><div style="font-size:15px;color:#374151;max-width:640px">Manage payslip and letter PDF layouts from here. You can keep using the existing [salary_revision_template.php](/C:/xampp/htdocs/Payslip_Project/salary_revision_template.php) page for the salary revision letter preview.</div></div></div></div>
    </section>
  </main>
</body>
</html>

