<?php
require_once __DIR__.'/includes/functions.php';
$u = require_user();
$pageTitle = 'Customer Invoice Disabled';
include __DIR__.'/includes/header.php';
?>
<section class="mj-section">
  <div class="container">
    <div class="mj-card p-5 text-center">
      <div class="mj-icon-box mx-auto mb-3"><i class="bi bi-shield-lock"></i></div>
      <h1 class="fw-bold">Customer-to-seller invoice disabled</h1>
      <p class="text-muted mb-4"><?=e(function_exists('mj_payment_scope_notice') ? mj_payment_scope_notice() : 'Customer-to-seller payment is disabled across MJ Marketplace.')?></p>
      <div class="alert alert-info rounded-4 text-start mx-auto" style="max-width:760px">
        <b>Allowed:</b> User-to-admin invoices are available in Billing & Payments for subscriptions, listing renewals, sponsored/featured placements, extra slots, wallet top-up and admin payment requests.<br>
        <b>Disabled:</b> Customer-to-seller invoices, checkout, proof upload, wallet payment, voucher purchase, refund and merchant payout.
      </div>
      <a class="btn btn-primary rounded-pill" href="<?=e(base_url('billing-payments.php'))?>"><i class="bi bi-credit-card-2-front me-1"></i>Open Billing & Payments</a>
      <a class="btn btn-outline-primary rounded-pill" href="<?=e(base_url('my-orders.php'))?>"><i class="bi bi-chat-dots me-1"></i>Back to Enquiries</a>
    </div>
  </div>
</section>
<?php include __DIR__.'/includes/footer.php'; ?>
