Report - Year-wise-Total()

uri->total_segments(); $ab=$this->uri->segment($last); foreach($ytotal as $rel) { ?>
Supplier Name Material Name Quantity Total Value  ()
supplier_name;?> material_name;?> quantity); echo round($rel->quantity);?> total,2,'.',''); echo number_format($rel->total,2,'.','');?>