Commit 9d6db173 by hannan

unstackable table maintenance screen

parent aa146a0d
......@@ -10,10 +10,10 @@
<input type="hidden" name="id" value="{{$id}}">
<thead>
<tr>
<th style="width: 5%">No</th>
<th style="width: 45%">Roles</th>
<th style="width: 25%" class="text-center">Day</th>
<th style="width: 25%" class="text-center">Hours</th>
<th class="single line" style="width: 5%">No</th>
<th class="single line" style="width: 45%">Roles</th>
<th class="single line text-center" style="width: 25%">Day</th>
<th class="single line text-center" style="width: 25%">Hours</th>
</tr>
</thead>
<tbody>
......@@ -21,7 +21,7 @@
@foreach($role as $key => $value)
<tr>
<td>{{$key+1}}</td>
<td class="single line">{{$key+1}}</td>
<!-- <td data-label="role">{{data_get($value,'role')}}</td> -->
<td data-label="role">{{data_get($value,'role.role')}}</td>
......@@ -59,12 +59,12 @@
</tr>
@endforeach
<tr>
<td></td>
<td>Total</td>
<td>
<td class="single line"></td>
<td class="single line">Total</td>
<td class="single line">
<input type="text" onkeypress="onlynumber(event)" name="totaldays" id="totaldays" value="{{$tdays}}" readonly="readonly">
</td>
<td>
<td class="single line">
<input type="text" onkeypress="onlynumber(event)" name="totalhours" id="totalhours" value="{{$thours}}" readonly="readonly">
</td>
</tr>
......
......@@ -7,7 +7,7 @@
<a href="{{ route('timesheet::maintenance.penambahanOverhead')}} " class="ui right floated small primary labeled icon button"><i class="plus icon"></i>Add Overhead Lookup
</a>
<br>
<table class="ui celled padded table">
<table class="ui celled structured unstackable table">
<thead>
<tr>
<th style="width: 5%" class="center aligned">No</th>
......@@ -19,10 +19,10 @@
<tbody>
@foreach($overheads as $key => $overhead)
<tr>
<td class="center aligned">{{$key+1}} </td>
<td>{{$overhead['lkp_overhead']}} </td>
<td class="center aligned">{{$overhead['status']}} </td>
<td class="center aligned">
<td class="single line center aligned">{{$key+1}} </td>
<td class="single line">{{$overhead['lkp_overhead']}} </td>
<td class="single line center aligned">{{$overhead['status']}} </td>
<td class="single line center aligned">
<a href="{{ route('timesheet::maintenance.editoverhead', ['id'=>data_get($overhead, ['id'])])}}" class="ui center aligned small olive button"><i class="edit icon"></i>Edit
</a>
</td>
......
......@@ -10,19 +10,19 @@
<table class="ui celled padded unstackable table">
<thead>
<tr>
<th class="center aligned" style="width: 4%;">No</th>
<th>Role Description</th>
<th class="center aligned" style="width: 10%;">Status</th>
<th class="center aligned" style="width: 10%;">Action</th>
<th class="center aligned single line" style="width: 4%;">No</th>
<th class="single line">Role Description</th>
<th class="center aligned single line" style="width: 10%;">Status</th>
<th class="center aligned single line" style="width: 10%;">Action</th>
</tr>
</thead>
<tbody>
@foreach($roles as $key => $role)
<tr>
<td class="center aligned">{{$key+1}} </td>
<td>{{$role['role']}} </td>
<td class="center aligned">{{$role['status']}} </td>
<td class="center aligned">
<td class="center aligned single line">{{$key+1}} </td>
<td class="single line">{{$role['role']}} </td>
<td class="center aligned single line">{{$role['status']}} </td>
<td class="center aligned single line">
<button class="compact ui button" onclick="window.location.href='{{ route('timesheet::maintenance.editPeranan', ['id' => $role['id']]) }}';">Edit
</button>
</td>
......
......@@ -7,28 +7,28 @@
<a href="{{ route('timesheet::maintenance.penambahanProjectTeam', ['id' => $pid]) }} " class="ui right floated small primary labeled icon button"><i class="plus icon"></i>Add New Project Team
</a>
<br>
<table class="ui celled padded table">
<table class="ui celled structured unstackable table">
<thead>
<tr>
<th>No</th>
<th>Project Code</th>
<th>Project Name</th>
<th>Project Team</th>
<th>Role</th>
<th>Status</th>
<th>Action</th>
<th class="single line">Project Code</th>
<th class="single line">Project Name</th>
<th class="single line">Project Team</th>
<th class="single line">Role</th>
<th class="single line">Status</th>
<th class="single line">Action</th>
</tr>
</thead>
<tbody>
@foreach($projectlist as $key => $project)
<tr>
<td>{{$key+1}} </td>
<td>{{$project['projectcode']}} </td>
<td>{{$project['projectname']}} </td>
<td>{{$project['projectteam']}} </td>
<td>{{ data_get($project, 'role') }}</td>
<td>{{$project['status']}} </td>
<td>
<td class="single line">{{$key+1}} </td>
<td class="single line">{{$project['projectcode']}} </td>
<td class="single line">{{$project['projectname']}} </td>
<td class="single line">{{$project['projectteam']}} </td>
<td class="single line">{{ data_get($project, 'role') }}</td>
<td class="single line">{{$project['status']}} </td>
<td class="single line">
<button class="compact ui button" onclick="window.location.href='{{ route('timesheet::maintenance.editprojectteam', ['id' => $project['id']])}}';">Edit
</button>
</td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment