audits; // Also get the child audits if (get_class($record) === 'App\Models\Product') { $record->plans->each(function ($plan) use (&$audits) { $audits = $audits->merge($plan->audits->map(function ($audit) use ($plan) { $audit->event = 'Plan ' . $plan->name . ' ' . $audit->event; return $audit; })); $plan->prices->each(function ($price) use (&$audits, $plan) { $audits = $audits->merge($price->audits->map(function ($audit) use ($price, $plan) { $audit->event = 'Price from Plan ' . $plan->name . ' ' . $audit->event; return $audit; })); }); }); } // sort $audits = $audits->sortByDesc('created_at'); ?>
'filament::components.grid.index','data' => ['class' => 'gap-4']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> withName('filament::grid'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> withAttributes(['class' => 'gap-4']); ?> addLoop($__currentLoopData); foreach($__currentLoopData as $audit): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
user->name); ?>
created_at->diffForHumans()); ?>
created_at->format('Y-m-d H:i:s')); ?>
event); ?> getModified()) === 0): ?> (No changes) getModified(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
changed from
to
popLoop(); $loop = $__env->getLastLoop(); ?>
popLoop(); $loop = $__env->getLastLoop(); ?> renderComponent(); ?>