freescout-customers-groups/Resources/views/groups/list.blade.php

34 lines
925 B
PHP

<?php
/*
SPDX-License-Identifier: AGPL-3.0-only
SPDX-FileCopyrightText: © 2024 Millions Missing FRANCE <info@millionsmissing.fr>
*/
?>
@extends('layouts.app')
@section('title', __('mmfcustomersgroups::customers-groups.name'))
@section('content')
<div class="container">
<div class="flexy-container">
<div class="flexy-item">
<span class="heading">{{ __('mmfcustomersgroups::customers-groups.name') }}</span>
</div>
<div class="flexy-item margin-left">
<a href="{{ route('groups.create') }}" class="btn btn-bordered">{{ __('mmfcustomersgroups::customers-groups.new') }}</a>
</div>
<div class="flexy-block"></div>
</div>
<div class="card-list margin-top">
@foreach ($groups as $group)
<a
href="{{ route('groups.update', [ 'id' => $group->id ] ) }}"
class="card no-img hover-shade"
>
<h4>{{ $group->name }}</h4>
</a>
@endforeach
</div>
</div>
@endsection