freescout-customers-groups/Resources/views/groups/list.blade.php
Antoine Le Gonidec 7e749d7cf4
Add the ability to list existing Customers Groups
The ability to add new groups and update existing ones has not been implemented yet.
2024-07-16 17:16:41 +02:00

34 lines
861 B
PHP

<?php
/*
SPDX-License-Identifier: AGPL-3.0-only
SPDX-FileCopyrightText: © 2024 Millions Missing FRANCE <info@millionsmissing.fr>
*/
?>
@extends('layouts.app')
@section('title', __('Manage Customers Groups'))
@section('content')
<div class="container">
<div class="flexy-container">
<div class="flexy-item">
<span class="heading">{{ __('Customers Groups') }}</span>
</div>
<div class="flexy-item margin-left">
<a href="{{ route('groups.create') }}" class="btn btn-bordered">{{ __('New Customers Group') }}</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