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,55 @@
<div class="responsive-table m-0">
<table class="table" id="erp-table">
<thead>
<tr>
<th>{{ __('SL') }}.</th>
<th>{{ __('Name') }}</th>
<th>{{ __('Country Name') }}</th>
<th>{{ __('Code') }}</th>
<th>{{ __('Symbol') }}</th>
<th>{{ __('Default') }}</th>
<th class="d-print-none">{{ __('Action') }}</th>
</tr>
</thead>
<tbody>
@foreach ($currencies as $currency)
<tr>
<td>{{ ($currencies->currentPage() - 1) * $currencies->perPage() + $loop->iteration }}</td>
<td>{{ $currency->name }}</td>
<td>{{ $currency->country_name }}</td>
<td>{{ $currency->code }}</td>
<td>{{ $currency->symbol }}</td>
<td>
<div class="d-flex align-items-center justify-content-center">
<div
class="{{ ($user_currency && $currency->name == $user_currency->name) || (!$user_currency && $currency->is_default == 1) ? 'yes-badge' : 'no-badge' }}">
{{ ($user_currency && $currency->name == $user_currency->name) || (!$user_currency && $currency->is_default == 1) ? 'Yes' : 'No' }}
</div>
</div>
</td>
<td class="d-print-none">
<div class="dropdown table-action">
<button type="button" data-bs-toggle="dropdown">
<i class="far fa-ellipsis-v"></i>
</button>
@if (!$user_currency || $user_currency->name != $currency->name)
<ul class="dropdown-menu">
<li>
<a href="{{ route('business.currencies.default', ['id' => $currency->id]) }}">
<i class="fas fa-adjust"></i>
{{ __('Make Default') }}
</a>
</li>
</ul>
@endif
</div>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
<div>
{{ $currencies->links('vendor.pagination.bootstrap-5') }}
</div>

View File

@@ -0,0 +1,48 @@
@extends('layouts.business.master')
@section('title')
{{ __('Currency') }}
@endsection
@section('main_content')
<div class="erp-table-section">
<div class="container-fluid">
<div class="card">
<div class="card-bodys ">
<div class="table-top-form p-16-0">
<form action="{{ route('business.currencies.index') }}" method="GET" class="filter-form" table="#currencies-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 searchInput" 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="currencies-data">
@include('business::currencies.datas')
</div>
</div>
</div>
</div>
@endsection