<?php

 $document_number_a = array(null);
 $user_supplier_object = [];
 if (!empty($_GET['user_id'])) {
  $user_id_h = $_GET['user_id'];
  $user = ino_user::find_by_id($user_id_h);
  $$class->username = $user->username;
  $$class->first_name = $user->first_name;
  $$class->last_name = $user->last_name;
  $user_supplier_object = user_supplier::find_by_userid($user_id_h);
  }
  else {
  $user_id_h = null;

 }
 
 if(empty($user_supplier_object)){
   $user_supplier_object = array(new user_supplier);

 }
?>