<?php include "../../root.class.php";
$html = new html();
$html->add_styles_page();
// $html->check_user_type("ADMIN");

// HTML FORM ELEMENTS
$contact_name = new input();
$contact_name->class("inputs");
$contact_name->type("text");
$contact_name->placeholder("CONTACT NAME");
$contact_name->name("name");
$contact_name->required();
$contact_name->id("name");

$phone = new input();
$phone->class("inputs");
$phone->type("text");
$phone->placeholder("PHONE");
$phone->name("phone");
$phone->required();
$phone->id("phone");

$EFT = new button();
$EFT->value("EFT");
// $EFT->onclick("eft");

$cash = new button();
$cash->value("CASH");

$submit_btn = new button();
$submit_btn->value("ADD");
$submit_btn->onclick("add_equipment()");

$change = new button();
$change->value("Change Code");
$change->onclick("onButtonClick()");

?>

<div class="form_down">
  <h1>JOBCARD DETAILS</h1>
  <?php
  $contact_name->add();
  $phone->add();
  $EFT->add();
  $cash->add();
  $change->add();
  ?>
</div>

<?php
$ajax = new js_ajax();
$ajax->function_name("change_payment_type");

?>