diff --git a/composer.lock b/composer.lock index c196fcd5d..b53396a10 100644 --- a/composer.lock +++ b/composer.lock @@ -3615,16 +3615,16 @@ }, { "name": "nesbot/carbon", - "version": "2.72.5", + "version": "2.72.6", "source": { "type": "git", - "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "afd46589c216118ecd48ff2b95d77596af1e57ed" + "url": "https://github.com/CarbonPHP/carbon.git", + "reference": "1e9d50601e7035a4c61441a208cb5bed73e108c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/afd46589c216118ecd48ff2b95d77596af1e57ed", - "reference": "afd46589c216118ecd48ff2b95d77596af1e57ed", + "url": "https://api.github.com/repos/CarbonPHP/carbon/zipball/1e9d50601e7035a4c61441a208cb5bed73e108c5", + "reference": "1e9d50601e7035a4c61441a208cb5bed73e108c5", "shasum": "" }, "require": { @@ -3644,7 +3644,7 @@ "doctrine/orm": "^2.7 || ^3.0", "friendsofphp/php-cs-fixer": "^3.0", "kylekatarnls/multi-tester": "^2.0", - "ondrejmirtes/better-reflection": "*", + "ondrejmirtes/better-reflection": "<6", "phpmd/phpmd": "^2.9", "phpstan/extension-installer": "^1.0", "phpstan/phpstan": "^0.12.99 || ^1.7.14", @@ -3657,10 +3657,6 @@ ], "type": "library", "extra": { - "branch-alias": { - "dev-master": "3.x-dev", - "dev-2.x": "2.x-dev" - }, "laravel": { "providers": [ "Carbon\\Laravel\\ServiceProvider" @@ -3670,6 +3666,10 @@ "includes": [ "extension.neon" ] + }, + "branch-alias": { + "dev-2.x": "2.x-dev", + "dev-master": "3.x-dev" } }, "autoload": { @@ -3718,7 +3718,7 @@ "type": "tidelift" } ], - "time": "2024-06-03T19:18:41+00:00" + "time": "2024-12-27T09:28:11+00:00" }, { "name": "nette/schema", @@ -3870,16 +3870,16 @@ }, { "name": "nikic/php-parser", - "version": "v5.3.1", + "version": "v5.4.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b" + "reference": "447a020a1f875a434d62f2a401f53b82a396e494" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/8eea230464783aa9671db8eea6f8c6ac5285794b", - "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/447a020a1f875a434d62f2a401f53b82a396e494", + "reference": "447a020a1f875a434d62f2a401f53b82a396e494", "shasum": "" }, "require": { @@ -3922,9 +3922,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.3.1" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.4.0" }, - "time": "2024-10-08T18:51:32+00:00" + "time": "2024-12-30T11:07:19+00:00" }, { "name": "nunomaduro/termwind", @@ -4153,16 +4153,16 @@ }, { "name": "phpoffice/phpspreadsheet", - "version": "1.29.6", + "version": "1.29.7", "source": { "type": "git", "url": "https://github.com/PHPOffice/PhpSpreadsheet.git", - "reference": "08597725b84570cd6f32bf0ea92e75a803ef28c2" + "reference": "02c8625411dcb96e1f63d58c47460284e15b2e80" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPOffice/PhpSpreadsheet/zipball/08597725b84570cd6f32bf0ea92e75a803ef28c2", - "reference": "08597725b84570cd6f32bf0ea92e75a803ef28c2", + "url": "https://api.github.com/repos/PHPOffice/PhpSpreadsheet/zipball/02c8625411dcb96e1f63d58c47460284e15b2e80", + "reference": "02c8625411dcb96e1f63d58c47460284e15b2e80", "shasum": "" }, "require": { @@ -4252,9 +4252,9 @@ ], "support": { "issues": "https://github.com/PHPOffice/PhpSpreadsheet/issues", - "source": "https://github.com/PHPOffice/PhpSpreadsheet/tree/1.29.6" + "source": "https://github.com/PHPOffice/PhpSpreadsheet/tree/1.29.7" }, - "time": "2024-12-08T05:49:00+00:00" + "time": "2024-12-27T05:10:37+00:00" }, { "name": "phpoption/phpoption", @@ -5358,16 +5358,16 @@ }, { "name": "symfony/console", - "version": "v6.4.15", + "version": "v6.4.17", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "f1fc6f47283e27336e7cebb9e8946c8de7bff9bd" + "reference": "799445db3f15768ecc382ac5699e6da0520a0a04" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/f1fc6f47283e27336e7cebb9e8946c8de7bff9bd", - "reference": "f1fc6f47283e27336e7cebb9e8946c8de7bff9bd", + "url": "https://api.github.com/repos/symfony/console/zipball/799445db3f15768ecc382ac5699e6da0520a0a04", + "reference": "799445db3f15768ecc382ac5699e6da0520a0a04", "shasum": "" }, "require": { @@ -5432,7 +5432,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.4.15" + "source": "https://github.com/symfony/console/tree/v6.4.17" }, "funding": [ { @@ -5448,7 +5448,7 @@ "type": "tidelift" } ], - "time": "2024-11-06T14:19:14+00:00" + "time": "2024-12-07T12:07:30+00:00" }, { "name": "symfony/css-selector", @@ -5534,12 +5534,12 @@ }, "type": "library", "extra": { + "thanks": { + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, "branch-alias": { "dev-main": "3.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" } }, "autoload": { @@ -5757,12 +5757,12 @@ }, "type": "library", "extra": { + "thanks": { + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, "branch-alias": { "dev-main": "3.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" } }, "autoload": { @@ -7037,12 +7037,12 @@ }, "type": "library", "extra": { + "thanks": { + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, "branch-alias": { "dev-main": "3.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" } }, "autoload": { @@ -7297,12 +7297,12 @@ }, "type": "library", "extra": { + "thanks": { + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, "branch-alias": { "dev-main": "3.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" } }, "autoload": { @@ -11265,5 +11265,5 @@ "php": "^8.2" }, "platform-dev": [], - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } diff --git a/packages/Webkul/Admin/src/DataGrids/Settings/UserDataGrid.php b/packages/Webkul/Admin/src/DataGrids/Settings/UserDataGrid.php index 41d2379e8..41e71a62a 100644 --- a/packages/Webkul/Admin/src/DataGrids/Settings/UserDataGrid.php +++ b/packages/Webkul/Admin/src/DataGrids/Settings/UserDataGrid.php @@ -17,21 +17,19 @@ public function prepareQueryBuilder(): Builder $queryBuilder = DB::table('users') ->distinct() ->addSelect( - 'users.id', - 'users.name', - 'users.email', - 'users.image', - 'users.status', - 'users.created_at' + 'id', + 'name', + 'email', + 'image', + 'status', + 'created_at' ) - ->leftJoin('user_groups', 'users.id', '=', 'user_groups.user_id'); + ->leftJoin('user_groups', 'id', '=', 'user_groups.user_id'); if ($userIds = bouncer()->getAuthorizedUserIds()) { - $queryBuilder->whereIn('users.user_id', $userIds); + $queryBuilder->whereIn('id', $userIds); } - $this->addFilter('id', 'users.id'); - return $queryBuilder; } diff --git a/packages/Webkul/Admin/src/Http/Controllers/Settings/GroupController.php b/packages/Webkul/Admin/src/Http/Controllers/Settings/GroupController.php index 7d1388bb3..b7d5a5037 100755 --- a/packages/Webkul/Admin/src/Http/Controllers/Settings/GroupController.php +++ b/packages/Webkul/Admin/src/Http/Controllers/Settings/GroupController.php @@ -37,7 +37,8 @@ public function index(): View|JsonResponse public function store(): JsonResponse { $this->validate(request(), [ - 'name' => 'required|unique:groups,name', + 'name' => 'required|unique:groups,name|max:50', + 'description' => 'required|max:250', ]); Event::dispatch('settings.group.create.before'); @@ -73,7 +74,8 @@ public function edit(int $id): JsonResource public function update(int $id): JsonResponse { $this->validate(request(), [ - 'name' => 'required|unique:groups,name,'.$id, + 'name' => 'required|max:50|unique:groups,name,'.$id, + 'description' => 'required|max:250', ]); Event::dispatch('settings.group.update.before', $id); diff --git a/packages/Webkul/Admin/src/Http/Controllers/Settings/RoleController.php b/packages/Webkul/Admin/src/Http/Controllers/Settings/RoleController.php index 001b1d954..7492b667f 100755 --- a/packages/Webkul/Admin/src/Http/Controllers/Settings/RoleController.php +++ b/packages/Webkul/Admin/src/Http/Controllers/Settings/RoleController.php @@ -48,6 +48,7 @@ public function store(): RedirectResponse 'name' => 'required', 'permission_type' => 'required', 'description' => 'required', + 'permissions' => 'required', ]); Event::dispatch('settings.role.create.before'); @@ -93,6 +94,7 @@ public function update(int $id): RedirectResponse 'name' => 'required', 'permission_type' => 'required|in:all,custom', 'description' => 'required', + 'permissions' => 'required', ]); Event::dispatch('settings.role.update.before', $id); diff --git a/packages/Webkul/Admin/src/Resources/lang/ar/app.php b/packages/Webkul/Admin/src/Resources/lang/ar/app.php index e57bc53f8..93740ca03 100644 --- a/packages/Webkul/Admin/src/Resources/lang/ar/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/ar/app.php @@ -438,23 +438,25 @@ ], 'pdf' => [ - 'title' => 'عرض السعر', - 'grand-total' => 'المجموع الكلي', 'adjustment' => 'التعديل', - 'discount' => 'الخصم', - 'tax' => 'الضريبة', - 'sub-total' => 'المجموع الفرعي', 'amount' => 'المبلغ', - 'quantity' => 'الكمية', - 'price' => 'السعر', - 'product-name' => 'اسم المنتج', - 'sku' => 'رمز المنتج', - 'shipping-address' => 'عنوان الشحن', 'billing-address' => 'عنوان الفوترة', - 'expired-at' => 'تاريخ الانتهاء', - 'sales-person' => 'مندوب المبيعات', 'date' => 'التاريخ', + 'discount' => 'الخصم', + 'expired-at' => 'تاريخ الانتهاء', + 'grand-total' => 'المجموع الكلي', + 'person' => 'Person', + 'price' => 'السعر', + 'product-name' => 'اسم المنتج', + 'quantity' => 'الكمية', 'quote-id' => 'رقم عرض السعر', + 'sales-person' => 'مندوب المبيعات', + 'shipping-address' => 'عنوان الشحن', + 'sku' => 'رمز المنتج', + 'sub-total' => 'المجموع الفرعي', + 'subject' => 'Subject', + 'tax' => 'الضريبة', + 'title' => 'عرض السعر', ], ], diff --git a/packages/Webkul/Admin/src/Resources/lang/en/app.php b/packages/Webkul/Admin/src/Resources/lang/en/app.php index a8f50bbe9..0a227246f 100644 --- a/packages/Webkul/Admin/src/Resources/lang/en/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/en/app.php @@ -442,23 +442,25 @@ ], 'pdf' => [ - 'title' => 'Quote', - 'grand-total' => 'Grand Total', 'adjustment' => 'Adjustment', - 'discount' => 'Discount', - 'tax' => 'Tax', - 'sub-total' => 'Sub Total', 'amount' => 'Amount', - 'quantity' => 'Quantity', - 'price' => 'Price', - 'product-name' => 'Product Name', - 'sku' => 'SKU', - 'shipping-address' => 'Shipping Address', 'billing-address' => 'Billing Address', - 'expired-at' => 'Expired At', - 'sales-person' => 'Sales Person', 'date' => 'Date', + 'discount' => 'Discount', + 'expired-at' => 'Expired At', + 'grand-total' => 'Grand Total', + 'person' => 'Person', + 'price' => 'Price', + 'product-name' => 'Product Name', + 'quantity' => 'Quantity', 'quote-id' => 'Quote ID', + 'sales-person' => 'Sales Person', + 'shipping-address' => 'Shipping Address', + 'sku' => 'SKU', + 'sub-total' => 'Sub Total', + 'subject' => 'Subject', + 'tax' => 'Tax', + 'title' => 'Quote', ], ], diff --git a/packages/Webkul/Admin/src/Resources/lang/es/app.php b/packages/Webkul/Admin/src/Resources/lang/es/app.php index 23fac6faf..f03f9116e 100644 --- a/packages/Webkul/Admin/src/Resources/lang/es/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/es/app.php @@ -442,23 +442,25 @@ ], 'pdf' => [ - 'title' => 'Cotización', - 'grand-total' => 'Total General', 'adjustment' => 'Ajuste', - 'discount' => 'Descuento', - 'tax' => 'Impuesto', - 'sub-total' => 'Subtotal', 'amount' => 'Monto', - 'quantity' => 'Cantidad', - 'price' => 'Precio', - 'product-name' => 'Nombre del Producto', - 'sku' => 'SKU', - 'shipping-address' => 'Dirección de Envío', 'billing-address' => 'Dirección de Facturación', - 'expired-at' => 'Vence en', - 'sales-person' => 'Vendedor', 'date' => 'Fecha', + 'discount' => 'Descuento', + 'expired-at' => 'Vence en', + 'grand-total' => 'Total General', + 'person' => 'Persona', + 'price' => 'Precio', + 'product-name' => 'Nombre del Producto', + 'quantity' => 'Cantidad', 'quote-id' => 'ID de Cotización', + 'sales-person' => 'Vendedor', + 'shipping-address' => 'Dirección de Envío', + 'sku' => 'SKU', + 'sub-total' => 'Subtotal', + 'subject' => 'Asunto', + 'tax' => 'Impuesto', + 'title' => 'Cotización', ], ], diff --git a/packages/Webkul/Admin/src/Resources/lang/fa/app.php b/packages/Webkul/Admin/src/Resources/lang/fa/app.php index c124f79d0..8c1106d28 100644 --- a/packages/Webkul/Admin/src/Resources/lang/fa/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/fa/app.php @@ -442,23 +442,25 @@ ], 'pdf' => [ - 'title' => 'نقل‌قول', - 'grand-total' => 'جمع کل', 'adjustment' => 'تنظیم', - 'discount' => 'تخفیف', - 'tax' => 'مالیات', - 'sub-total' => 'جمع جزء', 'amount' => 'مقدار', - 'quantity' => 'تعداد', - 'price' => 'قیمت', - 'product-name' => 'نام محصول', - 'sku' => 'کد SKU', - 'shipping-address' => 'آدرس ارسال', 'billing-address' => 'آدرس صورتحساب', - 'expired-at' => 'تاریخ انقضا', - 'sales-person' => 'فروشنده', 'date' => 'تاریخ', + 'discount' => 'تخفیف', + 'expired-at' => 'تاریخ انقضا', + 'grand-total' => 'جمع کل', + 'person' => 'شخص', + 'price' => 'قیمت', + 'product-name' => 'نام محصول', + 'quantity' => 'تعداد', 'quote-id' => 'شناسه نقل‌قول', + 'sales-person' => 'فروشنده', + 'shipping-address' => 'آدرس ارسال', + 'sku' => 'کد SKU', + 'sub-total' => 'جمع جزء', + 'subject' => 'موضوع', + 'tax' => 'مالیات', + 'title' => 'نقل‌قول', ], ], diff --git a/packages/Webkul/Admin/src/Resources/lang/pt_BR/app.php b/packages/Webkul/Admin/src/Resources/lang/pt_BR/app.php index 3fb0166c7..32041f734 100644 --- a/packages/Webkul/Admin/src/Resources/lang/pt_BR/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/pt_BR/app.php @@ -441,23 +441,25 @@ ], 'pdf' => [ - 'title' => 'Cotação', - 'grand-total' => 'Total Geral', 'adjustment' => 'Ajuste', - 'discount' => 'Desconto', - 'tax' => 'Imposto', - 'sub-total' => 'Subtotal', 'amount' => 'Valor', - 'quantity' => 'Quantidade', - 'price' => 'Preço', - 'product-name' => 'Nome do Produto', - 'sku' => 'SKU', - 'shipping-address' => 'Endereço de Envio', 'billing-address' => 'Endereço de Cobrança', - 'expired-at' => 'Expirado em', - 'sales-person' => 'Vendedor', 'date' => 'Data', + 'discount' => 'Desconto', + 'expired-at' => 'Expirado em', + 'grand-total' => 'Total Geral', + 'person' => 'Pessoa', + 'price' => 'Preço', + 'product-name' => 'Nome do Produto', + 'quantity' => 'Quantidade', 'quote-id' => 'ID da Cotação', + 'sales-person' => 'Vendedor', + 'shipping-address' => 'Endereço de Envio', + 'sku' => 'SKU', + 'sub-total' => 'Subtotal', + 'subject' => 'Assunto', + 'tax' => 'Imposto', + 'title' => 'Cotação', ], ], diff --git a/packages/Webkul/Admin/src/Resources/lang/tr/app.php b/packages/Webkul/Admin/src/Resources/lang/tr/app.php index 964f08e70..d1cea78ab 100644 --- a/packages/Webkul/Admin/src/Resources/lang/tr/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/tr/app.php @@ -442,23 +442,25 @@ ], 'pdf' => [ - 'title' => 'Teklif', - 'grand-total' => 'Genel Toplam', 'adjustment' => 'Düzenleme', - 'discount' => 'İndirim', - 'tax' => 'Vergi', - 'sub-total' => 'Ara Toplam', 'amount' => 'Tutar', - 'quantity' => 'Miktar', - 'price' => 'Fiyat', - 'product-name' => 'Ürün Adı', - 'sku' => 'SKU', - 'shipping-address' => 'Teslimat Adresi', 'billing-address' => 'Fatura Adresi', - 'expired-at' => 'Son Kullanma Tarihi', - 'sales-person' => 'Satış Temsilcisi', 'date' => 'Tarih', + 'discount' => 'İndirim', + 'expired-at' => 'Son Kullanma Tarihi', + 'grand-total' => 'Genel Toplam', + 'person' => 'Kişi', + 'price' => 'Fiyat', + 'product-name' => 'Ürün Adı', + 'quantity' => 'Miktar', 'quote-id' => 'Teklif ID', + 'sales-person' => 'Satış Temsilcisi', + 'shipping-address' => 'Teslimat Adresi', + 'sku' => 'SKU', + 'sub-total' => 'Ara Toplam', + 'subject' => 'Konu', + 'tax' => 'Vergi', + 'title' => 'Teklif', ], ], diff --git a/packages/Webkul/Admin/src/Resources/lang/vi/app.php b/packages/Webkul/Admin/src/Resources/lang/vi/app.php index 2d705dbcd..5ceeaf340 100644 --- a/packages/Webkul/Admin/src/Resources/lang/vi/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/vi/app.php @@ -442,23 +442,25 @@ ], 'pdf' => [ - 'title' => 'Báo giá', - 'grand-total' => 'Tổng cộng', 'adjustment' => 'Điều chỉnh', - 'discount' => 'Giảm giá', - 'tax' => 'Thuế', - 'sub-total' => 'Tổng phụ', 'amount' => 'Số tiền', - 'quantity' => 'Số lượng', - 'price' => 'Giá', - 'product-name' => 'Tên sản phẩm', - 'sku' => 'Mã sản phẩm (SKU)', - 'shipping-address' => 'Địa chỉ giao hàng', 'billing-address' => 'Địa chỉ thanh toán', - 'expired-at' => 'Hết hạn vào', - 'sales-person' => 'Nhân viên bán hàng', 'date' => 'Ngày', + 'discount' => 'Giảm giá', + 'expired-at' => 'Hết hạn vào', + 'grand-total' => 'Tổng cộng', + 'person' => 'Người', + 'price' => 'Giá', + 'product-name' => 'Tên sản phẩm', + 'quantity' => 'Số lượng', 'quote-id' => 'ID Báo giá', + 'sales-person' => 'Nhân viên bán hàng', + 'shipping-address' => 'Địa chỉ giao hàng', + 'sku' => 'Mã sản phẩm (SKU)', + 'sub-total' => 'Tổng phụ', + 'subject' => 'Chủ đề', + 'tax' => 'Thuế', + 'title' => 'Báo giá', ], ], diff --git a/packages/Webkul/Admin/src/Resources/views/activities/index.blade.php b/packages/Webkul/Admin/src/Resources/views/activities/index.blade.php index 3ffc0e550..df61a20e3 100644 --- a/packages/Webkul/Admin/src/Resources/views/activities/index.blade.php +++ b/packages/Webkul/Admin/src/Resources/views/activities/index.blade.php @@ -221,7 +221,8 @@ class="text-gray-600 dark:text-gray-300"

- @{{ record.comment }} + {{-- @{{ record.comment }} --}} + @{{ record.comment.length > 180 ? record.comment.slice(0, 180) + '...' : record.comment }}

@@ -232,7 +233,7 @@ class="text-gray-600 dark:text-gray-300"
-
+

@{{ record.schedule_from ?? 'N/A' }} @@ -295,7 +296,7 @@ class="cursor-pointer rounded-md p-1.5 text-2xl transition-all hover:bg-gray-200 :events="events" @ready="getActivities" @view-change="getActivities" - :on-event-click="goToActivity" + @event-click="goToActivity" locale="{{ app()->getLocale() }}" > diff --git a/packages/Webkul/Admin/src/Resources/views/components/attributes/view/text.blade.php b/packages/Webkul/Admin/src/Resources/views/components/attributes/view/text.blade.php index b66f5b87a..1f156b1f3 100755 --- a/packages/Webkul/Admin/src/Resources/views/components/attributes/view/text.blade.php +++ b/packages/Webkul/Admin/src/Resources/views/components/attributes/view/text.blade.php @@ -3,7 +3,7 @@ ::name="'{{ $attribute->code }}'" :value="$value" position="left" - rules="required" + rules="required|{{ $attribute->validation }}" :label="$attribute->name" :placeholder="$attribute->name" ::errors="errors" diff --git a/packages/Webkul/Admin/src/Resources/views/components/datagrid/toolbar/filter.blade.php b/packages/Webkul/Admin/src/Resources/views/components/datagrid/toolbar/filter.blade.php index fb2ccae6a..835cfc9eb 100644 --- a/packages/Webkul/Admin/src/Resources/views/components/datagrid/toolbar/filter.blade.php +++ b/packages/Webkul/Admin/src/Resources/views/components/datagrid/toolbar/filter.blade.php @@ -68,12 +68,12 @@ class="cursor-pointer text-xs font-medium leading-8 text-brandColor hover:underl

-
- + - +

@{{ applied.savedFilterId ? '@lang('admin::app.components.datagrid.toolbar.filter.update-filter')' : '@lang('admin::app.components.datagrid.toolbar.filter.save-filter')' }} diff --git a/packages/Webkul/Admin/src/Resources/views/components/dropdown/index.blade.php b/packages/Webkul/Admin/src/Resources/views/components/dropdown/index.blade.php index 01e77ce9c..4faf14c66 100644 --- a/packages/Webkul/Admin/src/Resources/views/components/dropdown/index.blade.php +++ b/packages/Webkul/Admin/src/Resources/views/components/dropdown/index.blade.php @@ -132,21 +132,21 @@ class="flex select-none items-center" case 'top-left': return [ - `min-width: ${this.toggleBlockWidth}px` + `min-width: ${this.toggleBlockWidth}px`, `bottom: ${this.toggleBlockHeight*2}px`, 'left: 0', ]; case 'top-right': return [ - `min-width: ${this.toggleBlockWidth}px` + `min-width: ${this.toggleBlockWidth}px`, `bottom: ${this.toggleBlockHeight*2}px`, 'right: 0', ]; default: return [ - `min-width: ${this.toggleBlockWidth}px` + `min-width: ${this.toggleBlockWidth}px`, `top: ${this.toggleBlockHeight}px`, 'left: 0', ]; diff --git a/packages/Webkul/Admin/src/Resources/views/components/tags/index.blade.php b/packages/Webkul/Admin/src/Resources/views/components/tags/index.blade.php index 2865d94f2..d80d25ec9 100644 --- a/packages/Webkul/Admin/src/Resources/views/components/tags/index.blade.php +++ b/packages/Webkul/Admin/src/Resources/views/components/tags/index.blade.php @@ -28,7 +28,10 @@ class="flex items-center gap-1 rounded-md bg-rose-100 px-3 py-1.5 text-xs font-m - + diff --git a/packages/Webkul/Admin/src/Resources/views/dashboard/index/open-leads-by-states.blade.php b/packages/Webkul/Admin/src/Resources/views/dashboard/index/open-leads-by-states.blade.php index 1fd8985a1..b88b5da14 100644 --- a/packages/Webkul/Admin/src/Resources/views/dashboard/index/open-leads-by-states.blade.php +++ b/packages/Webkul/Admin/src/Resources/views/dashboard/index/open-leads-by-states.blade.php @@ -43,11 +43,11 @@ class="w-full max-w-full items-end px-12" class="flex w-full flex-col border-b border-gray-200 pb-[9px] pt-2.5 last:border-none dark:border-gray-800" v-for="(stat, index) in report.statistics" > - + @{{ stat.total }} - + @{{ stat.name }} @@ -139,7 +139,7 @@ class="dark:mix-blend-exclusion dark:invert" // Create gradient const gradient = ctx.createLinearGradient(0, 0, 0, 400); - gradient.addColorStop(0, 'rgba(144, 247, 236, 1)'); + gradient.addColorStop(0, 'rgba(144, 247, 236, 0.8)'); gradient.addColorStop(1, 'rgba(50, 204, 188, 1)'); this.chart = new Chart(ctx, { diff --git a/packages/Webkul/Admin/src/Resources/views/leads/create.blade.php b/packages/Webkul/Admin/src/Resources/views/leads/create.blade.php index d21a8c86a..ecc39c37f 100644 --- a/packages/Webkul/Admin/src/Resources/views/leads/create.blade.php +++ b/packages/Webkul/Admin/src/Resources/views/leads/create.blade.php @@ -121,7 +121,7 @@ class="flex flex-col gap-4" ]" /> - +

id }} + + + + @lang('admin::app.quotes.index.pdf.person'): + + + + {{ $quote->person->name }} + + @@ -192,6 +202,16 @@ {{ $quote->user->name }} + + + + @lang('admin::app.quotes.index.pdf.subject'): + + + + {{ $quote->subject }} + + @@ -205,6 +225,18 @@ + + + @lang('admin::app.quotes.index.pdf.sales-person'): + + + + {{ $quote->user->name }} + + + + + @lang('admin::app.quotes.index.pdf.expired-at'): diff --git a/packages/Webkul/Admin/src/Resources/views/settings/groups/index.blade.php b/packages/Webkul/Admin/src/Resources/views/settings/groups/index.blade.php index 8c32ced4b..d31dae48d 100644 --- a/packages/Webkul/Admin/src/Resources/views/settings/groups/index.blade.php +++ b/packages/Webkul/Admin/src/Resources/views/settings/groups/index.blade.php @@ -157,7 +157,7 @@ class="cursor-pointer rounded-md p-1.5 text-2xl transition-all hover:bg-gray-200 type="text" id="name" name="name" - rules="required" + rules="required|min:0|max:50" :label="trans('admin::app.settings.groups.index.create.name')" :placeholder="trans('admin::app.settings.groups.index.create.name')" /> @@ -179,7 +179,7 @@ class="cursor-pointer rounded-md p-1.5 text-2xl transition-all hover:bg-gray-200 type="textarea" id="description" name="description" - rules="required" + rules="required|max:250" :label="trans('admin::app.settings.groups.index.create.description')" :placeholder="trans('admin::app.settings.groups.index.create.description')" /> diff --git a/packages/Webkul/Admin/src/Resources/views/settings/pipelines/edit.blade.php b/packages/Webkul/Admin/src/Resources/views/settings/pipelines/edit.blade.php index 69ad1df14..97b284373 100644 --- a/packages/Webkul/Admin/src/Resources/views/settings/pipelines/edit.blade.php +++ b/packages/Webkul/Admin/src/Resources/views/settings/pipelines/edit.blade.php @@ -148,10 +148,7 @@ class="cursor-pointer" class="flex gap-4" >