@php
if($ddl_project == 0){
@endphp
@php
$i=1;
foreach($project_pending as $ppending){
@endphp
No. |
Name |
Description |
Priority |
Target Date |
@php
$cnt = 1;
$taskassigned = DB::table('tm_project_member')->select('users.name', 'description', 'priority', 'target_dt')
->LEFTJOIN('users', 'tm_project_member.user_id', '=', 'users.id')
->LEFTJOIN('tm_project_member_task', 'tm_project_member.id', '=', 'tm_project_member_task.pro_mem_id')
->where('tm_project_member.project_id', '=', $ppending->project_id)
->orderBy('users.name','asc')->get();
$nm = "";
foreach($taskassigned as $assigns){
@endphp
@php
if($nm != $assigns->name){
echo "".$cnt." | ";
echo "".$assigns->name." | ";
$cnt++;
}else{
echo " | ";
echo " | ";
}
$nm = $assigns->name;
@endphp
{{ $assigns->description }} |
{{ $assigns->priority }} |
{{ date("d-m-Y",strtotime($assigns->target_dt)) }} |
@php
}
@endphp
@php
$i++;
}
@endphp
@php
}else{
@endphp
No. |
Name |
Description |
Priority |
Target Date |
@php
$nm = "";
$cnt = 1;
foreach($project_pending as $assigns){
@endphp
@php
if($nm != $assigns->name){
echo "".$cnt." | ";
echo "".$assigns->name." | ";
$cnt++;
}else{
echo " | ";
echo " | ";
}
$nm = $assigns->name;
@endphp
{{ $assigns->description }} |
{{ $assigns->priority }} |
{{ date("d-m-Y",strtotime($assigns->target_dt)) }} |
@php
}
@endphp
@php
}
@endphp