Commit 2041f242 by Azhan Hannan

bugs null, log pia 85-89

parent f7c2e508
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
@foreach($chargeable as $key => $tpcharge) @foreach($chargeable as $key => $tpcharge)
<tr> <tr>
<td style="width: 7%;" class="text-center">{{data_get($tpcharge,'project.p_project_code')}}</td> <td style="width: 7%;" class="text-center">{{data_get($tpcharge,'project.p_project_code')}}</td>
<td style="width: 13;">{{data_get($tpcharge,'project.p_project_description')}}</td> <td style="width: 13;">{{data_get($tpcharge,'tp_project_name')}}</td>
<td style="width: 15;">{{data_get($tpcharge,'project.projectManager.fullname')}}</td> <td style="width: 15;">{{data_get($tpcharge,'project.projectManager.fullname')}}</td>
<!-- <td style="width: 5%;" class="center aligned">{{data_get($tpcharge,'tp_hours')}}</td> <!-- <td style="width: 5%;" class="center aligned">{{data_get($tpcharge,'tp_hours')}}</td>
<td style="width: 5%;" class="center aligned">{{data_get($tpcharge,'tp_hours')/8}}</td> --> <td style="width: 5%;" class="center aligned">{{data_get($tpcharge,'tp_hours')/8}}</td> -->
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
</thead> </thead>
<tbody> <tbody>
@foreach($projectlist as $key => $project) @foreach($projectlist as $key => $project)
<?php $total = 0; ?> <?php $total = 0; ?>
<tr> <tr>
<td class="single line"> <td class="single line">
{{ $project['td_project_code']}} {{ $project['td_project_code']}}
......
...@@ -2042,8 +2042,8 @@ class FormController extends Controller ...@@ -2042,8 +2042,8 @@ class FormController extends Controller
$projectlist[] = [ $projectlist[] = [
'td_project' => $profile->td_project, 'td_project' => $profile->td_project,
'td_project_code' => $profile->project->p_project_code, 'td_project_code' => data_get($profile,'project.p_project_code'),
'td_project_name' => $profile->project->p_project_description, 'td_project_name' => data_get($profile,'project.p_project_description'),
]; ];
......
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