@php use Carbon\Carbon; $user = auth()->user()->expiration_date; $date = Carbon::parse($user); $warn = 0; $now1 = Carbon::now(); $diff = $date->diffInDays($now1); if($diff == 7){ $warn=1; } @endphp @extends('layouts/contentLayoutMaster') @section('title', 'Dashboard Ecommerce') @section('vendor-style') {{-- vendor css files --}} @endsection @section('page-style') {{-- Page css files --}} @endsection @section('content')
Árbol uninivel {{-- Usando Componente Vue --}} {{-- --}} @if($warn == 1) @endif
@endsection @section('vendor-script') {{-- vendor files --}} @endsection @section('page-script') {{-- Page js files --}} @endsection