show location code in client list

This commit is contained in:
nandar
2017-08-04 17:19:50 +06:30
parent 425a690397
commit 8deb8ea401
3 changed files with 6 additions and 4 deletions

View File

@@ -21,7 +21,8 @@
<th>Name</th>
<th>Email</th>
<th>Phone</th>
<th>Address</th>
<th>Address</th>
<th>Location Code</th>
<th>Created At </th>
<th>Action</th>
</tr>
@@ -32,7 +33,8 @@
<td><%= client.name rescue '' %></td>
<td><%= client.email rescue '' %></td>
<td><%= client.phone rescue '' %></td>
<td><%= client.address rescue '' %></td>
<td><%= client.address rescue '' %></td>
<td><%= client.location_code rescue '' %></td>
<td><%= client.created_at.strftime("%e,%b %Y %I:%M %p") rescue '' %></td>
<td>
<%= link_to 'Detail',