@extends('layout.padrao') @section('content') @section('title', 'Sistema de Chamados - Controle') @php // se existirem cards na lista de release: if ($totalRelease > 0){ $newRelease = true; } else { $newRelease = false; } // dd($newRelease) @endphp
CSA
@if ($newRelease == true)
@include('cards.tables.index', ['title' => 'Waiting for Release', 'idTable' => 'tableReleaseCards', 'urlTable' => '/cards/release/Json'])
@include('cards.tables.index', ['title' => 'Opened', 'idTable' => 'tableOpenCards', 'urlTable' => '/cards/Json'])
@else
@include('cards.tables.index', ['title' => 'Opened', 'idTable' => 'tableOpenCards', 'urlTable' => '/cards/Json'])
@endif
@include('cards.tables.index', ['title' => 'Closed', 'idTable' => 'tableClosedCards', 'urlTable' => '/cards/closed/Json'])
@include('cards.tables.index', ['title' => 'Cancelled', 'idTable' => 'tableCancelledCards', 'urlTable' => '/cards/cancelled/Json'])
@include('livewire.notification.notification-ajax')
@include('cards.script') {{-- Atualizando versão das tables de 1.18.1 para 1.21.2 --}} @include('cards.style') @endsection