fixed template list bug

master
A1Gard 2 weeks ago
parent 0de66aa3c5
commit 6c45d9a8e7

@ -36,6 +36,7 @@
"Add new discount": "افزودن یک تخفیف", "Add new discount": "افزودن یک تخفیف",
"Add new gallery": "افزودن یک گالری", "Add new gallery": "افزودن یک گالری",
"Add new group": "افزودن یک سرفصل", "Add new group": "افزودن یک سرفصل",
"Add new invoice": "",
"Add new language": "افزودن یک زبان جدید", "Add new language": "افزودن یک زبان جدید",
"Add new menu": "افزودن فهرست جدید", "Add new menu": "افزودن فهرست جدید",
"Add new post": "افزودن یک نوشته", "Add new post": "افزودن یک نوشته",
@ -81,8 +82,8 @@
"As you wished sort saved": "همانطور که شما مایل بودید مرتب شدند", "As you wished sort saved": "همانطور که شما مایل بودید مرتب شدند",
"As you wished updated successfully": "همانطور که شما مایل بودید به روز شد", "As you wished updated successfully": "همانطور که شما مایل بودید به روز شد",
"Attaching": "پیوست کردن", "Attaching": "پیوست کردن",
"Attachments": "پیوست‌ها",
"Attachment": "پیوست", "Attachment": "پیوست",
"Attachments": "پیوست‌ها",
"Attachments list": "فهرست پیوست ها", "Attachments list": "فهرست پیوست ها",
"Auth code": "کد احراز هویت", "Auth code": "کد احراز هویت",
"Auth code is invalid": "کد احراز هویت اشتباه اسات", "Auth code is invalid": "کد احراز هویت اشتباه اسات",
@ -113,8 +114,8 @@
"Cities list": "فهرست شهرها", "Cities list": "فهرست شهرها",
"City": "شهر", "City": "شهر",
"Click here to upload or drag and drop here": "برای بارگزاری اینجا کلیک کنید یا موارد را کشیده و اینجا رها کنید", "Click here to upload or drag and drop here": "برای بارگزاری اینجا کلیک کنید یا موارد را کشیده و اینجا رها کنید",
"Clips list": "فهرست کلیپ‌ها",
"Clip": "کلیپ‌ها", "Clip": "کلیپ‌ها",
"Clips list": "فهرست کلیپ‌ها",
"Close": "بستن", "Close": "بستن",
"Code": "کد", "Code": "کد",
"Colleague": "همکار", "Colleague": "همکار",
@ -138,6 +139,7 @@
"Credit history": "تاریخچه اعتبار", "Credit history": "تاریخچه اعتبار",
"Credits": "اعتبارات", "Credits": "اعتبارات",
"Customer": "مشتری", "Customer": "مشتری",
"Customer mobile": "",
"Customers": "مشتری‌ها", "Customers": "مشتری‌ها",
"Customers list": "فهرست مشتری‌ها", "Customers list": "فهرست مشتری‌ها",
"Dashboard": "پیشخوان", "Dashboard": "پیشخوان",
@ -177,6 +179,7 @@
"Edit discount": "ویرایش تخفیف", "Edit discount": "ویرایش تخفیف",
"Edit gallery": "ویرایش گالری", "Edit gallery": "ویرایش گالری",
"Edit group": "ویرایش سرفصل", "Edit group": "ویرایش سرفصل",
"Edit invoice": "",
"Edit language": "ویرایش زبان", "Edit language": "ویرایش زبان",
"Edit menu": "ویرایش فهرست", "Edit menu": "ویرایش فهرست",
"Edit post": "ویرایش نوشته", "Edit post": "ویرایش نوشته",
@ -197,6 +200,7 @@
"Expire date": "تاریخ انقضا", "Expire date": "تاریخ انقضا",
"Expire date": "تاریخ انقضا", "Expire date": "تاریخ انقضا",
"Extra description": "توضیحات اضافه", "Extra description": "توضیحات اضافه",
"Failed Invoices": "",
"False": "خیر", "False": "خیر",
"Favorites": "علاقه‌مندی‌ها", "Favorites": "علاقه‌مندی‌ها",
"Feature image": "تصویر شاخص", "Feature image": "تصویر شاخص",
@ -208,14 +212,15 @@
"Find more": "موارد بیشتر", "Find more": "موارد بیشتر",
"Flag": "پرچم", "Flag": "پرچم",
"Floats": "شناورها", "Floats": "شناورها",
"Follow us": "",
"Forgot Your Password?": "آیا گذرواژه خود را فراموش کردید", "Forgot Your Password?": "آیا گذرواژه خود را فراموش کردید",
"From - To": "از - تا", "From - To": "از - تا",
"GFX": "طراحی", "GFX": "طراحی",
"GFX of website updated": "گرافیک سایت به روز شد", "GFX of website updated": "گرافیک سایت به روز شد",
"Gfxes": "طراحی‌ها",
"Galleries": "گالری‌ها", "Galleries": "گالری‌ها",
"Gallery": "گالری",
"Galleries list": "فهرست گالری‌ها", "Galleries list": "فهرست گالری‌ها",
"Gallery": "گالری",
"Gfxes": "طراحی‌ها",
"Graphic": "گرافیک", "Graphic": "گرافیک",
"Group": "سرفصل", "Group": "سرفصل",
"Group Parent": "والد سرفصل", "Group Parent": "والد سرفصل",
@ -225,10 +230,14 @@
"Groups list": "فهرست سرفصل‌ها", "Groups list": "فهرست سرفصل‌ها",
"Guest": "میهمان", "Guest": "میهمان",
"Home": "خانه", "Home": "خانه",
"ID": "",
"Icon": "نماد", "Icon": "نماد",
"If not choose expire expire time will be unlimited": "اگر زمان انقصا را انتخاب نکنید، هرگز منقضی نخواهد شد", "If not choose expire expire time will be unlimited": "اگر زمان انقصا را انتخاب نکنید، هرگز منقضی نخواهد شد",
"If you cancel this, You must increase credit yourself.": "",
"If you change transport method you must think about think about the price diffrance": "",
"If you did not receive the email": "اگر ایمیلی دریافت نکردید", "If you did not receive the email": "اگر ایمیلی دریافت نکردید",
"If you forget your password call us": "اگر گذرواژه خود را فراموش کردید با ما تماس بگیرید", "If you forget your password call us": "اگر گذرواژه خود را فراموش کردید با ما تماس بگیرید",
"If you removed order from invoice, system adding amount to customer's credit automatically": "",
"If you want to change the password, choose both the same. Otherwise, leave the password field blank.": "اگر می‌خواهید گذرواژه را عوض کنید هر دو را یکسان پر کنید، در غیر این صورت آن را خالی رها کنید", "If you want to change the password, choose both the same. Otherwise, leave the password field blank.": "اگر می‌خواهید گذرواژه را عوض کنید هر دو را یکسان پر کنید، در غیر این صورت آن را خالی رها کنید",
"If you want to only attach to other staff members and do not want to appear in the website attachment list, uncheck `fillable`": "اگر می‌خواهید این پوست در فهرست پیوست‌های وبسایت نمایش داده نشود مورد مورد `قابل نمایش` را غیرفعال کنید", "If you want to only attach to other staff members and do not want to appear in the website attachment list, uncheck `fillable`": "اگر می‌خواهید این پوست در فهرست پیوست‌های وبسایت نمایش داده نشود مورد مورد `قابل نمایش` را غیرفعال کنید",
"Image": "تصویر", "Image": "تصویر",
@ -236,6 +245,7 @@
"Image uploaded successfully": "تصویر افزوده شد", "Image uploaded successfully": "تصویر افزوده شد",
"Images": "تصاویر", "Images": "تصاویر",
"Increase \/ decrease by Admin": "افزودن \/ کاهش توسط مدیر سایت", "Increase \/ decrease by Admin": "افزودن \/ کاهش توسط مدیر سایت",
"Increase by Admin removed:": "",
"Index": "صفحه نخست", "Index": "صفحه نخست",
"Index image": "تصویر شاخص", "Index image": "تصویر شاخص",
"Information": "اطلاعات", "Information": "اطلاعات",
@ -244,8 +254,10 @@
"Invalid json file!": "فایل جی‌سان معتبر نیست", "Invalid json file!": "فایل جی‌سان معتبر نیست",
"Invalid morph": "چند ریخیتی نا معتبر", "Invalid morph": "چند ریخیتی نا معتبر",
"Invoice": "صورت حساب", "Invoice": "صورت حساب",
"Invoice ID:": "",
"Invoice payed.": "صورت‌حساب پرداخت شد", "Invoice payed.": "صورت‌حساب پرداخت شد",
"Invoices": "صورت‌حساب‌ها", "Invoices": "صورت‌حساب‌ها",
"Invoices list": "",
"Is default": "آی پیش‌فرض است", "Is default": "آی پیش‌فرض است",
"Is effective price?": "آیا در قیمت تاثیر دارد؟", "Is effective price?": "آیا در قیمت تاثیر دارد؟",
"Is fillable": "قابل نمایش", "Is fillable": "قابل نمایش",
@ -287,6 +299,7 @@
"Next": "بعدی", "Next": "بعدی",
"No parent": "بدون والد", "No parent": "بدون والد",
"Not required": "غیر ضرروری", "Not required": "غیر ضرروری",
"Order removed successfully": "",
"Orders": "سفارشاات", "Orders": "سفارشاات",
"Orders count": "تعداد سفارش", "Orders count": "تعداد سفارش",
"Password": "گذرواژه", "Password": "گذرواژه",
@ -310,6 +323,7 @@
"Preview": "پیش‌نمایش", "Preview": "پیش‌نمایش",
"Previous": "قبلی", "Previous": "قبلی",
"Price": "مبلغ", "Price": "مبلغ",
"Print": "",
"Product": "محصول", "Product": "محصول",
"Product added to compare": "محصول به فهرست مقایسه افزوده شد", "Product added to compare": "محصول به فهرست مقایسه افزوده شد",
"Product added to favorites": "محصول به علاقه‌مندی شما افزوده شد", "Product added to favorites": "محصول به علاقه‌مندی شما افزوده شد",
@ -342,6 +356,7 @@
"Related products": "محصولات مشابه", "Related products": "محصولات مشابه",
"Remember Me": "مرا به خاطر بسپار", "Remember Me": "مرا به خاطر بسپار",
"Remove": "حذف", "Remove": "حذف",
"Removed": "مورد حذف شده",
"Reply": "پاسخ", "Reply": "پاسخ",
"Reply comment": "پاسخ دیدگاه", "Reply comment": "پاسخ دیدگاه",
"Reply message...": "پاسخ پیام...", "Reply message...": "پاسخ پیام...",
@ -373,9 +388,11 @@
"Setting": "تنظیمات", "Setting": "تنظیمات",
"Setting added to website": "تنظیم به سایت اضافه شد", "Setting added to website": "تنظیم به سایت اضافه شد",
"Setting of website updated": "تنظیمات به روز شدند", "Setting of website updated": "تنظیمات به روز شدند",
"Settings": "تنظیمات",
"Shopping card": "سبد خرید", "Shopping card": "سبد خرید",
"Show": "نمایش", "Show": "نمایش",
"Show list": "نمایش فهرست", "Show list": "نمایش فهرست",
"Sign in as customer": "",
"Sign-in": "ورود", "Sign-in": "ورود",
"Sign-out": "خروج", "Sign-out": "خروج",
"Signed in successfully": "با موفقیت وارد شدید", "Signed in successfully": "با موفقیت وارد شدید",
@ -396,6 +413,7 @@
"Subject": "عنوان", "Subject": "عنوان",
"Submit new ticket": "ارسال یک تیکت جدید", "Submit new ticket": "ارسال یک تیکت جدید",
"Subtitle": "زیرعنوان", "Subtitle": "زیرعنوان",
"Successfully Invoices": "",
"Summary": "خلاصه", "Summary": "خلاصه",
"System notification": "پیام سیستم", "System notification": "پیام سیستم",
"Tag": "برچسب", "Tag": "برچسب",
@ -408,6 +426,7 @@
"There is nothing added to card!": "چیزی در سبد خرید وجود ندارد", "There is nothing added to card!": "چیزی در سبد خرید وجود ندارد",
"There is nothing to show!": "اینجا چیزی برای نمایش وجود ندارد", "There is nothing to show!": "اینجا چیزی برای نمایش وجود ندارد",
"There is noting file to show!": "هیچ پرونده ای برای نمایش وجود ندارد", "There is noting file to show!": "هیچ پرونده ای برای نمایش وجود ندارد",
"This payment method is not available.": "",
"Ticket added successfully": "تیکت با موفقیت اضافه شد", "Ticket added successfully": "تیکت با موفقیت اضافه شد",
"Ticket answered successfully": "تیکت پاسخ داده شد", "Ticket answered successfully": "تیکت پاسخ داده شد",
"Tickets": "تیکت‌های پشتیبانی", "Tickets": "تیکت‌های پشتیبانی",
@ -420,6 +439,7 @@
"Toggle selection": "برعکس کردن انتخاب", "Toggle selection": "برعکس کردن انتخاب",
"Total": "همه", "Total": "همه",
"Total price": "مبلغ کل", "Total price": "مبلغ کل",
"Tracking code": "",
"Translate": "ترجمه", "Translate": "ترجمه",
"Translate model": "ترجمه ماژول", "Translate model": "ترجمه ماژول",
"Translate updated": "ترجمه افزوده شد", "Translate updated": "ترجمه افزوده شد",
@ -469,6 +489,7 @@
"You need at least one address to order, Please add address": "شما برای ادامه فرآیند خرید به حداقل یک نشانی نیاز دارید", "You need at least one address to order, Please add address": "شما برای ادامه فرآیند خرید به حداقل یک نشانی نیاز دارید",
"You need complete your information": "شما می‌بایستی اطلاعات خود را تکمیل کنید", "You need complete your information": "شما می‌بایستی اطلاعات خود را تکمیل کنید",
"You need to login first": "شما برای ادامه می‌بایستی وارد شوید", "You need to login first": "شما برای ادامه می‌بایستی وارد شوید",
"You need to login to access this page": "",
"You need to sign in\/up to continue": "شما برای ادامه نیاز است وارد شوید یا ثبت‌نام کنید", "You need to sign in\/up to continue": "شما برای ادامه نیاز است وارد شوید یا ثبت‌نام کنید",
"You try attempts, Try it a few minutes": "تلاش شما از حداکثر درخواستی بیشتر است", "You try attempts, Try it a few minutes": "تلاش شما از حداکثر درخواستی بیشتر است",
"You try more than :COUNT attempts, Try it later": "شما بیش از :COUNT تلاش کردید لطفاً بعداً تلاش کنید", "You try more than :COUNT attempts, Try it later": "شما بیش از :COUNT تلاش کردید لطفاً بعداً تلاش کنید",
@ -489,8 +510,9 @@
"area :NAME of website updated": "محیط :NAME وبسایت به روز شد", "area :NAME of website updated": "محیط :NAME وبسایت به روز شد",
"article": "مقاله", "article": "مقاله",
"click here to request another": "برای ایجاد درخواست دیگر اینجا کلیک کنید", "click here to request another": "برای ایجاد درخواست دیگر اینجا کلیک کنید",
"emoji": "ایموجی", "customer_id": "مشتری",
"email": "رایانامه", "email": "رایانامه",
"emoji": "ایموجی",
"error in payment.": "خطا در پرداخت", "error in payment.": "خطا در پرداخت",
"error in payment. contact admin.": "خطا در پرداخت با مدیر وبسایت تماس بگیرید", "error in payment. contact admin.": "خطا در پرداخت با مدیر وبسایت تماس بگیرید",
"image": "تصویر", "image": "تصویر",
@ -498,9 +520,9 @@
"jpg": "", "jpg": "",
"minute": "دقیقه", "minute": "دقیقه",
"minute(s)": "دقیقه", "minute(s)": "دقیقه",
"mobile": "موبایل",
"name": "نام", "name": "نام",
"news": "خبر", "news": "خبر",
"mobile": "موبایل",
"not searchable": "غیرقابل جستجو", "not searchable": "غیرقابل جستجو",
"one second ago": "یک ثانیه پیش", "one second ago": "یک ثانیه پیش",
"password repeat": "تکرار گذرواژه", "password repeat": "تکرار گذرواژه",
@ -508,11 +530,10 @@
"pending": "معلق", "pending": "معلق",
"rejected": "رد شده", "rejected": "رد شده",
"sign in": "ورود", "sign in": "ورود",
"webp": "",
"xShop": "",
"status": "وضعیت", "status": "وضعیت",
"title": "عنوان", "title": "عنوان",
"customer_id": "مشتری",
"user_id": "کاربر", "user_id": "کاربر",
"webp": "",
"xShop": "",
"yesterday": "دیروز" "yesterday": "دیروز"
} }

