@extends('layouts.app') @section('title') {{ __('Chỉnh sửa nhóm telegram') }} @endsection @section('admin') active @endsection @section('section.header') {{ __('Chỉnh sửa nhóm telegram') }} {{ __('Danh sách nhóm telegram') }} {{ __('Chỉnh sửa') }} @endsection @section('section.content') @if (Session::has('success')) {{ Session::get('success') }} @endif @if (Session::has('error')) {{ Session::get('error') }} @endif @csrf @method('PUT') {{-- col-12 mobile, col-8 desktop --}} {{-- Tên nhóm --}} {{ __('Tên nhóm') }} @error('group_name') * {{ $message }} @enderror {{-- Chat ID --}} {{ __('Chat ID') }} @error('chat_id') * {{ $message }} @enderror {{-- Username --}} {{ __('Đối tác (username)') }} --Chọn đối tác-- @php $selectedUsername = old('username', $group->username ?? ''); @endphp @foreach (\App\Models\User\User::getPartners() as $partner) username ? 'selected' : '' }}> {{ $partner->username }} @endforeach @error('username') * {{ $message }} @enderror {{-- Loại --}} {{ __('Loại') }} @php $selectedType = old('type', $group->type ?? ''); @endphp --Chọn loại nhóm-- Tất cả PAYIN PAYOUT IN&OUT @error('type') * {{ $message }} @enderror {{-- Trạng thái --}} {{ __('Trạng thái') }} Bật để nhóm hoạt động và gửi thông báo @php $isOn = old('status', (int)($group->status ?? 0)) == 1; @endphp {{-- Submit --}} {{ __('Cập nhật') }} {{ __('Huỷ') }} @endsection @section('scripts') @endsection @section('styles') @endsection