migrate to gtea from bistbucket

This commit is contained in:
2026-03-15 17:08:23 +07:00
commit 129ca2260c
3716 changed files with 566316 additions and 0 deletions

View File

@@ -0,0 +1,66 @@
<div class="responsive-table m-0">
<table class="table" id="erp-table">
<thead>
<tr>
<th>
<div class="d-flex align-items-center gap-1">
<label class="table-custom-checkbox">
<input type="checkbox" class="table-hidden-checkbox selectAllCheckbox">
<span class="table-custom-checkmark custom-checkmark"></span>
</label>
<i class="fal fa-trash-alt delete-selected"></i>
</div>
</th>
<th>{{ __('SL') }}.</th>
<th>{{ __('Name') }}</th>
<th>{{ __('Phone') }}</th>
<th>{{ __('Email') }}</th>
<th>{{ __('Company Name') }}</th>
<th>{{ __('Message') }}</th>
<th>{{ __('Action') }}</th>
</tr>
</thead>
<tbody>
@foreach ($messages as $message)
<tr>
<td class="w-60 checkbox text-start">
<label class="table-custom-checkbox">
<input type="checkbox" name="ids[]" class="table-hidden-checkbox checkbox-item"
value="{{ $message->id }}" data-url="{{ route('admin.messages.delete-all') }}">
<span class="table-custom-checkmark custom-checkmark"></span>
</label>
</td>
<td>{{ ($messages->currentPage() - 1) * $messages->perPage() + $loop->iteration }}</td>
<td>{{ $message->name }}</td>
<td>{{ $message->phone }}</td>
<td>{{ $message->email }}</td>
<td>{{ $message->company_name }}</td>
<td>{{ $message->message }}</td>
<td>
<div class="dropdown table-action">
<button type="button" data-bs-toggle="dropdown">
<i class="far fa-ellipsis-v"></i>
</button>
<ul class="dropdown-menu">
@can('messages-delete')
<li>
<a href="{{ route('admin.messages.destroy', $message->id) }}"
class="confirm-action" data-method="DELETE">
<i class="fal fa-trash-alt"></i>
{{ __('Delete') }}
</a>
</li>
@endcan
</ul>
</div>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
<div class="mt-3">
{{ $messages->links('vendor.pagination.bootstrap-5') }}
</div>

View File

@@ -0,0 +1,55 @@
@extends('layouts.master')
@section('title')
{{ __('Messages') }}
@endsection
@section('main_content')
<div class="erp-table-section">
<div class="container-fluid">
<div class="card shadow-sm">
<div class="card-bodys">
<div class="table-header p-16">
<h4>{{ __('Messages List') }}</h4>
</div>
<div class="table-top-form p-16-0">
<form action="{{ route('admin.messages.index') }}" method="GET" class="filter-form" table="#messages-data">
<div class="table-top-left d-flex gap-3 margin-l-16">
<div class="gpt-up-down-arrow position-relative">
<select name="per_page" class="form-control">
<option @selected(request('per_page') == 20) value="20">{{ __('Show 20') }}</option>
<option @selected(request('per_page') == 50) value="50">{{ __('Show 50') }}</option>
<option @selected(request('per_page') == 100) value="100">{{ __('Show 100') }}</option>
<option @selected(request('per_page') == 500) value="500">{{ __('Show 500') }}</option>
</select>
<span></span>
</div>
<div class="table-search position-relative">
<input class="form-control" type="text" name="search" placeholder="{{ __('Search...') }}" value="{{ request('search') }}">
<span class="position-absolute">
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M14.582 14.582L18.332 18.332" stroke="#4D4D4D" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M16.668 9.16797C16.668 5.02584 13.3101 1.66797 9.16797 1.66797C5.02584 1.66797 1.66797 5.02584 1.66797 9.16797C1.66797 13.3101 5.02584 16.668 9.16797 16.668C13.3101 16.668 16.668 13.3101 16.668 9.16797Z" stroke="#4D4D4D" stroke-width="1.25" stroke-linejoin="round"/>
</svg>
</span>
</div>
</div>
</form>
</div>
</div>
<div id="messages-data">
@include('admin.messages.datas')
</div>
</div>
</div>
</div>
</div>
@endsection
@push('modal')
@include('admin.components.multi-delete-modal')
@endpush