    <label for="Category">COFFEE QUALITY CONTROL CHECKLIST</label>

    
    <label for="CoffeeName">Coffee Name:</label>
    <input type="text" id="CoffeeName" name="CoffeeName" value="<?= old("CoffeeName", esc($qualitycontrol->CoffeeName)) ?>" />

    <label for="CheckDate">Date:</label>
    <input type="date" id="CheckDate" name="CheckDate" value="<?= old("CheckDate", esc($qualitycontrol->CheckDate)) ?>" />

    <label for="BatchNumber">Batch Number:</label>
    <input type="text" id="BatchNumber" name="BatchNumber" value="<?= old("BatchNumber", esc($qualitycontrol->BatchNumber)) ?>" />

    <label for="CheckedBy">Checked by:</label>
    <input type="text" id="CheckedBy" name="CheckedBy" value="<?= old("CheckedBy", esc($qualitycontrol->CheckBy)) ?>" />

    <label for="QtyRequested">Qty Requested:</label>
    <input type="number" id="QtyRequested" name="QtyRequested" value="<?= old("QtyRequested", esc($qualitycontrol->QtyRequested)) ?>" />

    <label for="QtyProduced">Qty Produced:</label>
    <input type="number" id="QtyProduced" name="QtyProduced" value="<?= old("QtyProduced", esc($qualitycontrol->QtyProduced)) ?>" />

    <label for="Certification">Certification:</label>
    <input type="checkbox" id="na" name="Certification" value="<?= old("na", esc($qualitycontrol->na)) ?>" />


    <button class="button" type="submit">Save</button>
    <a class="button" href="<?= site_url('/categories') ?>" default>Cancel</a>