List of Offices

This page uses a Hashtag List to show records for all Offices.   The table is styled using Bootstrap 3 default theme classes.   Methods are provided to Edit or Delete any Office record.  

No Offices Found




Processed this Hashtag Markup:
<# start list for offices; 
	sort by Country ISO Code desc, Name;
	show 10 rows per page;
	hide bottom pager;
#>

<# start header #>
<table class="table table-striped table-hover">
	<thead>
	<tr>
		<th>Office Name</th>
		<th>Country ISO Code</th>
		<th>Action</th>
	</tr>
	</thead>
<# end header #>

<# start row #>
	<tr>
		<td><# Name as html #></td>
		<td><# Country ISO Code as html #></td>
		<td><a href="office?edit=<# ID #>" class="label label-primary">Edit</a>
			<a href="delete-office?id=<# ID #>&index=<#[url.index as html]#>"
				onclick="return confirm('Delete Office record?')"
				class="label label-primary">Delete</a>
		</td>
	</tr>
<# end row #>

<# start footer #>
</table>
<# end footer #>

<# no results #>
<h4 class="alert alert-warning text-center">No Offices Found</h4>
<# end no results #>

<# end list #>

The Company Mini-App uses the Hashtag Markup Language to maintain multiple sets of records that relate to each other.

Records for Employees, Offices, and Countries are stored in an SQL Database.   Methods are provided to create, update, and delete any record.