<?php$customer_site_obj = [];if (empty($pm_recipe_customer_object) && !empty($$class->pm_recipe_header_id)) { $pm_recipe_customer_object = pm_recipe_customer::find_by_parent_id($$class->pm_recipe_header_id);}if (empty($pm_recipe_customer_object)) { $pm_recipe_customer_object = array(new pm_recipe_customer());}if (!empty($$class->pm_process_routing_header_id)) { $$class->routing_name = pm_process_routing_header::find_by_id($$class->pm_process_routing_header_id)->routing_name;}if (!empty($$class->pm_formula_header_id)) { $$class->formula_name = pm_formula_header::find_by_id($$class->pm_formula_header_id)->formula_name;}$pageno = !empty($_GET['pageno']) ? $_GET['pageno'] : 1;$per_page = !empty($_GET['per_page']) ? $_GET['per_page'] : 10;$total_count = count($pm_recipe_line_object);$pagination = new pagination($pageno, $per_page, $total_count);$pagination->setProperty('_path', 'form');$position = ($pageno - 1) * $per_page;?>