@ -110,11 +110,11 @@
<tr> <tr>
<th> <th>
<div <div
data-bs-toggle="tooltip" data-bs-toggle="tooltip"
data-bs-placement="top" data-bs-placement="top"
data-bs-custom-class="custom-tooltip" data-bs-custom-class="custom-tooltip"
data-bs-title="{{__("Check all")}}" data-bs-title="{{__("Check all")}}"
class="form-check form-switch mt-1 mx-2"> class="form-check form-switch mt-1 mx-2">
<input class="form-check-input chkall" <input class="form-check-input chkall"
type="checkbox" role="switch"> type="checkbox" role="switch">
</div> </div>
@ -178,35 +178,56 @@
{{ $item->parent?->{$cols[0]}??'-' }} {{ $item->parent?->{$cols[0]}??'-' }}
@break @break
@case('status') @case('status')
<div class="model-status status-{{$item->status}} float-start" data-bs-toggle="tooltip" <div class="model-status status-{{$item->status}} float-start"
data-bs-toggle="tooltip"
data-bs-placement="top" data-bs-placement="top"
data-bs-custom-class="custom-tooltip" data-bs-custom-class="custom-tooltip"
data-bs-title="{{$item->status}}"></div> data-bs-title="{{$item->status}}"></div>
@break @break
@case('user_id') @case('user_id')
<a href="{{route('admin.user.edit',$item->user?->email)}}"> @if($item->user != null)
{{ $item->user?->name??'-' }} <a href="{{route('admin.user.edit',$item->user?->email)}}">
</a> {{ $item->user?->name??'-' }}
</a>
@else
{{__("Removed")}}
@endif
@break @break
@case('customer_id') @case('customer_id')
<a href="{{route('admin.customer.edit',$item->customer?->id)}}"> @if($item->customer != null)
{{ $item->customer?->name??'-' }} <a href="{{route('admin.customer.edit',$item->customer?->id)}}">
</a> {{ $item->customer?->name??'-' }}
</a>
@else
{{__("Removed")}}
@endif
@break @break
@case('category_id') @case('category_id')
<a href="{{route('admin.category.edit',$item->category?->slug)}}"> @if($item->category != null)
{{ $item->category?->name??'-' }} <a href="{{route('admin.category.edit',$item->category?->slug)}}">
</a> {{ $item->category?->name??'-' }}
</a>
@else
{{__("Removed")}}
@endif
@break @break
@case('state_id') @case('state_id')
<a href="{{route('admin.category.edit',$item->state?->id)}}"> @if($item->state != null)
{{ $item->state?->name??'-' }} <a href="{{route('admin.state.edit',$item->state?->id)}}">
</a> {{ $item->state?->name??'-' }}
</a>
@else
{{__("Removed")}}
@endif
@break @break
@case('product_id') @case('product_id')
<a href="{{route('admin.product.edit',$item->product?->slug)}}"> @if($item->product != null)
{{ $item->product?->name??'-' }} <a href="{{route('admin.product.edit',$item->product?->slug)}}">
</a> {{ $item->product?->name??'-' }}
</a>
@else
{{__("Removed")}}
@endif
@break @break
@case('expire') @case('expire')
@case('created_at') @case('created_at')
@ -260,15 +281,16 @@
</a> </a>
</li> </li>
@endforeach @endforeach
@if(config('app.xlang.active') && isset($item->translatable)) @if(config('app.xlang.active') && isset($item->translatable))
<li> <li>
<a class="dropdown-item" href="{{route('admin.lang.model',[$item->id, get_class($item)])}}"> <a class="dropdown-item"
href="{{route('admin.lang.model',[$item->id, get_class($item)])}}">
<i class="ri-translate"></i> <i class="ri-translate"></i>
&nbsp; &nbsp;
{{__("Translate")}} {{__("Translate")}}
</a> </a>
</li> </li>
@endif @endif
</ul> </ul>
</div> </div>
@endif @endif
@ -333,12 +355,12 @@
<div class="row"> <div class="row">
<div class="col-md-3 text-start"> <div class="col-md-3 text-start">
<div <div
id="toggle-select" id="toggle-select"
class="btn btn-outline-light mx-2" class="btn btn-outline-light mx-2"
data-bs-toggle="tooltip" data-bs-toggle="tooltip"
data-bs-placement="top" data-bs-placement="top"
data-bs-custom-class="custom-tooltip" data-bs-custom-class="custom-tooltip"
data-bs-title="{{__("Toggle selection")}}"> data-bs-title="{{__("Toggle selection")}}">
<i class="ri-toggle-line"></i> <i class="ri-toggle-line"></i>
</div> </div>
</div> </div>

Loading…
Cancel
Save