Exemplo n.º 1
0
    $e_provided3 = $_POST["equip3"];
    $e_serial3 = $_POST["serial3"];
    $e_provided4 = $_POST["equip4"];
    $e_serial4 = $_POST["serial4"];
    $e_provided5 = $_POST["equip5"];
    $e_serial5 = $_POST["serial5"];
    $equipment = $_POST['rent_equipment'];
    $rent_total_amount = $_POST['rent_total_amount'];
    $terms = $_POST['rent_terms'];
    $monthly_payment = $_POST['rent_monthly_payment'];
    $start_of_contract = $_POST['rent_start'];
    $end_of_contract = $_POST['rent_end'];
} else {
    $count = $user->countJR($sessionUserSection);
    if ($sessionUserType == "Executive") {
        $count = $user->countJRAll();
    }
    for ($i = 0; $i < $count; $i++) {
        $index = "view" . $i;
        if (isset($_POST[$index])) {
            $index2 = "jrNum" . $i;
            $values = $user->getJobRequest($_POST[$index2]);
            $jrNum = $_POST[$index2];
            if ($values['SECTION'] != "Rent to Own") {
                $gen = $user->getGeneral($_POST[$index2]);
            }
            if ($values['SECTION'] == "Tech Support") {
                $tech = $user->getTech($_POST[$index2]);
            } else {
                if ($values['SECTION'] == "Rent to Own") {
                    $rent = $user->getRent($_POST[$index2]);