@extends('admin.layouts.app') @section($title, $subtitle) @section('content')
Esto es lo que está sucediendo con su empresa la ultima semana...
Menu | Días | Cantidad | Total | |
---|---|---|---|---|
{{ $categories[$categoryId] }} |
||||
{{ $menu['menu_name'] }} |
{{ implode(', ', $menu['days']) }} |
{{ $menu['total_quantity'] }} |
{{ $menu['total_price'] }} USD |
@php
$grandTotalQuantity += $menu['total_quantity'];
$grandTotalPrice += $menu['total_price'];
@endphp
|
Total General: | {{ $grandTotalQuantity }} | {{ $grandTotalPrice }} USD |
{{$prospect->module}}{{ \Carbon\Carbon::parse($prospect->created_at)->format('j F Y') }} |
{{$prospect->module}}Nombre |
{{$prospect->email}}Correo |
{{$prospect->phone}}Celular |
{{$testimony->name}}{{ \Carbon\Carbon::parse($testimony->created_at)->format('j F Y') }} |
@php
$comment = $testimony->comment;
$length = strlen($comment);
$formattedComment = '';
for ($i = 0; $i < $length; $i += 50) {
if ($i / 50 >= 3) {
$formattedComment .= '...';
break;
}
$formattedComment .= substr($comment, $i, 50) . ' '; } // Remove the last if we didn't add "..." if ($i / 50 < 3) { $formattedComment = rtrim($formattedComment, ' '); } @endphp {!! $formattedComment !!} |