<!-- Edit this file to change the layout of each record in the table view -->
<!-- To disable clicking of a field, remove the <%%SELECT%%> and <%%ENDSELECT%%> formatters around it-->

<!-- If you wish to hide the table view header that contains the column titles, -->
<!-- add the following to the clients_init() hook (in hooks/clients.php file) -->
<!--     $options->ShowTableHeader = 0;     -->

		<td id="clients-name-<%%VALUE(id)%%>" class="clients-name text-bold"><%%VALUE(name)%%></td>
		<td id="clients-contact-<%%VALUE(id)%%>" class="clients-contact text-bold"><%%VALUE(contact)%%></td>
		<td id="clients-title-<%%VALUE(id)%%>" class="clients-title text-bold"><%%VALUE(title)%%></td>
		<td id="clients-address-<%%VALUE(id)%%>" class="clients-address text-bold"><%%VALUE(address)%%></td>
		<td id="clients-city-<%%VALUE(id)%%>" class="clients-city text-bold"><%%VALUE(city)%%></td>
		<td id="clients-country-<%%VALUE(id)%%>" class="clients-country text-bold"><%%VALUE(country)%%></td>
		<td id="clients-phone-<%%VALUE(id)%%>" class="clients-phone text-bold"><%%VALUE(phone)%%></td>
		<td id="clients-email-<%%VALUE(id)%%>" class="clients-email text-bold"><a href="mailto:<%%VALUE(email)%%>" title="<%%VALUE(email)%%>" class="btn btn-default"><i class="glyphicon glyphicon-envelope text-info"></i></a></td>
		<td id="clients-website-<%%VALUE(id)%%>" class="clients-website text-bold"><a href="link.php?t=clients&f=website&i=<%%VALUE(id)%%>" target="_blank"><%%VALUE(website)%%></a></td>
		<td id="clients-unpaid_sales-<%%VALUE(id)%%>" class="clients-unpaid_sales text-right text-bold"><%%VALUE(unpaid_sales)%%></td>
		<td id="clients-paid_sales-<%%VALUE(id)%%>" class="clients-paid_sales text-right text-bold"><%%VALUE(paid_sales)%%></td>
		<td id="clients-total_sales-<%%VALUE(id)%%>" class="clients-total_sales text-right text-bold"><%%VALUE(total_sales)%%></td>
		<script>$j(function() {
			var e_website = '<%%VALUE(website)%%>'; if(e_website == '' || e_website == '&nbsp;') $j(/*<*/ '#clients-website-<%%VALUE(id)%%>' /*>*/).html('');
		});</script>
