@php use App\Models\Profile; $user_name=null; $action_save = isset($action_save)?$action_save:null; @endphp @include('system-layouts/layout-head') @include('mod-partner/title')

Lista

Lista todos os registro
@foreach($record as $row ) @php if($row->idPartnerType ==1) { $parther_type = 'Comissão'; }else{ $parther_type = 'Parceiro de Negocio'; } @endphp @if($row->idUserAttr >= 1) @php $profile_select = Profile::user($row->idUserAttr); $user_name = isset($profile_select->userName)?$profile_select->userName:null; @endphp @endif @endforeach
Detalhes
Nome: {{ $row->xName }} - N: {{ $row->idPartner }}
Tipo: {{$parther_type}}
@if($row->idUserAttr >= 1) Atribuido: {{ $user_name }}
@endif @if($row->cnpjCpf >= 1) CNJP/CPF: {{ $row->cnpjCpf }}
@endif Descrição:
Warning: Undefined variable $row in /home/admgocrm/public_html/crm/dev/crmviews/mod-partner/index.blade.php on line 64

Warning: Attempt to read property "description" on null in /home/admgocrm/public_html/crm/dev/crmviews/mod-partner/index.blade.php on line 64
@include('system-layouts/layout-footer') @if($action_save !== null) @endif