Principal id name
This commit is contained in:
@@ -451,7 +451,7 @@ class ClaimController extends Controller
|
|||||||
if($dataMember->principal_id)
|
if($dataMember->principal_id)
|
||||||
{
|
{
|
||||||
$dataNamaKaryawan = DB::table('members')
|
$dataNamaKaryawan = DB::table('members')
|
||||||
->where('members.member_id', '=', $dataMember->principal_id)
|
->where('members.principal_id', '=', $dataMember->principal_id)
|
||||||
->select('members.name')
|
->select('members.name')
|
||||||
->first();
|
->first();
|
||||||
$data['namaKaryawan'] = $dataNamaKaryawan->name;
|
$data['namaKaryawan'] = $dataNamaKaryawan->name;
|
||||||
@@ -492,7 +492,7 @@ class ClaimController extends Controller
|
|||||||
{
|
{
|
||||||
$no += $item->no;
|
$no += $item->no;
|
||||||
}
|
}
|
||||||
|
|
||||||
$total_billing = 0;
|
$total_billing = 0;
|
||||||
$lastIndex = count($dataClaimLog) - 1;
|
$lastIndex = count($dataClaimLog) - 1;
|
||||||
$firtIndex = 0;
|
$firtIndex = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user