Reg40 Records
@if($role == 'admin')
Add New
@elseif(((isset($perm['resident'][$resident['id']]) && ($perm['resident'][$resident['id']]==1)) ||
((isset($resident['home_id']) && (isset($perm['resident']['bulk_'.$resident['home_id']])) &&
($perm['resident']['bulk_'.$resident['home_id']]==1)) && ((isset($perm['resident'][$resident['id']]) &&
($perm['resident'][$resident['id']] == 1)) || !isset($perm['resident'][$resident['id']] ))) ||
(
(
(isset($perm['resident']['bulk']))
&&
($perm['resident']['bulk'] == 1)
)
&& ((isset($perm['resident'][$resident['id']]) &&
($perm['resident'][$resident['id']] == 1)) || !isset($perm['resident'][$resident['id']] )) )) &&
$role!='visitor')
Add New
@endif
| Sno | Document | Date | Description | Action |
|---|---|---|---|---|
| {{$i++}} | @if(!empty($reg['document'])) View @else - @endif | @if(isset($reg['date'])) {{date(config('choicescrm.date_format_forms'), strtotime($reg['date']))}} @endif | @if(isset($reg['descriptions'])) {{$reg['descriptions']}} @endif |
@if($role == 'admin')
@elseif(((isset($perm['resident'][$resident['id']]) &&
($perm['resident'][$resident['id']]==1)) || ((isset($resident['home_id']) &&
(isset($perm['resident']['bulk_'.$resident['home_id']])) &&
($perm['resident']['bulk_'.$resident['home_id']]==1)) &&
((isset($perm['resident'][$resident['id']]) && ($perm['resident'][$resident['id']] ==
1)) || !isset($perm['resident'][$resident['id']] ))) || (($perm['resident']['bulk']==1)
&& ((isset($perm['resident'][$resident['id']]) && ($perm['resident'][$resident['id']] ==
1)) || !isset($perm['resident'][$resident['id']] )) )) && $role!='visitor')
@endif
|
| No record found |