<?php require '../private/config.php'; require '../private/restricted_admin.php'; if (!isset($_GET['p'])) { header('Location: proformas.php'); } $proforma_id = (int) $_GET['p']; require '../class/Admin.php'; $order = new CyanideSystems\OrderSystem\Admin(); $proforma = $order->getProformaMain($proforma_id); $proforma_lines = $order->getProformaLines($proforma_id); ?> <!doctype html> <html lang="en-GB"> <head> <meta charset="utf-8" /> <title>Proforma ID: <?php echo $proforma->proforma_id; ?> </title> <link rel="stylesheet" href="template/assets/css/invoice.min.css" /> </head> <body> <p class="return"><a href="proformas.php" target="_blank">[Return to Proformas]</a></p> <section class="page-break"> <br /> <header> <h1>Proforma</h1> <address> <p>Polyverse Ltd. (T/A: Bluebelles)</p>