Commit 8c96bda3 by hannan

disabled button chargeable, add new permission & role, PM.

parent 8f64b8d5
...@@ -22,5 +22,6 @@ final class Permission extends Enum ...@@ -22,5 +22,6 @@ final class Permission extends Enum
const borang = 'borang'; const borang = 'borang';
const tsviewer = 'tsviewer'; const tsviewer = 'tsviewer';
const laporan = 'laporan'; const laporan = 'laporan';
const projek = 'projek';
} }
...@@ -76,7 +76,7 @@ input[type=number] { ...@@ -76,7 +76,7 @@ input[type=number] {
<th colspan="@if($phase == 1) 15 @else {{$daymonth-15}} @endif" class="center aligned">Date</th> <th colspan="@if($phase == 1) 15 @else {{$daymonth-15}} @endif" class="center aligned">Date</th>
<th rowspan="2"> <th rowspan="2">
@if($projectlist == []) @if($projectlist == [])
<button type="submit" class="fluid center aligned ui blue compact labeled icon button"> <button type="submit" class="ui disabled fluid center aligned ui blue compact labeled icon button">
<i class="save icon"></i> <i class="save icon"></i>
Save Save
</button> </button>
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<td style="width: 35%"></td> <td style="width: 35%"></td>
<td style="width: 5%" class="center aligned">C</td> <td style="width: 5%" class="center aligned">C</td>
<td style="width: 15%" class="center aligned">{{data_get($chargeable,'pcode')}}</td> <td style="width: 15%" class="center aligned">{{data_get($chargeable,'pcode')}}</td>
<td style="width: 25%" class="center aligned">{{data_get($chargeable,'pname')}}</td> <td style="width: 25%">{{data_get($chargeable,'pname')}}</td>
<td style="width: 10%" class="center aligned">{{data_get($chargeable,'hours')}}</td> <td style="width: 10%" class="center aligned">{{data_get($chargeable,'hours')}}</td>
<td style="width: 10%" class="center aligned">{{number_format(data_get($chargeable,'hours')/8, '1', '.', '')}}</td> <td style="width: 10%" class="center aligned">{{number_format(data_get($chargeable,'hours')/8, '1', '.', '')}}</td>
</tr> </tr>
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
<td style="width: 35%"></td> <td style="width: 35%"></td>
<td style="width: 5%" class="center aligned">NC</td> <td style="width: 5%" class="center aligned">NC</td>
<td style="width: 15%" class="center aligned">{{data_get($nonchargeable,'pcode')}}</td> <td style="width: 15%" class="center aligned">{{data_get($nonchargeable,'pcode')}}</td>
<td style="width: 25%" class="center aligned">{{data_get($nonchargeable,'pname')}}</td> <td style="width: 25%">{{data_get($nonchargeable,'pname')}}</td>
<td style="width: 10%" class="center aligned">{{data_get($nonchargeable,'hours')}}</td> <td style="width: 10%" class="center aligned">{{data_get($nonchargeable,'hours')}}</td>
<td style="width: 10%" class="center aligned">{{number_format(data_get($nonchargeable,'hours')/8, '1', '.', '')}}</td> <td style="width: 10%" class="center aligned">{{number_format(data_get($nonchargeable,'hours')/8, '1', '.', '')}}</td>
</tr> </tr>
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
<td style="width: 35%"></td> <td style="width: 35%"></td>
<td style="width: 5%" class="center aligned">NC</td> <td style="width: 5%" class="center aligned">NC</td>
<td style="width: 15%" class="center aligned"></td> <td style="width: 15%" class="center aligned"></td>
<td style="width: 25%" class="center aligned">{{data_get($value,'pname')}}</td> <td style="width: 25%">{{data_get($value,'pname')}}</td>
<td style="width: 10%" class="center aligned">{{data_get($value,'hours')}}</td> <td style="width: 10%" class="center aligned">{{data_get($value,'hours')}}</td>
<td style="width: 10%" class="center aligned">{{number_format(data_get($value,'hours')/8, '1', '.', '')}}</td> <td style="width: 10%" class="center aligned">{{number_format(data_get($value,'hours')/8, '1', '.', '')}}</td>
</tr> </tr>
......
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