<?php
if (!empty($_GET['org_id'])) {
 $class_i = $$class->findBy_orgId($_GET['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->item_id_m)){
  $item_i = item::find_by_item_id_m($$class->item_id_m);
  $$class->item_number = !empty($item_i->item_number) ? $item_i->item_number : '';
 }
?>

