<?php include "../../root.class.php";
$html = new html();
$html->add_styles_page();
$db = new db_safeguard();

$supplier_name = new input();
$supplier_name->type('text');
$supplier_name->name('supplier_name');
$supplier_name->placeholder('Supplier/ Grower Name');
$supplier_name->id('supplier_name');

$supplier_code = new input();
$supplier_code->type('text');
$supplier_code->name('supplier_code');
$supplier_code->placeholder('Supplier/ Grower Code');
$supplier_code->id('supplier_code');

$farm_name = new input();
$farm_name->type('text');
$farm_name->name('farm_name');
$farm_name->placeholder('Farm Name');
$farm_name->id('farm_name');

$farm_location = new input();
$farm_location->type('text');
$farm_location->name('farm_location');
$farm_location->placeholder('Farm Location');
$farm_location->id('farm_location');

$global_gap_certificate_no = new input();
$global_gap_certificate_no->type('text');
$global_gap_certificate_no->name('global_gap_certificate_no');
$global_gap_certificate_no->placeholder('GLOBAL G.A.P Certificate No');
$global_gap_certificate_no->id('global_gap_certificate_no');

$harvest_season = new input();
$harvest_season->type('text');
$harvest_season->name('harvest_season');
$harvest_season->placeholder('Harvest Season');
$harvest_season->id('harvest_season');

$contact_person = new input();
$contact_person->type('text');
$contact_person->name('contact_person');
$contact_person->placeholder('Contact Person');
$contact_person->id('contact_person');

$contact_number = new input();
$contact_number->type('text');
$contact_number->name('contact_number');
$contact_number->placeholder('Contact Number');
$contact_number->id('contact_number');

$contact_email = new input();
$contact_email->type('text');
$contact_email->name('contact_email');
$contact_email->placeholder('Contact Email');
$contact_email->id('contact_email');

$last_audit_date = new input();
$last_audit_date->type('datetime-local');
$last_audit_date->name('last_audit_date');
$last_audit_date->placeholder('Last Audit Date');
$last_audit_date->id('last_audit_date');

$certificate_status = new input();
$certificate_status->type('text');
$certificate_status->name('certificate_status');
$certificate_status->placeholder('Certificate Status');
$certificate_status->id('certificate_status');

?>

<div class="form_down">
    <h1>Performance Review</h1>

    <h3>Supplier Information</h3>
    <?php
    $supplier_name->add();
    $supplier_code->add();
    $farm_name->add();
    $farm_location->add();
    $global_gap_certificate_no->add();
    $harvest_season->add();
    $contact_person->add();
    $contact_number->add();
    $contact_email->add();
    $last_audit_date->add();
    $certificate_status->add();
    ?>

    <h3>Performance Evaluation Table</h3>
    <p>0- Critical failure; major risk to food safety, legality, or quality. Disqualification or immediate suspension
        recommended. <br>
        1- Serious deficiencies; fails to meet key requirements in quality, safety, or traceability. <br>
        2- Frequently below standard; quality or compliance issues observed; corrective actions required. <br>
        3- Meets minimum requirements; some issues identified that require attention, but still within tolerance. <br>
        4- Meets all key requirements; minor non-critical issues may exist but do not affect product quality or
        compliance. <br>
        5- Exceeds expectations; consistently delivers superior performance with no issues. <br>
    </p>
    <?php

    ?>
</div>

<?php

?>