Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/../config/./../database/../.git/../bootstrap/../resources/./views/customer/groups
الملفات الموجودة في هذا الـ Path:
.
..
create.blade.php
edit.blade.php
form.blade.php
index.blade.php

مشاهدة ملف: edit.blade.php

@extends('layouts.customer')

@section('title','Edit Group')

@section('extra-css')
    <link rel="stylesheet" href="{{asset('plugins/select2/css/select2.min.css')}}">
@endsection

@section('content')
    <!-- Main content -->
    <section class="content">
        <div class="row">
            <div class="col-12 mx-auto col-sm-10">
                <!-- Custom Tabs -->
                <div class="card mt-3">

                    <div class="card-header d-flex p-0">
                        <h2 class="card-title p-3"><a
                                href="{{route('customer.groups.index')}}">@lang('customer.groups')</a></h2>

                    </div><!-- /.card-header -->
                    <div class="card-body">
                        @if(count($groupContactIds)<200)
                            <div><h6 class="text-danger">@lang(('customer.group_edit_nb'))</h6></div>
                        @else
                            <div><h6 class="text-danger"> <span> Can not modify previous contacts. Less than 200 contacts are editable</span></h6></div>

                        @endif

                        <form method="post" role="form" id="groupForm"
                              action="{{route('customer.groups.update',[$group])}}">
                            @csrf
                            @method('put')
                            @include('customer.groups.form')

                            <button type="submit" class="btn btn-primary">@lang('customer.update')</button>
                        </form>
                        <!-- /.tab-content -->
                    </div><!-- /.card-body -->
                </div>
                <!-- ./card -->


            </div>
            <!-- /.card -->
        </div>
        <!-- /.row -->
    </section>
    <!-- /.content -->
@endsection

@section('extra-scripts')
    <script> const edit = '{{isset($group)?$group->id:''}}'; const countGroupContactIds = '{{count($groupContactIds)}}';
        const groupContactIds = @json($groupContactIds); </script>
    <script src="{{asset('js/customer/group.js')}}"> </script>

@endsection