<div class="form form-profile aif" style='width:auto; font-family:Montserrat-Light, Open-sans, sans-serif;'>
	<h2 style="margin-top:0px;">
		Product/Item Modifier Lists
	</h2>

	<a href="/api/webservices/shop/import_local_products_inventory" title="Import/Update">Import/Update Modifier Lists &raquo;</a>

	<br /><br />

	<table class="admintable" style="margin:10px; width:97% !important; min-width:97% !important;">
		<tr>

			<th width="155">PARENT</th>
			<th width="200">MOD LIST NAME</th>
			<th width="70">EDIT</th>

			<th width="35">ID</th>
		</tr>
		<?php
		foreach ($modifierLists as $modifierList) {
			echo "<tr>

				<td style='padding:10px;'>{$modifierList['item_name']}<br />
				<span style='color:#bbb; font-size:10px;'>{$modifierList['item_id']}</span>
	            </td>
				<td style='padding:10px;'>{$modifierList['modifier_list_name']} - <a href='?modlist&edit={$modifierList['modifier_list_id']}' target='_blank'>edit</a><br />
	                              <span style='color:#bbb;'>{$modifierList['square_item_variation_id']}</span>
	            </td>
				<td style='padding:10px; text-align:center;'>
					<a href='?modlist&edit={$modifierList['modifier_list_id']}' target='_blank'>edit</a>
				</td>
				<td style='padding:10px; text-align:center;'>
					{$modifierList['modifier_list_id']}
				</td>

            </tr>";
		}
		?>
	</table>

	<div style="margin:10px;">
		<a href='?modlist&add' class='btn btn-blue'>Add New</a>
	</div>

</div>