@extends('layouts.front') @section('content') @section('css') @endsection @if (Auth::guard('customer')->check()) @php $customer = Auth::guard('customer')->user(); @endphp @endif @php $home = \App\HomePage::findorFail(1); @endphp
Your points: {{isset($lpc->total_points)?$lpc->total_points:0}}