Merge branch 'master' of https://github.com/bagisto/bagisto into sarga-v1

This commit is contained in:
merdan 2022-02-28 14:20:24 +05:00
commit e2c55597b1
11 changed files with 463 additions and 431 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
{
"/js/admin.js": "/js/admin.js?id=e7804c84a3c923405168",
"/css/admin.css": "/css/admin.css?id=32c9e07bd1eec6058e1f"
"/css/admin.css": "/css/admin.css?id=2f1b3aea4447fd4b8eb1"
}

View File

@ -1,331 +1,325 @@
@import "colors";
@import 'colors';
$toggleSize: 31px;
$toggleMargin: -25px 10px;
$toggleLine: 2px;
$toggleColor: #3c41ff;
.nav-container {
position: relative;
display: none;
max-width: $toggleSize + $toggleMargin;
max-height: $toggleSize + $toggleMargin;
overflow: visible;
outline: none;
position: relative;
display: none;
max-width: $toggleSize + $toggleMargin;
max-height: $toggleSize + $toggleMargin;
overflow: visible;
outline: none;
&.is-active {
.nav-toggle {
&.is-active {
.nav-toggle {
&:before,
&:after {
box-shadow: none;
}
}
&:before,
&:after {
box-shadow: none;
}
}
.nav-items,
.nav-top {
transform: translate(0, 0);
}
.nav-items,
.nav-top {
transform: translate(0, 0);
.overlay {
display: block;
}
}
.overlay {
display: block;
}
}
.overlay {
background-color: rgba(0, 0, 0, 0.8);
position: fixed;
top: 0;
left: 0;
height: 100vh;
width: 100vh;
display: none;
z-index: 1;
}
.nav-toggle {
background-image: url(./../images/hamburger.svg);
background-repeat: no-repeat;
background-size: cover;
position: relative;
top: 8px;
width: $toggleSize;
height: $toggleSize;
margin: $toggleMargin;
z-index: 1;
&:hover {
cursor: pointer;
}
}
.close {
position: absolute;
right: 13px;
top: 15px;
width: 32px;
height: 32px;
&:hover {
opacity: 1;
}
&:before {
position: absolute;
left: 15px;
content: ' ';
height: 28px;
width: 2px;
background-color: #8184ab;
transform: rotate(45deg);
}
&:after {
position: absolute;
left: 15px;
content: ' ';
height: 28px;
width: 2px;
background-color: #8184ab;
transform: rotate(-45deg);
}
}
.nav-top {
position: fixed;
top: 0;
left: 0;
min-width: 300px;
max-width: 25vw;
width: 100vw;
height: 60px;
z-index: 1;
padding: 50px 0px 0px 0px;
transition: transform .3s ease;
transform: translate(calc(-100% - 50px), 0);
background: $white;
display: grid;
grid-template-columns: 1fr;
align-content: start;
box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
text-decoration: none;
.pro-info {
width: 100%;
padding: 15px;
position: absolute;
.profile-info-icon {
position: absolute;
display: inline-block;
background: #3c41ff;
height: 30px;
width: 30px;
text-align: center;
border-radius: 50%;
>span {
display: block;
margin: 6px;
font-size: 18px;
color: #fff;
}
}
.profile-info-desc {
display: inline-block;
margin-left: 40px;
.name {
font-size: 18px;
color: #000;
}
.role {
font-size: 10px;
color: #000;
}
}
}
}
.nav-items {
position: fixed;
top: 60px;
left: 0;
min-width: 300px;
max-width: 25vw;
width: 100vw;
height: 92vh;
z-index: 1;
padding-bottom: 10px;
transition: transform .3s ease;
transform: translate(calc(-100% - 50px), 0);
background: $white;
display: grid;
grid-template-columns: 1fr;
align-content: start;
box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
overflow-y: scroll;
text-decoration: none;
&::-webkit-scrollbar {
display: none;
}
.nav-item {
transition: background-color .3s ease;
font-size: 16px;
text-transform: capitalize;
text-decoration: none;
a {
color: #000;
display: block;
padding: 5px;
.arrow-icon {
position: absolute;
right: 0;
}
}
ul {
background-color: rgba(0, 0, 0, 0.8);
position: fixed;
top: 0;
left: 0;
height: 100vh;
width: 100vh;
display: none;
.navbar-child {
text-transform: capitalize;
padding: 15px;
&.active,
&:hover {
background-color: #e6e6e6;
}
}
}
.display-block {
display: block !important;
}
&.active {
background-color: #e6e6e6;
>a {
background-color: #ddd;
}
}
&:hover {
>a {
background-color: #ddd;
}
}
z-index: 1;
}
}
}
.rtl {
.nav-container {
.nav-toggle {
background-image: url(./../images/hamburger.svg);
background-repeat: no-repeat;
background-size: cover;
position: relative;
top: 8px;
width: $toggleSize;
height: $toggleSize;
margin: $toggleMargin;
z-index: 1;
&:hover {
cursor: pointer;
}
}
.close {
left: 13px;
right: auto !important;
}
position: absolute;
right: 13px;
top: 15px;
width: 32px;
height: 32px;
&.is-active {
.nav-toggle {
&:before,
&:after {
box-shadow: none;
&:hover {
opacity: 1;
}
}
.nav-items,
.nav-top {
transform: translate(0, 0);
}
&:before {
position: absolute;
left: 15px;
content: ' ';
height: 28px;
width: 2px;
background-color: #8184ab;
transform: rotate(45deg);
}
.overlay {
display: block;
}
&:after {
position: absolute;
left: 15px;
content: ' ';
height: 28px;
width: 2px;
background-color: #8184ab;
transform: rotate(-45deg);
}
}
.nav-top {
right: 0;
left: 100%;
transform: translate(calc(100% + 50px), 0);
position: fixed;
top: 0;
left: 0;
min-width: 300px;
max-width: 25vw;
width: 100vw;
height: 60px;
z-index: 1;
padding: 50px 0px 0px 0px;
transition: transform 0.3s ease;
transform: translate(calc(-100% - 50px), 0);
background: $white;
display: grid;
grid-template-columns: 1fr;
align-content: start;
box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
text-decoration: none;
.pro-info {
.profile-info-desc {
margin-left: 0px;
margin-right: 40px;
.pro-info {
width: 100%;
padding: 15px;
position: absolute;
.profile-info-icon {
position: absolute;
display: inline-block;
background: #3c41ff;
height: 30px;
width: 30px;
text-align: center;
border-radius: 50%;
> span {
display: block;
margin: 6px;
font-size: 18px;
color: #fff;
}
}
.profile-info-desc {
display: inline-block;
margin-left: 40px;
.name {
font-size: 18px;
color: #000;
}
.role {
font-size: 10px;
color: #000;
}
}
}
}
}
.nav-items {
right: 0;
left: 100%;
transform: translate(calc(100% + 50px), 0);
position: fixed;
top: 60px;
left: 0;
min-width: 300px;
max-width: 25vw;
width: 100vw;
height: 100vh;
z-index: 1;
padding-bottom: 10px;
transition: transform 0.3s ease;
transform: translate(calc(-100% - 50px), 0);
background: $white;
display: grid;
grid-template-columns: 1fr;
align-content: start;
box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
overflow-y: scroll;
text-decoration: none;
a {
.arrow-icon {
position: absolute;
right: auto;
left: 20px;
&::-webkit-scrollbar {
display: none;
}
.nav-item {
transition: background-color 0.3s ease;
font-size: 16px;
text-transform: capitalize;
text-decoration: none;
a {
color: #000;
display: block;
padding: 5px;
.arrow-icon {
position: absolute;
right: 0;
}
}
ul {
display: none;
.navbar-child {
text-transform: capitalize;
padding: 15px;
&.active,
&:hover {
background-color: #e6e6e6;
}
}
}
.display-block {
display: block !important;
}
&.active {
background-color: #e6e6e6;
> a {
background-color: #ddd;
}
}
&:hover {
> a {
background-color: #ddd;
}
}
}
}
}
.rtl {
.nav-container {
.close {
left: 13px;
right: auto !important;
}
&.is-active {
.nav-toggle {
&:before,
&:after {
box-shadow: none;
}
}
.nav-items,
.nav-top {
transform: translate(0, 0);
}
.overlay {
display: block;
}
}
.nav-top {
right: 0;
left: 100%;
transform: translate(calc(100% + 50px), 0);
.pro-info {
.profile-info-desc {
margin-left: 0px;
margin-right: 40px;
}
}
}
.nav-items {
right: 0;
left: 100%;
transform: translate(calc(100% + 50px), 0);
a {
.arrow-icon {
position: absolute;
right: auto;
left: 20px;
}
}
}
}
}
}
}
@media only screen and (max-width: 768px) {
.nav-container {
display: inline-block;
}
.nav-container {
display: inline-block;
}
.destop-logo {
display: none;
}
.destop-logo {
display: none;
}
.content-container {
padding-left: 0px !important;
}
.padding-container-navbar-not-expand {
padding-left: 0 !important;
}
.padding-container-navbar-expand {
padding-left: 0 !important;
}
.rtl {
.content-container {
padding-left: 0px !important;
padding-right: 0px !important;
padding-left: 0px !important;
}
.padding-container-navbar-not-expand {
padding-right: 0 !important;
padding-left: 0 !important;
}
.padding-container-navbar-expand {
padding-right: 0 !important;
padding-left: 0 !important;
}
}
.control-group {
.rtl {
.content-container {
padding-left: 0px !important;
padding-right: 0px !important;
}
&.date,
&.datetime {
.padding-container-navbar-not-expand {
padding-right: 0 !important;
}
&::after {
margin-right: -34px;
right: 100% !important;
}
.padding-container-navbar-expand {
padding-right: 0 !important;
}
}
}
}
.control-group {
&.date,
&.datetime {
&::after {
margin-right: -34px;
right: 100% !important;
}
}
}
}

View File

@ -395,11 +395,11 @@ return [
'cancel-confirm-msg' => 'هل أنت متأكد من أنك تريد إلغاء هذا الطلب ؟',
'refunds' => 'المبالغ المستردة',
'refunded' => 'تم رد الأموال',
'comment-added-success' => 'Comment addded successfully.',
'comment' => 'Comment',
'submit-comment' => 'Submit Comment',
'notify-customer' => 'Notify Customer',
'transactions' => 'Transactions',
'comment-added-success' => 'تمت إضافة التعليق بنجاح.',
'comment' => 'تعليق',
'submit-comment' => 'إرسال تعليق',
'notify-customer' => 'بإخطار العملاء',
'transactions' => 'المعاملات',
],
'invoices' => [
@ -415,10 +415,10 @@ return [
'action' => 'الإجراء',
'add-title' => 'أنشئ الفاتورة',
'save-btn-title' => 'احفظ الفاتورة',
'send-duplicate-invoice' => 'Send Duplicate Invoice',
'send' => 'Send',
'invoice-sent' => 'Invoice sent successfully!',
'qty' => 'Qty',
'send-duplicate-invoice' => 'إرسال فاتورة مكررة',
'send' => 'إرسال',
'invoice-sent' => 'تم إرسال الفاتورة بنجاح! ',
'qty' => 'الكمية',
'qty-ordered' => 'تعداد سفارشات',
'qty-to-invoice' => 'qty إلى فاتورة',
'view-title' => '#:invoice_id فاتورة',
@ -426,12 +426,12 @@ return [
'ship-to' => 'السفينة إلى',
'print' => 'اطبع',
'order-date' => 'تاريخ الطلب',
'invalid-qty' => 'We found an invalid quantity to invoice items.',
'invalid-qty' => 'وجدنا كمية غير صالحة لعناصر الفاتورة.',
'creation-error' => 'لا يسمح بإنشاء الفواتير.',
'product-error' => 'ولا يمكن إعداد الفاتورة بدون منتجات.',
'status-overdue' => 'Overdue',
'status-pending' => 'Pending Payment',
'status-paid' => 'Paid',
'status-overdue' => 'متأخر',
'status-pending' => 'في انتظار الدفع',
'status-paid' => 'مدفوع',
],
'shipments' => [
@ -446,7 +446,7 @@ return [
'add-title' => 'أنشئ شحنة',
'save-btn-title' => 'احفظ الشحنة',
'qty-ordered' => 'أمر qty',
'qty-invoiced' => 'Qty Invoiced',
'qty-invoiced' => 'الكمية المفوترة',
'qty-to-ship' => 'من كيوتي إلى السفينة',
'available-sources' => 'المصادر المتاحة',
'source' => 'المصدر',
@ -486,24 +486,24 @@ return [
],
'transactions' => [
'title' => 'Transactions',
'create-title' => 'Add transaction',
'id' => 'Id',
'transaction-id' => 'Transaction Id',
'payment-method' => 'Payment method',
'transaction-amount' => 'Transaction amount',
'action' => 'Action',
'view-title' => 'Transaction #:transaction_id',
'transaction-data' => 'Transaction Data',
'order-id' => 'Order Id',
'invoice-id' => 'Invoice Id',
'status' => 'Status',
'created-at' => 'Created At',
'transaction-details' => 'Transaction Details',
'title' => 'المعاملات',
'create-title' => 'أضف معاملة',
'id' => 'هوية شخصية',
'transaction-id' => 'رقم المعاملة',
'payment-method' => 'طريقة الدفع او السداد',
'transaction-amount' => 'قيمة التحويل',
'action' => 'عمل',
'view-title' => 'عملية تجارية #:transaction_id',
'transaction-data' => 'بيانات المعاملات',
'order-id' => 'رقم التعريف الخاص بالطلب',
'invoice-id' => 'هوية صوتية',
'status' => 'حالة',
'created-at' => 'أنشئت في',
'transaction-details' => 'تفاصيل الصفقه',
'response' => [
'invoice-missing' => 'This invoice id does not exist',
'transaction-saved' => 'The transaction has been saved',
'already-paid' => 'This invoice has already been paid',
'invoice-missing' => 'معرف الفاتورة هذا غير موجود',
'transaction-saved' => 'تم حفظ الصفقة',
'already-paid' => 'تم دفع هذه الفاتورة بالفعل',
],
],
],
@ -590,15 +590,15 @@ return [
'multiselect' => 'تحديد متعدد',
'new-option' => 'خيار جديد',
'is-default' => 'افتراضي',
'remove-image-btn-title' => 'Remove Image',
'videos' => 'Videos',
'video' => 'Video',
'add-video-btn-title' => 'Add Video',
'remove-video-btn-title' => 'Remove Video',
'not-support-video' => 'Your browser does not support the video tag.',
'save' => 'Save',
'cancel' => 'Cancel',
'saved-inventory-message' => 'Product inventory saved successfully.',
'remove-image-btn-title' => 'إزالة الصورة',
'videos' => 'أشرطة فيديو',
'video' => 'فيديو',
'add-video-btn-title' => 'أضف فيديو',
'remove-video-btn-title' => 'إزالة الفيديو',
'not-support-video' => 'متصفحك الحالي لا يدعم تشغيل الفيديو.',
'save' => 'يحفظ',
'cancel' => 'يلغي',
'saved-inventory-message' => 'تم حفظ مخزون المنتج بنجاح.',
],
'attributes' => [
@ -609,20 +609,20 @@ return [
'general' => 'ألف-لمحة عامة',
'code' => 'رمز السمة',
'type' => 'الصفة نوع',
'text' => 'Text',
'textarea' => 'Textarea',
'price' => 'Price',
'boolean' => 'Boolean',
'select' => 'Select',
'multiselect' => 'Multiselect',
'datetime' => 'Datetime',
'date' => 'Date',
'text' => 'نص',
'textarea' => 'تيكستاريا',
'price' => 'السعر',
'boolean' => 'قيمة منطقية',
'select' => 'يختار',
'multiselect' => 'تحديد متعدد',
'datetime' => 'التاريخ والوقت',
'date' => 'تاريخ',
'label' => 'ضع الكلمة المناسبة',
'admin' => 'مشرف',
'options' => 'خيارات',
'position' => 'موضع',
'add-option-btn-title' => 'إضافة خيار',
'load-more-options-btn-title' => 'Load More Options',
'load-more-options-btn-title' => 'تحميل المزيد من الخيارات',
'validations' => 'التصديقات',
'input_validation' => 'التحقق من الإدخال',
'is_required' => 'مطلوب',
@ -655,7 +655,7 @@ return [
'is_comparable' => 'السمة قابلة للمقارنة',
'default_null_option' => 'إنشاء خيار فارغ افتراضي',
'validation-messages' => [
'max-size' => 'The image size must be less than 600 KB',
'max-size' => 'يجب أن يكون حجم الصورة أقل من 600 كيلو بايت',
],
],
'families' => [
@ -879,9 +879,9 @@ return [
'seo-title' => 'عنوان Meta',
'seo-description' => 'وصف Meta',
'seo-keywords' => 'الكلمات الدالة Meta',
'maintenance-mode' => 'Maintenance Mode',
'maintenance-mode-text' => 'Message',
'allowed-ips' => 'Allowed IPs',
'maintenance-mode' => 'نمط الصيانة',
'maintenance-mode-text' => 'رسالة',
'allowed-ips' => 'عناوين IP المسموح بها',
],
'sliders' => [
@ -1039,9 +1039,9 @@ return [
'status' => 'الحالة',
'active' => 'نشيط',
'inactive' => 'غير نشط',
'is-suspended' => 'Is Suspended',
'suspend' => 'Suspend',
'suspended' => 'Suspended',
'is-suspended' => 'معلق',
'suspend' => 'تعليق',
'suspended' => 'موقوف عن العمل',
],
'reviews' => [
@ -1206,63 +1206,63 @@ return [
'marketing' => [
'templates' => [
'title' => 'Email Templates',
'add-title' => 'Add Email Template',
'edit-title' => 'Edit Email Template',
'save-btn-title' => 'Save',
'general' => 'General',
'name' => 'Name',
'status' => 'Status',
'active' => 'Active',
'inactive' => 'Inactive',
'draft' => 'Draft',
'content' => 'Content',
'create-success' => 'Email template created successfully.',
'update-success' => 'Email template updated successfully.',
'delete-success' => 'Email template deleted successfully',
'title' => 'قوالب البريد الإلكتروني',
'add-title' => 'أضف قالب بريد إلكتروني',
'edit-title' => 'تحرير قالب البريد الإلكتروني',
'save-btn-title' => 'يحفظ',
'general' => 'عام',
'name' => 'اسم',
'status' => 'حالة',
'active' => 'نشيط',
'inactive' => 'غير نشط',
'draft' => 'مسودة',
'content' => 'محتوى',
'create-success' => 'تم إنشاء قالب البريد الإلكتروني بنجاح.',
'update-success' => 'تم تحديث قالب البريد الإلكتروني بنجاح.',
'delete-success' => 'تم حذف قالب البريد الإلكتروني بنجاح',
],
'campaigns' => [
'title' => 'Campaigns',
'add-title' => 'Add Campaign',
'edit-title' => 'Edit Campaign',
'save-btn-title' => 'Save',
'general' => 'General',
'name' => 'Name',
'status' => 'Status',
'active' => 'Active',
'inactive' => 'Inactive',
'subject' => 'Subject',
'email-template' => 'Email Template',
'audience' => 'Audience',
'channel' => 'Channel',
'customer-group' => 'Customer Group',
'schedule' => 'Schedule',
'schedule-type' => 'Schedule Type',
'once' => 'Once',
'events' => 'Events',
'schedule-date' => 'Schedule Date',
'spooling' => 'Spooling',
'event' => 'Event',
'birthday' => 'Birthday',
'create-success' => 'Campaign created successfully.',
'update-success' => 'Campaign updated successfully.',
'delete-success' => 'Campaign deleted successfully',
'title' => 'الحملات',
'add-title' => 'أضف حملة',
'edit-title' => 'تحرير الحملة',
'save-btn-title' => 'يحفظ',
'general' => 'عام',
'name' => 'اسم',
'status' => 'حالة',
'active' => 'نشيط',
'inactive' => 'غير نشط',
'subject' => 'موضوعات',
'email-template' => 'نموذج البريد الإلكتروني',
'audience' => 'جمهور',
'channel' => 'قناة',
'customer-group' => 'مجموعة العملاء',
'schedule' => 'برنامج',
'schedule-type' => 'نوع الجدول',
'once' => 'مرة واحدة',
'events' => 'الأحداث',
'schedule-date' => 'تاريخ الجدول الزمني',
'spooling' => 'التخزين المؤقت',
'event' => 'هدف',
'birthday' => 'عيد الميلاد',
'create-success' => 'تم إنشاء الحملة بنجاح.',
'update-success' => 'تم تحديث الحملة بنجاح',
'delete-success' => 'تم حذف الحملة بنجاح',
],
'events' => [
'title' => 'Events',
'add-title' => 'Add Event',
'edit-title' => 'Edit Event',
'save-btn-title' => 'Save',
'general' => 'General',
'name' => 'Name',
'description' => 'Description',
'date' => 'Date',
'create-success' => 'Event created successfully.',
'update-success' => 'Event updated successfully.',
'delete-success' => 'Event deleted successfully.',
'edit-error' => 'Can not edit this event.',
'title' => 'الأحداث',
'add-title' => 'أضف الأحداث',
'edit-title' => 'تحرير الحدث',
'save-btn-title' => 'يحفظ',
'general' => 'عام',
'name' => 'اسم',
'description' => 'وصف',
'date' => 'تاريخ',
'create-success' => 'تم إنشاء الحدث بنجاح.',
'update-success' => 'تم تحديث الحدث بنجاح.',
'delete-success' => 'تم حذف الحدث بنجاح.',
'edit-error' => 'لا يمكن تعديل هذا الحدث.',
],
],
@ -1297,9 +1297,9 @@ return [
],
'tinymce' => [
'http-error' => 'HTTP error.',
'invalid-json' => 'Invalid JSON.',
'upload-failed' => 'Image upload failed due to a XHR Transport error.',
'http-error' => 'خطأ HTTP.',
'invalid-json' => 'JSON غير صالح.',
'upload-failed' => 'فشل تحميل الصورة بسبب خطأ في نقل XHR.',
],
],
@ -1412,10 +1412,10 @@ return [
],
'system' => [
'catalog' => 'فهرس',
'homepage' => 'Homepage configuration',
'allow-no-of-new-product-homepage' => 'Allowed No of New Product in Homepage',
'allow-no-of-featured-product-homepage' => 'Allowed No of Featured Product in Homepage',
'allow-out-of-stock-items' => 'Allow out of stock items',
'homepage' => 'تكوين الصفحة الرئيسية',
'allow-no-of-new-product-homepage' => 'عدد المنتجات الجديدة المسموح بها في الصفحة الرئيسية',
'allow-no-of-featured-product-homepage' => 'عدد المنتجات المميزة المسموح بها في الصفحة الرئيسية',
'allow-out-of-stock-items' => 'السماح بعناصر من المخزون',
'products' => 'منتجات',
'guest-checkout' => 'ضيف المحاسبة',
'allow-guest-checkout' => 'السماح للضيف بالخروج',
@ -1426,8 +1426,8 @@ return [
'stock-options' => 'خيارات الأسهم',
'allow-backorders' => 'السماح بأوامر العودة',
'customer' => 'العملاء',
'wishlist' => 'Wishlist',
'wishlist-share' => 'Enable Sharing',
'wishlist' => 'قائمة الرغبات',
'wishlist-share' => 'تمكين المشاركة',
'settings' => 'الإعدادات',
'address' => 'عنوان',
'street-lines' => 'خطوط في عنوان الشارع',
@ -1554,20 +1554,20 @@ return [
'paypal-smart-button' => 'زر PayPal الذكي',
'client-id' => 'معرف العميل',
'client-id-info' => 'استخدم "sb" للاختبار.',
'client-secret' => 'Client Secret',
'client-secret-info' => 'Add your secret key here',
'accepted-currencies' => 'Accepted currencies',
'accepted-currencies-info' => 'Add currency code comma seperated e.g. USD,INR,...',
'buy-now-button-display' => 'Allow customers to directly buy products',
'width' => 'Width',
'height' => 'Height',
'cache-small-image' => 'Small Image',
'cache-medium-image' => 'Medium Image',
'cache-large-image' => 'Large Image',
'generate-invoice' => 'Automatically generate the invoice after placing an order',
'set-invoice-status' => 'Set the invoice status after creating the invoice to',
'set-order-status' => 'Set the order status after creating the invoice to',
'generate-invoice-applicable' => 'Applicable if automatic generate invoice is enabled',
'client-secret' => 'سر العميل',
'client-secret-info' => 'أضف مفتاحك السري هنا',
'accepted-currencies' => 'العملات المقبولة',
'accepted-currencies-info' => 'أضف رمز العملة مفصول بفاصلة ، على سبيل المثال دولار أمريكي ، روبية هندية,...',
'buy-now-button-display' => 'السماح للعملاء بشراء المنتجات مباشرة',
'width' => 'عرض',
'height' => 'ارتفاع',
'cache-small-image' => 'صورة صغيرة',
'cache-medium-image' => 'صورة متوسطة',
'cache-large-image' => 'صورة كبيرة',
'generate-invoice' => 'إنشاء الفاتورة تلقائيًا بعد تقديم الطلب',
'set-invoice-status' => 'قم بتعيين حالة الفاتورة بعد إنشاء الفاتورة إلى',
'set-order-status' => 'قم بتعيين حالة الطلب بعد إنشاء الفاتورة إلى',
'generate-invoice-applicable' => 'قابل للتطبيق إذا تم تمكين إنشاء الفاتورة تلقائيًا',
'records-found' => 'تم العثور على السجلات ',
],
],

View File

@ -63,6 +63,7 @@
input.attr("type", "password");
}
});
$(":input[name=email]").focus();
});
</script>
@endpush

View File

@ -1016,7 +1016,7 @@ class Core
$start = Carbon::createFromTimeString($date->format('Y-m-d') . ' 00:00:01');
$end = $totalMonths - 1 == $i
? $endDate
: Carbon::createFromTimeString($date->format('Y-m-d') . ' 23:59:59');
: Carbon::createFromTimeString($date->addMonth()->subDay()->format('Y-m-d') . ' 23:59:59');
$timeIntervals[] = ['start' => $start, 'end' => $end, 'formatedDate' => $date->format('M')];
}
@ -1030,7 +1030,7 @@ class Core
: Carbon::createFromTimeString($this->xWeekRange($date, 0) . ' 00:00:01');
$end = $totalWeeks - 1 == $i
? $endDate
: Carbon::createFromTimeString($this->xWeekRange($date, 1) . ' 23:59:59');
: Carbon::createFromTimeString($this->xWeekRange($date->subDay(), 1) . ' 23:59:59');
$timeIntervals[] = ['start' => $start, 'end' => $end, 'formatedDate' => $date->format('d M')];
}

View File

@ -83,6 +83,7 @@
$('#password').attr("type", "password");
}
});
$(":input[name=email]").focus();
});
</script>

View File

@ -106,6 +106,12 @@
@push('scripts')
<script>
$(function(){
$(":input[name=first_name]").focus();
});
</script>
{!! Captcha::renderJS() !!}
@endpush

View File

@ -222,12 +222,11 @@
@endif
<div class="col-12 no-padding">
@include ('shop::products.price', ['product' => $product])
@include ('shop::products.price', ['product' => $product])
</div>
<div class="row col-12 remove-padding-margin actions">
<div class="product-quantity col-lg-4 col-6 no-padding">
<div class="product-quantity col-lg-4 col-4 no-padding">
@if ($item->product->getTypeInstance()->showQuantityBox() === true)
<quantity-changer
:control-name="'qty[{{$item->id}}]'"
@ -237,7 +236,29 @@
@endif
</div>
<div class="col-4 cursor-pointer text-down-4">
<div class="col-lg-2 col-2 cursor-pointer mt-2">
@auth('customer')
@if ($showWishlist)
@if ($item->parent_id != 'null' || $item->parent_id != null)
<div class="alert-wishlist ml-2">
@include('shop::products.wishlist', [
'route' => route('shop.movetowishlist', $item->id),
'text' => ""
])
</div>
@else
<div class="alert-wishlist ml-2">
@include('shop::products.wishlist', [
'route' => route('shop.movetowishlist', $item->child->id),
'text' => ""
])
</div>
@endif
@endif
@endauth
</div>
<div class="col-lg-2 col-2 cursor-pointer ml-2 mt-2">
<a href="{{ route('shop.checkout.cart.remove', ['id' => $item->id]) }}" class="unset">
<i class="material-icons fs24">delete</i>
</a>
@ -263,7 +284,7 @@
{{ __('shop::app.checkout.cart.update-cart') }}
</button>
</div>
{!! view_render_event('bagisto.shop.checkout.cart.controls.after', ['cart' => $cart]) !!}
</form>
</div>

View File

@ -112,16 +112,20 @@
{!! Captcha::renderJS() !!}
<script>
function myFunction() {
var x = document.getElementById("password");
if (x.type === "password") {
x.type = "text";
} else {
x.type = "password";
}
}
</script>
$(function(){
$(":input[name=email]").focus();
});
function myFunction() {
var x = document.getElementById("password");
if (x.type === "password") {
x.type = "text";
} else {
x.type = "password";
}
}
</script>
@endpush

View File

@ -158,6 +158,11 @@
@endsection
@push('scripts')
<script>
$(function(){
$(":input[name=first_name]").focus();
});
</script>
{!! Captcha::renderJS() !!}