<table id="suspended_sales_table">
	<tr>
		<th><?php echo $this->lang->line('golbal_item_code'); ?></th>
		<th><?php echo $this->lang->line('golbal_item_name'); ?></th>
		<th><?php echo $this->lang->line('golbal_item_location'); ?></th>
		<th><?php echo $this->lang->line('golbal_item_quantity'); ?></th>
		<th><?php echo $this->lang->line('golbal_item_action'); ?></th>
	</tr>
	
	<?php
	foreach ($golbal_products as $golbal_product)
	{
	?>
		<tr>
			<td><?php echo $golbal_product->item_id;?></td>
			<td><?php echo $golbal_product->name;?></td>
			<td><?php echo $golbal_product->location_name;?></td>
			<td><?php echo $golbal_product->quantity;?></td>
			
			
			<td>
				<?php //you need to work here. Api working .
				echo form_open('sales/unsuspend');
				echo form_hidden('suspended_sale_id', $suspended_sale['sale_id']);
				?>
				<input type="submit" name="submit" value="<?php echo $this->lang->line('sales_unsuspend'); ?>" id="submit" class="submit_button float_right"></td>
				</form>
		</tr>
	<?php
	}
	
	?>
	
</table>

