$client_designation = $_POST['designation']; $paymentStatus = 0; $status = "In Process"; $bill_status = 0; $ua_username = $sessionUsername; $soa_number = null; if (isset($_POST['total_amount'])) { $total_amount = $_POST['total_amount']; } $problem = $_POST['problem']; $sessionUserSection = $_POST['serviceSection']; $service_type = ""; if (isset($_POST['service'])) { $service_type = $_POST['service']; } $user->addJobRequest($lastNum, $jrNumber, $sessionUserSection, $date_created, $client_office, $client_name, $client_email, $client_telnum, $client_designation, $problem, $service_type, $status, $bill_status, $paymentStatus, $date_accomplished, $date_billed, $date_paid, $ua_username, $soa_number, $total_amount); if ($sessionUserSection != "Rent to Own") { $service = ""; if (isset($_POST['service'])) { $service_type = $_POST['serviceSection']; } $details = $_POST['details']; $total_time = $_POST['total_hours']; $assigned_personnel = $_POST['ass_tech']; $total_amount = $_POST['total_amount']; $released_status = "Not Released"; if ($sessionUserSection != "MIS") { $r_materials = $_POST['material']; $r_comments = $_POST['comment']; $user->addGeneral($jrNumber, $service_type, $details, $total_time, $assigned_personnel, $total_amount, $r_materials, $r_comments); if ($sessionUserSection == "Tech Support") {