<?php
if (!empty($_GET['bu_org_id'])) {
 $$class->bu_org_id = ($_GET['bu_org_id']);
 $class_i = $$class->findBy_orgId($_GET['bu_org_id']);
 if (!empty($class_i)) {
	foreach ($class_i as $key => $value) {
	 if ((!empty($value)) && (property_exists($$class, $key))) {
		$$class->$key = $value;
	 }
	}
//	$$class->_before_showing();
 }
}


if (!empty($$class->supplier_id)) {
 $supplier_details = supplier::find_by_id($$class->supplier_id);
 $$class->expense_claim_supplier = $supplier_details->supplier_name;
}

?>