diff --git a/packages/Webkul/Admin/src/DataGrids/OrderInvoicesDataGrid.php b/packages/Webkul/Admin/src/DataGrids/OrderInvoicesDataGrid.php index 11b545ef7..0570987c3 100755 --- a/packages/Webkul/Admin/src/DataGrids/OrderInvoicesDataGrid.php +++ b/packages/Webkul/Admin/src/DataGrids/OrderInvoicesDataGrid.php @@ -45,6 +45,19 @@ class OrderInvoicesDataGrid extends DataGrid 'filterable' => true, ]); + $this->addColumn([ + 'index' => 'created_at', + 'label' => trans('admin::app.datagrid.invoice-date'), + 'type' => 'string', + 'searchable' => true, + 'sortable' => true, + 'filterable' => true, + 'closure' => true, + 'wrapper' => function ($value) { + return \Carbon\Carbon::parse($value->created_at)->format('d-m-Y'); + } + ]); + $this->addColumn([ 'index' => 'base_grand_total', 'label' => trans('admin::app.datagrid.grand-total'), @@ -55,12 +68,22 @@ class OrderInvoicesDataGrid extends DataGrid ]); $this->addColumn([ - 'index' => 'created_at', - 'label' => trans('admin::app.datagrid.invoice-date'), - 'type' => 'datetime', + 'index' => 'state', + 'label' => trans('admin::app.datagrid.state'), + 'type' => 'string', + 'closure' => true, 'searchable' => true, 'sortable' => true, 'filterable' => true, + 'wrapper' => function ($value) { + if ($value->state == 'paid') { + return ''. trans('admin::app.sales.orders.invoice-status-paid') .''; + } elseif ($value->state == "pending") { + return ''. trans('admin::app.sales.orders.invoice-status-pending') .''; + } elseif ($value->state == "overdue") { + return ''. trans('admin::app.sales.orders.invoice-status-overdue') . ''; + } + } ]); } diff --git a/packages/Webkul/Admin/src/Http/Controllers/Customer/CustomerController.php b/packages/Webkul/Admin/src/Http/Controllers/Customer/CustomerController.php index 18ec38400..4c4de66c7 100755 --- a/packages/Webkul/Admin/src/Http/Controllers/Customer/CustomerController.php +++ b/packages/Webkul/Admin/src/Http/Controllers/Customer/CustomerController.php @@ -64,12 +64,12 @@ class CustomerController extends Controller CustomerGroupRepository $customerGroupRepository, ChannelRepository $channelRepository ) - + { $this->_config = request('_config'); $this->middleware('admin'); $this->customerRepository = $customerRepository; - + $this->customerAddressRepository = $customerAddressRepository; $this->customerGroupRepository = $customerGroupRepository; $this->channelRepository = $channelRepository; @@ -200,12 +200,19 @@ class CustomerController extends Controller $customer = $this->customerRepository->findorFail($id); try { - $this->customerRepository->delete($id); + + if (! $this->customerRepository->checkIfCustomerHasOrderPendingOrProcessing($customer)) { + + $this->customerRepository->delete($id); + } else { + + return response()->json(['message' => false], 400); + } session()->flash('success', trans('admin::app.response.delete-success', ['name' => 'Customer'])); - return response()->json(['message' => true], 200); } catch (\Exception $e) { + session()->flash('error', trans('admin::app.response.delete-failed', ['name' => 'Customer'])); } @@ -279,12 +286,18 @@ class CustomerController extends Controller { $customerIds = explode(',', request()->input('indexes')); - foreach ($customerIds as $customerId) { - $this->customerRepository->deleteWhere(['id' => $customerId]); + if (!$this->customerRepository->checkBulkCustomerIfTheyHaveOrderPendingOrProcessing($customerIds)) { + + foreach ($customerIds as $customerId) { + $this->customerRepository->deleteWhere(['id' => $customerId]); + } + + session()->flash('success', trans('admin::app.customers.customers.mass-destroy-success')); + + return redirect()->back(); } - session()->flash('success', trans('admin::app.customers.customers.mass-destroy-success')); - + session()->flash('error', trans('admin::app.response.order-pending', ['name' => 'Customers'])); return redirect()->back(); } } \ No newline at end of file diff --git a/packages/Webkul/Admin/src/Http/Controllers/Sales/InvoiceController.php b/packages/Webkul/Admin/src/Http/Controllers/Sales/InvoiceController.php index 3931fc268..2d346bf2a 100755 --- a/packages/Webkul/Admin/src/Http/Controllers/Sales/InvoiceController.php +++ b/packages/Webkul/Admin/src/Http/Controllers/Sales/InvoiceController.php @@ -2,9 +2,12 @@ namespace Webkul\Admin\Http\Controllers\Sales; +use Illuminate\Http\Request; + use Webkul\Admin\Http\Controllers\Controller; use Webkul\Sales\Repositories\OrderRepository; use Webkul\Sales\Repositories\InvoiceRepository; + use PDF; class InvoiceController extends Controller @@ -97,7 +100,7 @@ class InvoiceController extends Controller $data = request()->all(); $haveProductToInvoice = false; - + foreach ($data['invoice']['items'] as $itemId => $qty) { if ($qty) { $haveProductToInvoice = true; @@ -145,4 +148,29 @@ class InvoiceController extends Controller return $pdf->download('invoice-' . $invoice->created_at->format('d-m-Y') . '.pdf'); } + + /** + * Update the invoice state. + * + * @param int $id + * @return \Illuminate\Http\Response + */ + public function updateState($id, Request $request) + { + $invoice = $this->invoiceRepository->findOrFail($id); + $task = $this->invoiceRepository->updateInvoiceState($invoice, $request->state); + + if($request->state == 'paid'){ + $order = $this->orderRepository->findOrFail($invoice->order->id); + $this->orderRepository->updateOrderStatus($order); + } + + if ($task){ + session()->flash('success', trans('admin::app.sales.orders.invoice-status-confirmed')); + } else { + session()->flash('success', trans('admin::app.sales.orders.invoice-status-error')); + } + + return back(); + } } diff --git a/packages/Webkul/Admin/src/Http/Requests/ConfigurationForm.php b/packages/Webkul/Admin/src/Http/Requests/ConfigurationForm.php index 4611ad6b5..3eb339d75 100644 --- a/packages/Webkul/Admin/src/Http/Requests/ConfigurationForm.php +++ b/packages/Webkul/Admin/src/Http/Requests/ConfigurationForm.php @@ -29,9 +29,17 @@ class ConfigurationForm extends FormRequest if (request()->has('general.design.admin_logo.logo_image') && ! request()->input('general.design.admin_logo.logo_image.delete') ) { - $this->rules = [ - 'general.design.admin_logo.logo_image' => 'required|mimes:jpeg,bmp,png,jpg', - ]; + $this->rules = array_merge($this->rules, [ + 'general.design.admin_logo.logo_image' => 'required|mimes:jpeg,bmp,png,jpg|max:5000', + ]); + } + + if (request()->has('general.design.admin_logo.favicon') + && ! request()->input('general.design.admin_logo.favicon.delete') + ) { + $this->rules = array_merge($this->rules, [ + 'general.design.admin_logo.favicon' => 'required|mimes:jpeg,bmp,png,jpg|max:5000', + ]); } return $this->rules; @@ -48,4 +56,15 @@ class ConfigurationForm extends FormRequest 'general.design.admin_logo.logo_image.mimes' => 'Invalid file format. Use only jpeg, bmp, png, jpg.', ]; } -} + + /** + * Set the attribute name. + */ + public function attributes() + { + return [ + 'general.design.admin_logo.logo_image' => 'Logo Image', + 'general.design.admin_logo.favicon' => 'Favicon Image' + ]; + } +} \ No newline at end of file diff --git a/packages/Webkul/Admin/src/Http/routes.php b/packages/Webkul/Admin/src/Http/routes.php index b0db82981..2182968a9 100755 --- a/packages/Webkul/Admin/src/Http/routes.php +++ b/packages/Webkul/Admin/src/Http/routes.php @@ -211,6 +211,10 @@ Route::group(['middleware' => ['web']], function () { 'view' => 'admin::sales.invoices.print', ])->name('admin.sales.invoices.print'); + Route::post('/invoices/update/state/{order_id}', 'Webkul\Admin\Http\Controllers\Sales\InvoiceController@updateState')->defaults('_config', [ + 'redirect' => 'admin.sales.orders.view', + ])->name('admin.sales.invoices.update.state'); + // Sales Shipments Routes Route::get('/shipments', 'Webkul\Admin\Http\Controllers\Sales\ShipmentController@index')->defaults('_config', [ diff --git a/packages/Webkul/Admin/src/Listeners/Order.php b/packages/Webkul/Admin/src/Listeners/Order.php index f2e1c06c5..7bebf23b9 100755 --- a/packages/Webkul/Admin/src/Listeners/Order.php +++ b/packages/Webkul/Admin/src/Listeners/Order.php @@ -3,14 +3,15 @@ namespace Webkul\Admin\Listeners; use Illuminate\Support\Facades\Mail; -use Webkul\Admin\Mail\NewOrderNotification; use Webkul\Admin\Mail\NewAdminNotification; -use Webkul\Admin\Mail\NewInvoiceNotification; -use Webkul\Admin\Mail\NewShipmentNotification; -use Webkul\Admin\Mail\NewInventorySourceNotification; -use Webkul\Admin\Mail\CancelOrderNotification; +use Webkul\Admin\Mail\NewOrderNotification; use Webkul\Admin\Mail\NewRefundNotification; +use Webkul\Admin\Mail\NewInvoiceNotification; +use Webkul\Admin\Mail\CancelOrderNotification; +use Webkul\Admin\Mail\NewShipmentNotification; use Webkul\Admin\Mail\OrderCommentNotification; +use Webkul\Admin\Mail\CancelOrderAdminNotification; +use Webkul\Admin\Mail\NewInventorySourceNotification; class Order { @@ -117,10 +118,18 @@ class Order public function sendCancelOrderMail($order) { try { + /* email to customer */ $configKey = 'emails.general.notifications.emails.general.notifications.cancel-order'; if (core()->getConfigData($configKey)) { Mail::queue(new CancelOrderNotification($order)); } + + /* email to admin */ + $configKey = 'emails.general.notifications.emails.general.notifications.new-admin'; + if (core()->getConfigData($configKey)) { + app()->setLocale(env('APP_LOCALE')); + Mail::queue(new CancelOrderAdminNotification($order)); + } } catch (\Exception $e) { report($e); } diff --git a/packages/Webkul/Admin/src/Listeners/PasswordChange.php b/packages/Webkul/Admin/src/Listeners/PasswordChange.php new file mode 100644 index 000000000..88fedf523 --- /dev/null +++ b/packages/Webkul/Admin/src/Listeners/PasswordChange.php @@ -0,0 +1,31 @@ +order = $order; + } + + public function build() + { + return $this->from(core()->getSenderEmailDetails()['email'], core()->getSenderEmailDetails()['name']) + ->to(core()->getAdminEmailDetails()['email']) + ->subject(trans('shop::app.mail.order.cancel.subject')) + ->view('shop::emails.sales.order-cancel-admin'); + } +} \ No newline at end of file diff --git a/packages/Webkul/Admin/src/Mail/OrderCommentNotification.php b/packages/Webkul/Admin/src/Mail/OrderCommentNotification.php index c76361e7c..09ffdaa16 100644 --- a/packages/Webkul/Admin/src/Mail/OrderCommentNotification.php +++ b/packages/Webkul/Admin/src/Mail/OrderCommentNotification.php @@ -38,7 +38,7 @@ class OrderCommentNotification extends Mailable { return $this->from(core()->getSenderEmailDetails()['email'], core()->getSenderEmailDetails()['name']) ->to($this->comment->order->customer_email, $this->comment->order->customer_full_name) - ->subject(trans('shop::app.mail.order.comment.subject')) + ->subject(trans('shop::app.mail.order.comment.subject', ['order_id' => $this->comment->order->increment_id])) ->view('shop::emails.sales.new-order-comment'); } } diff --git a/packages/Webkul/Admin/src/Providers/EventServiceProvider.php b/packages/Webkul/Admin/src/Providers/EventServiceProvider.php index cb38d77c1..f40932b14 100755 --- a/packages/Webkul/Admin/src/Providers/EventServiceProvider.php +++ b/packages/Webkul/Admin/src/Providers/EventServiceProvider.php @@ -14,6 +14,8 @@ class EventServiceProvider extends ServiceProvider */ public function boot() { + Event::listen('user.admin.update-password', 'Webkul\Admin\Listeners\PasswordChange@sendUpdatePasswordMail'); + Event::listen('checkout.order.save.after', 'Webkul\Admin\Listeners\Order@sendNewOrderMail'); Event::listen('sales.invoice.save.after', 'Webkul\Admin\Listeners\Order@sendNewInvoiceMail'); diff --git a/packages/Webkul/Admin/src/Resources/lang/de/app.php b/packages/Webkul/Admin/src/Resources/lang/de/app.php index 2730b3770..923a3793c 100755 --- a/packages/Webkul/Admin/src/Resources/lang/de/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/de/app.php @@ -138,7 +138,7 @@ return [ ], 'datagrid' => [ - 'mass-ops' => + 'mass-ops' => [ 'method-error' => 'Fehler! Falsche Methode erkannt, überprüfen Sie die Konfiguration der Massenaktion', 'delete-success' => 'Ausgewählte :resource wurden erfolgreich gelöscht', @@ -146,86 +146,86 @@ return [ 'update-success' => 'Ausgewählt :resource wurden erfolgreich aktualisiert', 'no-resource' => 'Die bereitgestellte Ressource reicht für die Aktion nicht aus', ], - 'id' => 'Id', - 'status' => 'Status', - 'code' => 'Code', - 'admin-name' => 'Name', - 'name' => 'Name', - 'direction' => 'Richtung', - 'fullname' => 'Vollständiger Name', - 'type' => 'Typ', - 'copy' => 'Kopieren', - 'required' => 'Erforderlich', - 'unique' => 'Einzigartig', - 'per-locale' => 'Sprach-basierend', - 'per-channel' => 'Channel-basierend', - 'position' => 'Position', - 'locale' => 'Sprache', - 'hostname' => 'Hostname', - 'email' => 'E-Mail', - 'group' => 'Gruppe', - 'phone' => 'Telefon', - 'gender' => 'Geschlecht', - 'title' => 'Titel', - 'layout' => 'Layout', - 'url-key' => 'URL-Schlüssel', - 'comment' => 'Kommentar', - 'product-name' => 'Produkt', - 'currency-name' => 'Währungsname', - 'exch-rate' => 'Tauschrate', - 'priority' => 'Priorität', - 'subscribed' => 'Abonniert', - 'base-total' => 'Basis Gesamt', - 'grand-total' => 'Gesamtsumme', - 'order-date' => 'Bestelldatum', - 'channel-name' => 'Kanal Name', - 'billed-to' => 'Rechnung an', - 'shipped-to' => 'Versendet an', - 'order-id' => 'Auftragsnummer', - 'invoice-date' => 'Rechnungsdatum', - 'total-qty' => 'Gesamtmenge', + 'id' => 'Id', + 'status' => 'Status', + 'code' => 'Code', + 'admin-name' => 'Name', + 'name' => 'Name', + 'direction' => 'Richtung', + 'fullname' => 'Vollständiger Name', + 'type' => 'Typ', + 'copy' => 'Kopieren', + 'required' => 'Erforderlich', + 'unique' => 'Einzigartig', + 'per-locale' => 'Sprach-basierend', + 'per-channel' => 'Channel-basierend', + 'position' => 'Position', + 'locale' => 'Sprache', + 'hostname' => 'Hostname', + 'email' => 'E-Mail', + 'group' => 'Gruppe', + 'phone' => 'Telefon', + 'gender' => 'Geschlecht', + 'title' => 'Titel', + 'layout' => 'Layout', + 'url-key' => 'URL-Schlüssel', + 'comment' => 'Kommentar', + 'product-name' => 'Produkt', + 'currency-name' => 'Währungsname', + 'exch-rate' => 'Tauschrate', + 'priority' => 'Priorität', + 'subscribed' => 'Abonniert', + 'base-total' => 'Basis Gesamt', + 'grand-total' => 'Gesamtsumme', + 'order-date' => 'Bestelldatum', + 'channel-name' => 'Kanal Name', + 'billed-to' => 'Rechnung an', + 'shipped-to' => 'Versendet an', + 'order-id' => 'Auftragsnummer', + 'invoice-date' => 'Rechnungsdatum', + 'total-qty' => 'Gesamtmenge', 'inventory-source' => 'Inventar Quelle', - 'shipment-date' => 'Versand Datum', - 'shipment-to' => 'Versand', - 'sku' => 'SKU', - 'price' => 'Preis', - 'qty' => 'Menge', - 'permission-type' => 'Berechtigungsart', - 'identifier' => 'Bezeichner', - 'state' => 'Bundesland', - 'country' => 'Land', - 'tax-rate' => 'Rate', - 'role' => 'Rolle', - 'sub-total' => 'Zwischensumme', - 'no-of-products' => 'Anzahl der Produkte', + 'shipment-date' => 'Versand Datum', + 'shipment-to' => 'Versand', + 'sku' => 'SKU', + 'price' => 'Preis', + 'qty' => 'Menge', + 'permission-type' => 'Berechtigungsart', + 'identifier' => 'Bezeichner', + 'state' => 'Bundesland', + 'country' => 'Land', + 'tax-rate' => 'Rate', + 'role' => 'Rolle', + 'sub-total' => 'Zwischensumme', + 'no-of-products' => 'Anzahl der Produkte', 'attribute-family' => 'Attributgruppe', - 'starts-from' => 'Beginnt von', - 'ends-till' => 'Endet bis', - 'per-cust' => 'Pro Kunde', - 'usage-throttle' => 'Einsatzzeiten', - 'for-guest' => 'Für Gäste', - 'order_number' => 'Auftragsnummer', - 'refund-date' => 'Rückerstattung Datum', - 'refunded' => 'Erstattet', - 'start' => 'Starten', - 'end' => 'Ende', - 'active' => 'Aktiv', - 'inactive' => 'Inaktiv', - 'true' => 'Wahr', - 'false' => 'Falsch', - 'approved' => 'Genehmigt', - 'pending' => 'Ausstehend', - 'disapproved' => 'Abgelehnt', - 'coupon-code' => 'Gutschein-Code', - 'times-used' => 'Mal Verwendet', - 'created-date' => 'Erstellt-Datum', - 'expiration-date' => 'Ablaufdatum', - 'edit' => 'Bearbeiten', - 'delete' => 'Löschen', - 'view' => 'Anzeigen', - 'rtl' => 'RTL', - 'ltr' => 'LTR', - 'update-status' => 'Update-Status', + 'starts-from' => 'Beginnt von', + 'ends-till' => 'Endet bis', + 'per-cust' => 'Pro Kunde', + 'usage-throttle' => 'Einsatzzeiten', + 'for-guest' => 'Für Gäste', + 'order_number' => 'Auftragsnummer', + 'refund-date' => 'Rückerstattung Datum', + 'refunded' => 'Erstattet', + 'start' => 'Starten', + 'end' => 'Ende', + 'active' => 'Aktiv', + 'inactive' => 'Inaktiv', + 'true' => 'Wahr', + 'false' => 'Falsch', + 'approved' => 'Genehmigt', + 'pending' => 'Ausstehend', + 'disapproved' => 'Abgelehnt', + 'coupon-code' => 'Gutschein-Code', + 'times-used' => 'Mal Verwendet', + 'created-date' => 'Erstellt-Datum', + 'expiration-date' => 'Ablaufdatum', + 'edit' => 'Bearbeiten', + 'delete' => 'Löschen', + 'view' => 'Anzeigen', + 'rtl' => 'RTL', + 'ltr' => 'LTR', + 'update-status' => 'Update-Status', ], 'account' => [ @@ -310,269 +310,275 @@ return [ 'submit-btn-title' => 'Anmelden', ], ], - 'sales' => - [ - 'orders' => - [ - 'title' => 'Bestellungen', - 'view-title' => 'Bestellung #:order_id', - 'cancel-btn-title' => 'Abbrechen', - 'shipment-btn-title' => 'Sendung', - 'invoice-btn-title' => 'Rechnung', - 'info' => 'Informationen', - 'invoices' => 'Rechnungen', - 'shipments' => 'Sendungen', - 'order-and-account' => 'Bestellung und Rechnung', - 'order-info' => 'Bestellinformationen', - 'order-date' => 'Bestelldatum', - 'order-status' => 'Bestellstatus', - 'order-status-canceled' => 'Abgebrochen', - 'order-status-closed' => 'Geschlossen', - 'order-status-fraud' => 'Betrug', - 'order-status-pending' => 'Ausstehend', - 'order-status-pending-payment' => 'Ausstehende Zahlung', - 'order-status-processing' => 'Verarbeitung', - 'order-status-success' => 'Abgeschlossen', - 'channel' => 'Kanal', - 'customer-name' => 'Name des Kunden', - 'email' => 'E-Mail', - 'contact-number' => 'Kontakt-Nummer', - 'account-info' => 'Account-Informationen', - 'address' => 'Adresse', - 'shipping-address' => 'Versandadresse', - 'billing-address' => 'Rechnungsadresse', - 'payment-and-shipping' => 'Zahlung und Versand', - 'payment-info' => 'Zahlungsinformationen', - 'payment-method' => 'Zahlungsmethode', - 'currency' => 'Währung', - 'shipping-info' => 'Versand-Informationen', - 'shipping-method' => 'Versandart', - 'shipping-price' => 'Versandkosten', - 'products-ordered' => 'Bestellte Produkte', - 'SKU' => 'SKU', - 'product-name' => 'Produktname', - 'qty' => 'Menge', - 'item-status' => 'Produktstatus', - 'item-ordered' => 'Bestellt (:qty_ordered)', - 'item-invoice' => 'In Rechnung gestellt (:qty_invoiced)', - 'item-shipped' => 'Versand (:qty_shipped)', - 'item-canceled' => 'Abgebrochen (:qty_canceled)', - 'item-refunded' => 'Erstattet (:qty_refunded)', - 'price' => 'Preis', - 'total' => 'Insgesamt', - 'subtotal' => 'Zwischensumme', - 'shipping-handling' => 'Versand & Verpackungskosten', - 'discount' => 'Rabatt', - 'tax' => 'Umsatzsteuer', - 'tax-percent' => 'Umsatzsteuer Prozent', - 'tax-amount' => 'Umsatzsteuer Betrag', - 'discount-amount' => 'Rabatt Betrag', - 'grand-total' => 'Gesamtsumme', - 'total-paid' => 'Insgesamt Bezahlt', - 'total-refunded' => 'Insgesamt Erstattet', - 'total-due' => 'Insgesamt fällig', - 'cancel-confirm-msg' => 'Sind Sie sicher, dass Sie diese Bestellung stornieren möchten?', - 'refund-btn-title' => 'Rückerstattung', - 'refunds' => 'Erstattungen', - ], - 'invoices' => - [ - 'title' => 'Rechnungen', - 'id' => 'Id', - 'invoice-id' => 'Rechnungsnummer', - 'date' => 'Rechnungsdatum', - 'order-id' => 'Auftragsnummer', - 'customer-name' => 'Name des Kunden', - 'status' => 'Status', - 'amount' => 'Betrag', - 'action' => 'Aktion', - 'add-title' => 'Rechnung erstellen', - 'save-btn-title' => 'Rechnung speichern', - 'qty' => 'Menge', - 'qty-ordered' => 'Bestellte Menge', - 'qty-to-invoice' => 'Menge in Rechnung zu stellen', - 'view-title' => 'Rechnung #:invoice_id', - 'bill-to' => 'Rechnung an', - 'ship-to' => 'Versenden an', - 'print' => 'Drucken', - 'order-date' => 'Bestell-Datum', - 'creation-error' => 'Die Erstellung einer Bestellrechnung ist nicht zulässig.', - 'product-error' => 'Eine Rechnung kann nicht ohne Produkte erstellt werden.', - ], - 'shipments' => - [ - 'title' => 'Sendungen', - 'id' => 'Id', - 'date' => 'Versanddatum', - 'order-id' => 'Auftragsnummer', - 'order-date' => 'Bestelldatum', - 'customer-name' => 'Name des Kunden', - 'total-qty' => 'Menge insgesamt', - 'action' => 'Aktion', - 'add-title' => 'Sendung anlegen', - 'save-btn-title' => 'Versandkosten sparen', - 'qty-ordered' => 'Bestellte Menge', - 'qty-to-ship' => 'Menge zu versenden', - 'available-sources' => 'Verfügbaren Quellen', - 'source' => 'Quelle', - 'select-source' => 'Bitte wählen sie die Quelle', - 'qty-available' => 'Menge verfügbar', - 'inventory-source' => 'Inventarquelle', - 'carrier-title' => 'Zulieferer', - 'tracking-number' => 'Tracking-Nummer', - 'view-title' => 'Versand #:shipment_id', - 'creation-error' => 'Für diese Bestellung kann kein Versand erstellt werden.', - 'order-error' => 'Die Erstellung von Auftragssendungen ist nicht zulässig.', - 'quantity-invalid' => 'Die angeforderte Menge ist ungültig oder nicht verfügbar.', - ], - 'refunds' => - [ - 'title' => 'Erstattungen', - 'id' => 'Id', - 'add-title' => 'Erstattung erstellen', - 'save-btn-title' => 'Rückerstattung', - 'order-id' => 'Auftragsnummer', - 'qty-ordered' => 'Bestellte Menge', - 'qty-to-refund' => 'Menge zu erstatten', - 'refund-shipping' => 'Erstattung Versand', - 'adjustment-refund' => 'Rückerstattung anpassen', - 'adjustment-fee' => 'Gebühr anpassen', - 'update-qty' => 'Mengen anpassen', - 'invalid-qty' => 'Wir haben eine ungültige Menge gefunden, um Artikel zu erstatten.', - 'refund-limit-error' => 'Das meiste Geld, das zur Rückerstattung zur Verfügung steht, ist :Höhe.', - 'refunded' => 'Erstattet', - 'date' => 'Rückerstattungsdatum', - 'customer-name' => 'Name des Kunden', - 'status' => 'Status', - 'action' => 'Aktion', - 'view-title' => 'Rückerstattung #:refund_id', - 'invalid-refund-amount-error' => 'Der Rückerstattungsbetrag sollte nicht Null sein.', - ], + 'sales' => [ + 'orders' => [ + 'title' => 'Bestellungen', + 'view-title' => 'Bestellung #:order_id', + 'cancel-btn-title' => 'Abbrechen', + 'shipment-btn-title' => 'Sendung', + 'invoice-btn-title' => 'Rechnung', + 'info' => 'Informationen', + 'invoices' => 'Rechnungen', + 'invoices-change-title' => 'Rechnungsstatus ändern', + 'invoices-change-state-desc' => 'Bitte wählen Sie den neuen Rechnungsstatus', + 'invoice-status-paid' => 'Bezahlt', + 'invoice-status-pending' => 'Offen', + 'invoice-status-overdue' => 'Überfällig', + 'invoice-status-update' => 'Änderungen speichern', + 'invoice-status-confirmed' => 'Der Bestellstatus wurde verändert.', + 'invoice-status-error' => 'Fehler beim Ändern des Bestellstatus.', + 'shipments' => 'Sendungen', + 'order-and-account' => 'Bestellung und Rechnung', + 'order-info' => 'Bestellinformationen', + 'order-date' => 'Bestelldatum', + 'order-status' => 'Bestellstatus', + 'order-status-canceled' => 'Abgebrochen', + 'order-status-closed' => 'Geschlossen', + 'order-status-fraud' => 'Betrug', + 'order-status-pending' => 'Ausstehend', + 'order-status-pending-payment' => 'Ausstehende Zahlung', + 'order-status-processing' => 'Verarbeitung', + 'order-status-success' => 'Abgeschlossen', + 'channel' => 'Kanal', + 'customer-name' => 'Name des Kunden', + 'email' => 'E-Mail', + 'contact-number' => 'Kontakt-Nummer', + 'account-info' => 'Account-Informationen', + 'address' => 'Adresse', + 'shipping-address' => 'Versandadresse', + 'billing-address' => 'Rechnungsadresse', + 'payment-and-shipping' => 'Zahlung und Versand', + 'payment-info' => 'Zahlungsinformationen', + 'payment-method' => 'Zahlungsmethode', + 'currency' => 'Währung', + 'shipping-info' => 'Versand-Informationen', + 'shipping-method' => 'Versandart', + 'shipping-price' => 'Versandkosten', + 'products-ordered' => 'Bestellte Produkte', + 'SKU' => 'SKU', + 'product-name' => 'Produktname', + 'qty' => 'Menge', + 'item-status' => 'Produktstatus', + 'item-ordered' => 'Bestellt (:qty_ordered)', + 'item-invoice' => 'In Rechnung gestellt (:qty_invoiced)', + 'item-shipped' => 'Versand (:qty_shipped)', + 'item-canceled' => 'Abgebrochen (:qty_canceled)', + 'item-refunded' => 'Erstattet (:qty_refunded)', + 'price' => 'Preis', + 'total' => 'Insgesamt', + 'subtotal' => 'Zwischensumme', + 'shipping-handling' => 'Versand & Verpackungskosten', + 'discount' => 'Rabatt', + 'tax' => 'Umsatzsteuer', + 'tax-percent' => 'Umsatzsteuer Prozent', + 'tax-amount' => 'Umsatzsteuer Betrag', + 'discount-amount' => 'Rabatt Betrag', + 'grand-total' => 'Gesamtsumme', + 'total-paid' => 'Insgesamt Bezahlt', + 'total-refunded' => 'Insgesamt Erstattet', + 'total-due' => 'Insgesamt fällig', + 'cancel-confirm-msg' => 'Sind Sie sicher, dass Sie diese Bestellung stornieren möchten?', + 'refund-btn-title' => 'Rückerstattung', + 'refunds' => 'Erstattungen', ], + 'invoices' => + [ + 'title' => 'Rechnungen', + 'id' => 'Id', + 'invoice-id' => 'Rechnungsnummer', + 'date' => 'Rechnungsdatum', + 'order-id' => 'Auftragsnummer', + 'customer-name' => 'Name des Kunden', + 'status' => 'Status', + 'amount' => 'Betrag', + 'action' => 'Aktion', + 'add-title' => 'Rechnung erstellen', + 'save-btn-title' => 'Rechnung speichern', + 'qty' => 'Menge', + 'qty-ordered' => 'Bestellte Menge', + 'qty-to-invoice' => 'Menge in Rechnung zu stellen', + 'view-title' => 'Rechnung #:invoice_id', + 'bill-to' => 'Rechnung an', + 'ship-to' => 'Versenden an', + 'print' => 'Drucken', + 'order-date' => 'Bestell-Datum', + 'creation-error' => 'Die Erstellung einer Bestellrechnung ist nicht zulässig.', + 'product-error' => 'Eine Rechnung kann nicht ohne Produkte erstellt werden.', + ], + 'shipments' => + [ + 'title' => 'Sendungen', + 'id' => 'Id', + 'date' => 'Versanddatum', + 'order-id' => 'Auftragsnummer', + 'order-date' => 'Bestelldatum', + 'customer-name' => 'Name des Kunden', + 'total-qty' => 'Menge insgesamt', + 'action' => 'Aktion', + 'add-title' => 'Sendung anlegen', + 'save-btn-title' => 'Versandkosten sparen', + 'qty-ordered' => 'Bestellte Menge', + 'qty-to-ship' => 'Menge zu versenden', + 'available-sources' => 'Verfügbaren Quellen', + 'source' => 'Quelle', + 'select-source' => 'Bitte wählen sie die Quelle', + 'qty-available' => 'Menge verfügbar', + 'inventory-source' => 'Inventarquelle', + 'carrier-title' => 'Zulieferer', + 'tracking-number' => 'Tracking-Nummer', + 'view-title' => 'Versand #:shipment_id', + 'creation-error' => 'Für diese Bestellung kann kein Versand erstellt werden.', + 'order-error' => 'Die Erstellung von Auftragssendungen ist nicht zulässig.', + 'quantity-invalid' => 'Die angeforderte Menge ist ungültig oder nicht verfügbar.', + ], + 'refunds' => + [ + 'title' => 'Erstattungen', + 'id' => 'Id', + 'add-title' => 'Erstattung erstellen', + 'save-btn-title' => 'Rückerstattung', + 'order-id' => 'Auftragsnummer', + 'qty-ordered' => 'Bestellte Menge', + 'qty-to-refund' => 'Menge zu erstatten', + 'refund-shipping' => 'Erstattung Versand', + 'adjustment-refund' => 'Rückerstattung anpassen', + 'adjustment-fee' => 'Gebühr anpassen', + 'update-qty' => 'Mengen anpassen', + 'invalid-qty' => 'Wir haben eine ungültige Menge gefunden, um Artikel zu erstatten.', + 'refund-limit-error' => 'Das meiste Geld, das zur Rückerstattung zur Verfügung steht, ist :Höhe.', + 'refunded' => 'Erstattet', + 'date' => 'Rückerstattungsdatum', + 'customer-name' => 'Name des Kunden', + 'status' => 'Status', + 'action' => 'Aktion', + 'view-title' => 'Rückerstattung #:refund_id', + 'invalid-refund-amount-error' => 'Der Rückerstattungsbetrag sollte nicht Null sein.', + ], + ], 'catalog' => [ 'products' => [ - 'title' => 'Produkte', - 'add-product-btn-title' => 'Produkt hinzufügen', - 'add-title' => 'Produkt hinzufügen', - 'edit-title' => 'Produkt bearbeiten', - 'save-btn-title' => 'Produkt speichern', - 'general' => 'Allgemein', - 'product-type' => 'Produkttyp', - 'simple' => 'Einfach', - 'configurable' => 'Konfigurierbar', - 'familiy' => 'Attributgruppe', - 'sku' => 'SKU', - 'configurable-attributes' => 'Konfigurierbare Attribute', - 'attribute-header' => 'Attribut(s)', - 'attribute-option-header' => 'Attribut Option(s)', - 'no' => 'Nein', - 'yes' => 'Ja', - 'disabled' => 'Deaktiviert', - 'enabled' => 'Aktiviert', - 'add-variant-btn-title' => 'Variante hinzufügen', - 'name' => 'Name', - 'qty' => 'Menge', - 'price' => 'Preis', - 'weight' => 'Gewicht', - 'status' => 'Status', - 'add-variant-title' => 'Variante hinzufügen', + 'title' => 'Produkte', + 'add-product-btn-title' => 'Produkt hinzufügen', + 'add-title' => 'Produkt hinzufügen', + 'edit-title' => 'Produkt bearbeiten', + 'save-btn-title' => 'Produkt speichern', + 'general' => 'Allgemein', + 'product-type' => 'Produkttyp', + 'simple' => 'Einfach', + 'configurable' => 'Konfigurierbar', + 'familiy' => 'Attributgruppe', + 'sku' => 'SKU', + 'configurable-attributes' => 'Konfigurierbare Attribute', + 'attribute-header' => 'Attribut(s)', + 'attribute-option-header' => 'Attribut Option(s)', + 'no' => 'Nein', + 'yes' => 'Ja', + 'disabled' => 'Deaktiviert', + 'enabled' => 'Aktiviert', + 'add-variant-btn-title' => 'Variante hinzufügen', + 'name' => 'Name', + 'qty' => 'Menge', + 'price' => 'Preis', + 'weight' => 'Gewicht', + 'status' => 'Status', + 'add-variant-title' => 'Variante hinzufügen', 'variant-already-exist-message' => 'Eine Variante mit denselben Attributoptionen ist bereits vorhanden.', - 'add-image-btn-title' => 'Bild hinzufügen', - 'mass-delete-success' => 'Alle ausgewählten Produkte wurden erfolgreich gelöscht', - 'mass-update-success' => 'Alle ausgewählten Produkte wurden erfolgreich aktualisiert', - 'configurable-error' => 'Bitte wählen Sie mindestens eine konfigurierbares Attribut.', - 'categories' => 'Kategorien', - 'images' => 'Bilder', - 'inventories' => 'Vorräte', - 'variations' => 'Variationen', - 'downloadable' => 'Herunterladbare Informationen', - 'links' => 'Links', - 'add-link-btn-title' => 'Link hinzufügen', - 'samples' => 'Beispiele', - 'add-sample-btn-title' => 'Beispiel hinzufügen', - 'downloads' => 'Download erlaubt', - 'file' => 'Datei', - 'sample' => 'Beispiel', - 'upload-file' => 'Datei hochladen', - 'url' => 'Url', - 'sort-order' => 'Sortierreihenfolge', - 'browse-file' => 'Datei durchsuchen', - 'product-link' => 'Verlinkte Produkte', - 'cross-selling' => 'Cross-Selling', - 'up-selling' => 'Up Selling', - 'related-products' => 'Verwandte Produkte', - 'product-search-hint' => 'Geben Sie den Produktnamen ein', - 'no-result-found' => 'Produkte nicht mit demselben Namen gefunden.', - 'searching' => 'Suche ...', - 'grouped-products' => 'Gruppierte Produkte', - 'search-products' => 'Produkte suchen', - 'channel' => 'Kanäle', - 'bundle-items' => 'Artikel bündeln', - 'add-option-btn-title' => 'Option hinzufügen', - 'option-title' => 'Option Titel', - 'input-type' => 'Input Type', - 'is-required' => 'Ist erforderlich', - 'select' => 'Select', - 'radio' => 'Radio', - 'checkbox' => 'Checkbox', - 'multiselect' => 'Multiselect', - 'new-option' => 'Neue Option', - 'is-default' => 'Ist Standard', + 'add-image-btn-title' => 'Bild hinzufügen', + 'mass-delete-success' => 'Alle ausgewählten Produkte wurden erfolgreich gelöscht', + 'mass-update-success' => 'Alle ausgewählten Produkte wurden erfolgreich aktualisiert', + 'configurable-error' => 'Bitte wählen Sie mindestens eine konfigurierbares Attribut.', + 'categories' => 'Kategorien', + 'images' => 'Bilder', + 'inventories' => 'Vorräte', + 'variations' => 'Variationen', + 'downloadable' => 'Herunterladbare Informationen', + 'links' => 'Links', + 'add-link-btn-title' => 'Link hinzufügen', + 'samples' => 'Beispiele', + 'add-sample-btn-title' => 'Beispiel hinzufügen', + 'downloads' => 'Download erlaubt', + 'file' => 'Datei', + 'sample' => 'Beispiel', + 'upload-file' => 'Datei hochladen', + 'url' => 'Url', + 'sort-order' => 'Sortierreihenfolge', + 'browse-file' => 'Datei durchsuchen', + 'product-link' => 'Verlinkte Produkte', + 'cross-selling' => 'Cross-Selling', + 'up-selling' => 'Up Selling', + 'related-products' => 'Verwandte Produkte', + 'product-search-hint' => 'Geben Sie den Produktnamen ein', + 'no-result-found' => 'Produkte nicht mit demselben Namen gefunden.', + 'searching' => 'Suche ...', + 'grouped-products' => 'Gruppierte Produkte', + 'search-products' => 'Produkte suchen', + 'channel' => 'Kanäle', + 'bundle-items' => 'Artikel bündeln', + 'add-option-btn-title' => 'Option hinzufügen', + 'option-title' => 'Option Titel', + 'input-type' => 'Input Type', + 'is-required' => 'Ist erforderlich', + 'select' => 'Select', + 'radio' => 'Radio', + 'checkbox' => 'Checkbox', + 'multiselect' => 'Multiselect', + 'new-option' => 'Neue Option', + 'is-default' => 'Ist Standard', ], 'attributes' => [ - 'title' => 'Attribute', - 'add-title' => 'Attribut hinzufügen', - 'edit-title' => 'Attribut bearbeiten', - 'save-btn-title' => 'Attribut speichern', - 'general' => 'Allgemein', - 'code' => 'Attribut-Code', - 'type' => 'Attribut-Typ', - 'text' => 'Text', - 'textarea' => 'Textarea', - 'price' => 'Preis', - 'boolean' => 'Boolean', - 'select' => 'Select', - 'multiselect' => 'Multiselect', - 'datetime' => 'Datetime', - 'date' => 'Datum', - 'label' => 'Label', - 'admin' => 'Admin', - 'options' => 'Optionen', - 'position' => 'Position', + 'title' => 'Attribute', + 'add-title' => 'Attribut hinzufügen', + 'edit-title' => 'Attribut bearbeiten', + 'save-btn-title' => 'Attribut speichern', + 'general' => 'Allgemein', + 'code' => 'Attribut-Code', + 'type' => 'Attribut-Typ', + 'text' => 'Text', + 'textarea' => 'Textarea', + 'price' => 'Preis', + 'boolean' => 'Boolean', + 'select' => 'Select', + 'multiselect' => 'Multiselect', + 'datetime' => 'Datetime', + 'date' => 'Datum', + 'label' => 'Label', + 'admin' => 'Admin', + 'options' => 'Optionen', + 'position' => 'Position', 'add-option-btn-title' => 'Option hinzufügen', - 'validations' => 'Validierungen', - 'input_validation' => 'Eingabe-Validierung', - 'is_required' => 'Ist erforderlich', - 'is_unique' => 'Ist einzigartig', - 'number' => 'Anzahl', - 'decimal' => 'Dezimal', - 'email' => 'E-Mail', - 'url' => 'URL', - 'configuration' => 'Konfiguration', - 'status' => 'Status', - 'yes' => 'Ja', - 'no' => 'Nein', - 'value_per_locale' => 'Wert pro Sprache', - 'value_per_channel' => 'Wert pro Kanal', - 'is_filterable' => 'Verwendung in der geschichteten Navigation', - 'is_configurable' => 'Verwenden Sie diese Option, um ein konfigurierbares Produkt zu erstellen', - 'admin_name' => 'Admin-Name', - 'is_visible_on_front' => 'Sichtbar auf der Produktansichtseite im Frontend', - 'swatch_type' => 'Farbfeld-Typ', - 'dropdown' => 'Dropdown', - 'color-swatch' => 'Farbfeld', - 'image-swatch' => 'Bild Farbfeld', - 'text-swatch' => 'Text Farbfeld', - 'swatch' => 'Farbfeld', - 'image' => 'Bild', - 'file' => 'Datei', - 'checkbox' => 'Checkbox', - 'use_in_flat' => 'In Produkt Flat Tabelle erstellen', - 'is_comparable' => 'Attribut ist vergleichbar', - 'default_null_option' => 'Erstellen Sie eine leere Standardoption', + 'validations' => 'Validierungen', + 'input_validation' => 'Eingabe-Validierung', + 'is_required' => 'Ist erforderlich', + 'is_unique' => 'Ist einzigartig', + 'number' => 'Anzahl', + 'decimal' => 'Dezimal', + 'email' => 'E-Mail', + 'url' => 'URL', + 'configuration' => 'Konfiguration', + 'status' => 'Status', + 'yes' => 'Ja', + 'no' => 'Nein', + 'value_per_locale' => 'Wert pro Sprache', + 'value_per_channel' => 'Wert pro Kanal', + 'is_filterable' => 'Verwendung in der geschichteten Navigation', + 'is_configurable' => 'Verwenden Sie diese Option, um ein konfigurierbares Produkt zu erstellen', + 'admin_name' => 'Admin-Name', + 'is_visible_on_front' => 'Sichtbar auf der Produktansichtseite im Frontend', + 'swatch_type' => 'Farbfeld-Typ', + 'dropdown' => 'Dropdown', + 'color-swatch' => 'Farbfeld', + 'image-swatch' => 'Bild Farbfeld', + 'text-swatch' => 'Text Farbfeld', + 'swatch' => 'Farbfeld', + 'image' => 'Bild', + 'file' => 'Datei', + 'checkbox' => 'Checkbox', + 'use_in_flat' => 'In Produkt Flat Tabelle erstellen', + 'is_comparable' => 'Attribut ist vergleichbar', + 'default_null_option' => 'Erstellen Sie eine leere Standardoption', ], 'families' => [ @@ -987,137 +993,137 @@ return [ [ 'cart-rules' => [ - 'title' => 'Warenkorbregeln', - 'add-title' => 'Warenkorbregel hinzufügen', - 'edit-title' => 'Warenkorbregel bearbeiten', - 'save-btn-title' => 'Warenkorbregel speichern', - 'rule-information' => 'Regelinformationen', - 'name' => 'Name', - 'description' => 'Beschreibung', - 'status' => 'Status', - 'is-active' => 'Warenkorbregel ist aktiv', - 'channels' => 'Kanäle', - 'customer-groups' => 'Kundengruppen', - 'coupon-type' => 'Gutscheintyp', - 'no-coupon' => 'Ohne Gutschein', - 'specific-coupon' => 'Gutscheintyp', - 'auto-generate-coupon' => 'Gutschein automatisch generieren', - 'no' => 'Nein', - 'yes' => 'Ja', - 'coupon-code' => 'Gutscheincode', - 'uses-per-coupon' => 'Verwendungen pro Gutschein', - 'uses-per-customer' => 'Verwendungen pro Kunde', + 'title' => 'Warenkorbregeln', + 'add-title' => 'Warenkorbregel hinzufügen', + 'edit-title' => 'Warenkorbregel bearbeiten', + 'save-btn-title' => 'Warenkorbregel speichern', + 'rule-information' => 'Regelinformationen', + 'name' => 'Name', + 'description' => 'Beschreibung', + 'status' => 'Status', + 'is-active' => 'Warenkorbregel ist aktiv', + 'channels' => 'Kanäle', + 'customer-groups' => 'Kundengruppen', + 'coupon-type' => 'Gutscheintyp', + 'no-coupon' => 'Ohne Gutschein', + 'specific-coupon' => 'Gutscheintyp', + 'auto-generate-coupon' => 'Gutschein automatisch generieren', + 'no' => 'Nein', + 'yes' => 'Ja', + 'coupon-code' => 'Gutscheincode', + 'uses-per-coupon' => 'Verwendungen pro Gutschein', + 'uses-per-customer' => 'Verwendungen pro Kunde', 'uses-per-customer-control-info' => 'Wird nur für angemeldete Kunden verwendet.', - 'from' => 'Von', - 'to' => 'An', - 'priority' => 'Priorität', - 'conditions' => 'Bedingungen', - 'condition-type' => 'Bedingungen Typ', - 'all-conditions-true' => 'Alle Bedingungen sind erfüllt', - 'any-condition-true' => 'Mindestens eine Bedingung ist erfüllt', - 'add-condition' => 'Bedingung hinzufügen', - 'choose-condition-to-add' => 'Wählen Sie eine Bedingung zum Hinzufügen aus', - 'cart-attribute' => 'Warenkorbattribut', - 'subtotal' => 'Zwischensumme', - 'additional' => 'Zusatzinformationen', - 'total-items-qty' => 'Gesamtmenge der Artikel', - 'total-weight' => 'Gesamtgewicht', - 'payment-method' => 'Zahlungsmethode', - 'shipping-method' => 'Versandart', - 'shipping-postcode' => 'Postleitzahl', - 'shipping-state' => 'Versand Staat', - 'shipping-country' => 'Versand Land', - 'cart-item-attribute' => 'Warenkorb-Item-Attribut', - 'price-in-cart' => 'Betrag im Warenkorb', - 'qty-in-cart' => 'Menge im Warenkorb', - 'product-attribute' => 'Produkt-Attribut', - 'attribute-name-children-only' => ':attribute_name (Nur Kinder)', - 'attribute-name-parent-only' => ':attribute_name (Nur Eltern)', - 'is-equal-to' => 'Gleich', - 'is-not-equal-to' => 'Ist nicht gleich', - 'equals-or-greater-than' => 'Gleich oder größer als', - 'equals-or-less-than' => 'Gleich oder weniger als', - 'greater-than' => 'Größer als', - 'less-than' => 'Weniger als', - 'contain' => 'Enthalten', - 'contains' => 'Enthält', - 'does-not-contain' => 'Nicht enthalten', - 'actions' => 'Aktionen', - 'action-type' => 'Aktion Typ', - 'percentage-product-price' => 'Prozentsatz des Produktpreises', - 'fixed-amount' => 'Fester Betrag', - 'fixed-amount-whole-cart' => 'Fester Betrag für gesamten Warenkorb', - 'buy-x-get-y-free' => 'Kaufen Sie X, erhalten Sie Y kostenfrei', - 'discount-amount' => 'Rabattbetrag', - 'discount-quantity' => 'Maximale Anzahl reduzierter Artikel', - 'discount-step' => 'Kaufe Sie Menge X', - 'free-shipping' => 'Kostenloser Versand', - 'apply-to-shipping' => 'Auf den Versand anwenden', - 'coupon-codes' => 'Gutschein-Codes', - 'coupon-qty' => 'Gutschein Menge', - 'code-length' => 'Code-Länge', - 'code-format' => 'Code-Format', - 'alphanumeric' => 'Alphanumerisch', - 'alphabetical' => 'Alphabetisch', - 'numeric' => 'Numerisch', - 'code-prefix' => 'Code-Präfix', - 'code-suffix' => 'Code Suffix', - 'generate' => 'Generieren', - 'cart-rule-not-defind-error' => 'Warenkorb-Regel ist nicht definiert', - 'mass-delete-success' => 'Alle ausgewählten Gutscheine wurden erfolgreich gelöscht.', - 'end-other-rules' => 'Ende Andere Regeln', - 'children-categories' => 'Kategorien (Nur Kinder)', - 'parent-categories' => 'Kategorien (Nur Eltern)', - 'categories' => 'Kategorien', - 'attribute_family' => 'Attributgruppe', + 'from' => 'Von', + 'to' => 'An', + 'priority' => 'Priorität', + 'conditions' => 'Bedingungen', + 'condition-type' => 'Bedingungen Typ', + 'all-conditions-true' => 'Alle Bedingungen sind erfüllt', + 'any-condition-true' => 'Mindestens eine Bedingung ist erfüllt', + 'add-condition' => 'Bedingung hinzufügen', + 'choose-condition-to-add' => 'Wählen Sie eine Bedingung zum Hinzufügen aus', + 'cart-attribute' => 'Warenkorbattribut', + 'subtotal' => 'Zwischensumme', + 'additional' => 'Zusatzinformationen', + 'total-items-qty' => 'Gesamtmenge der Artikel', + 'total-weight' => 'Gesamtgewicht', + 'payment-method' => 'Zahlungsmethode', + 'shipping-method' => 'Versandart', + 'shipping-postcode' => 'Postleitzahl', + 'shipping-state' => 'Versand Staat', + 'shipping-country' => 'Versand Land', + 'cart-item-attribute' => 'Warenkorb-Item-Attribut', + 'price-in-cart' => 'Betrag im Warenkorb', + 'qty-in-cart' => 'Menge im Warenkorb', + 'product-attribute' => 'Produkt-Attribut', + 'attribute-name-children-only' => ':attribute_name (Nur Kinder)', + 'attribute-name-parent-only' => ':attribute_name (Nur Eltern)', + 'is-equal-to' => 'Gleich', + 'is-not-equal-to' => 'Ist nicht gleich', + 'equals-or-greater-than' => 'Gleich oder größer als', + 'equals-or-less-than' => 'Gleich oder weniger als', + 'greater-than' => 'Größer als', + 'less-than' => 'Weniger als', + 'contain' => 'Enthalten', + 'contains' => 'Enthält', + 'does-not-contain' => 'Nicht enthalten', + 'actions' => 'Aktionen', + 'action-type' => 'Aktion Typ', + 'percentage-product-price' => 'Prozentsatz des Produktpreises', + 'fixed-amount' => 'Fester Betrag', + 'fixed-amount-whole-cart' => 'Fester Betrag für gesamten Warenkorb', + 'buy-x-get-y-free' => 'Kaufen Sie X, erhalten Sie Y kostenfrei', + 'discount-amount' => 'Rabattbetrag', + 'discount-quantity' => 'Maximale Anzahl reduzierter Artikel', + 'discount-step' => 'Kaufe Sie Menge X', + 'free-shipping' => 'Kostenloser Versand', + 'apply-to-shipping' => 'Auf den Versand anwenden', + 'coupon-codes' => 'Gutschein-Codes', + 'coupon-qty' => 'Gutschein Menge', + 'code-length' => 'Code-Länge', + 'code-format' => 'Code-Format', + 'alphanumeric' => 'Alphanumerisch', + 'alphabetical' => 'Alphabetisch', + 'numeric' => 'Numerisch', + 'code-prefix' => 'Code-Präfix', + 'code-suffix' => 'Code Suffix', + 'generate' => 'Generieren', + 'cart-rule-not-defind-error' => 'Warenkorb-Regel ist nicht definiert', + 'mass-delete-success' => 'Alle ausgewählten Gutscheine wurden erfolgreich gelöscht.', + 'end-other-rules' => 'Ende Andere Regeln', + 'children-categories' => 'Kategorien (Nur Kinder)', + 'parent-categories' => 'Kategorien (Nur Eltern)', + 'categories' => 'Kategorien', + 'attribute_family' => 'Attributgruppe', ], 'catalog-rules' => [ - 'title' => 'Katalogregeln', - 'add-title' => 'Katalogregel hinzufügen', - 'edit-title' => 'Katalogregel bearbeiten', - 'save-btn-title' => 'Katalogregel speichern', - 'rule-information' => 'Regeliformationen', - 'name' => 'Name', - 'description' => 'Beschreibung', - 'status' => 'Status', - 'is-active' => 'Katalogregel ist aktiv', - 'channels' => 'Kanäle', - 'customer-groups' => 'Kundengruppen', - 'no' => 'Nein', - 'yes' => 'Ja', - 'from' => 'Von', - 'to' => 'An', - 'priority' => 'Priorität', - 'conditions' => 'Bedingungen', - 'condition-type' => 'Bedingungen Typ', - 'all-conditions-true' => 'Alle Bedingungen sind erfüllt', - 'any-condition-true' => 'Jede Bedingung ist wahr', - 'add-condition' => 'Bedingung hinzufügen', - 'choose-condition-to-add' => 'Wählen Sie eine Bedingung zum Hinzufügen aus', - 'product-attribute' => 'Produkt-Attribut', + 'title' => 'Katalogregeln', + 'add-title' => 'Katalogregel hinzufügen', + 'edit-title' => 'Katalogregel bearbeiten', + 'save-btn-title' => 'Katalogregel speichern', + 'rule-information' => 'Regeliformationen', + 'name' => 'Name', + 'description' => 'Beschreibung', + 'status' => 'Status', + 'is-active' => 'Katalogregel ist aktiv', + 'channels' => 'Kanäle', + 'customer-groups' => 'Kundengruppen', + 'no' => 'Nein', + 'yes' => 'Ja', + 'from' => 'Von', + 'to' => 'An', + 'priority' => 'Priorität', + 'conditions' => 'Bedingungen', + 'condition-type' => 'Bedingungen Typ', + 'all-conditions-true' => 'Alle Bedingungen sind erfüllt', + 'any-condition-true' => 'Jede Bedingung ist wahr', + 'add-condition' => 'Bedingung hinzufügen', + 'choose-condition-to-add' => 'Wählen Sie eine Bedingung zum Hinzufügen aus', + 'product-attribute' => 'Produkt-Attribut', 'attribute-name-children-only' => ':attribute_name (Nur Kinder)', - 'attribute-name-parent-only' => ':attribute_name (Nur Eltern)', - 'is-equal-to' => 'Gleich', - 'is-not-equal-to' => 'Ist nicht gleich', - 'equals-or-greater-than' => 'Gleich oder größer als', - 'equals-or-less-than' => 'Gleich oder weniger als', - 'greater-than' => 'Größer als', - 'less-than' => 'Weniger als', - 'contain' => 'Enthalten', - 'contains' => 'Enthält', - 'does-not-contain' => 'Nicht enthalten', - 'actions' => 'Aktionen', - 'action-type' => 'Aktion Typ', - 'percentage-product-price' => 'Prozentsatz des Produktpreises', - 'fixed-amount' => 'Fester Betrag', - 'fixed-amount-whole-cart' => 'Fester Betrag für gesamten Warenkob', - 'buy-x-get-y-free' => 'Kaufen Sie X, erhalten Sie Y kostenfrei', - 'discount-amount' => 'Rabatt-Betrag', - 'mass-delete-success' => 'Alle ausgewählten Gutscheine wurden erfolgreich gelöscht.', - 'end-other-rules' => 'Ende Andere Regeln', - 'categories' => 'Kategorien', - 'attribute_family' => 'Attributgruppe', + 'attribute-name-parent-only' => ':attribute_name (Nur Eltern)', + 'is-equal-to' => 'Gleich', + 'is-not-equal-to' => 'Ist nicht gleich', + 'equals-or-greater-than' => 'Gleich oder größer als', + 'equals-or-less-than' => 'Gleich oder weniger als', + 'greater-than' => 'Größer als', + 'less-than' => 'Weniger als', + 'contain' => 'Enthalten', + 'contains' => 'Enthält', + 'does-not-contain' => 'Nicht enthalten', + 'actions' => 'Aktionen', + 'action-type' => 'Aktion Typ', + 'percentage-product-price' => 'Prozentsatz des Produktpreises', + 'fixed-amount' => 'Fester Betrag', + 'fixed-amount-whole-cart' => 'Fester Betrag für gesamten Warenkob', + 'buy-x-get-y-free' => 'Kaufen Sie X, erhalten Sie Y kostenfrei', + 'discount-amount' => 'Rabatt-Betrag', + 'mass-delete-success' => 'Alle ausgewählten Gutscheine wurden erfolgreich gelöscht.', + 'end-other-rules' => 'Ende Andere Regeln', + 'categories' => 'Kategorien', + 'attribute_family' => 'Attributgruppe', ], ], 'error' => @@ -1275,39 +1281,39 @@ return [ 'shipping-methods' => 'Versand-Methoden', 'free-shipping' => 'Kostenloser Versand', 'flate-rate-shipping' => 'Pauschale Versandkosten', - 'shipping' => 'Versand', - 'origin' => 'Herkunft', - 'country' => 'Land', - 'state' => 'Bundesland', - 'zip' => 'Postleitzahl', - 'city' => 'Stadt', - 'street-address' => 'Anschrift', - 'title' => 'Titel', - 'description' => 'Beschreibung', - 'rate' => 'Rate', - 'status' => 'Status', - 'type' => 'Typ', - 'payment-methods' => 'Zahlungsmethoden', - 'cash-on-delivery' => 'Nachnahme', - 'money-transfer' => 'Überweisung', - 'paypal-standard' => 'Paypal-Standard', - 'business-account' => 'Paypal-Geschäftskonto', - 'newsletter' => 'Newsletter-Abonnement', - 'newsletter-subscription' => 'Newsletter-Abonnement erlauben', - 'email' => 'E-Mail-Prüfung', - 'email-verification' => 'E-Mail-Prüfung erlauben', - 'sort_order' => 'Sortierreihenfolge', - 'general' => 'Allgemein', - 'footer' => 'Fußzeile', - 'content' => 'Inhalt', - 'footer-content' => 'Fußzeile Text', - 'footer-toggle' => 'Fußzeile aktiv', - 'locale-options' => 'Einheit-Optionen', - 'weight-unit' => 'Gewichtseinheit', - 'email-settings' => 'E-Mail Einstellungen', - 'email-sender-name' => 'E-Mail-Adresse des Absenders', - 'shop-email-from' => 'E-Mail-Adresse des Shops (bei Bestellungen, etc.)', - 'admin-name' => 'Name des Admins', + 'shipping' => 'Versand', + 'origin' => 'Herkunft', + 'country' => 'Land', + 'state' => 'Bundesland', + 'zip' => 'Postleitzahl', + 'city' => 'Stadt', + 'street-address' => 'Anschrift', + 'title' => 'Titel', + 'description' => 'Beschreibung', + 'rate' => 'Rate', + 'status' => 'Status', + 'type' => 'Typ', + 'payment-methods' => 'Zahlungsmethoden', + 'cash-on-delivery' => 'Nachnahme', + 'money-transfer' => 'Überweisung', + 'paypal-standard' => 'Paypal-Standard', + 'business-account' => 'Paypal-Geschäftskonto', + 'newsletter' => 'Newsletter-Abonnement', + 'newsletter-subscription' => 'Newsletter-Abonnement erlauben', + 'email' => 'E-Mail-Prüfung', + 'email-verification' => 'E-Mail-Prüfung erlauben', + 'sort_order' => 'Sortierreihenfolge', + 'general' => 'Allgemein', + 'footer' => 'Fußzeile', + 'content' => 'Inhalt', + 'footer-content' => 'Fußzeile Text', + 'footer-toggle' => 'Fußzeile aktiv', + 'locale-options' => 'Einheit-Optionen', + 'weight-unit' => 'Gewichtseinheit', + 'email-settings' => 'E-Mail Einstellungen', + 'email-sender-name' => 'E-Mail-Adresse des Absenders', + 'shop-email-from' => 'E-Mail-Adresse des Shops (bei Bestellungen, etc.)', + 'admin-name' => 'Name des Admins', 'admin-email' => 'E-Mail-Adresse des Admins', 'admin-page-limit' => 'Elemente pro Seite (Admin)', 'design' => 'Design', diff --git a/packages/Webkul/Admin/src/Resources/lang/en/app.php b/packages/Webkul/Admin/src/Resources/lang/en/app.php index 76fcf8270..9f4941234 100755 --- a/packages/Webkul/Admin/src/Resources/lang/en/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/en/app.php @@ -320,6 +320,14 @@ return [ 'invoice-btn-title' => 'Invoice', 'info' => 'Information', 'invoices' => 'Invoices', + 'invoices-change-title' => 'Change invoice state', + 'invoices-change-state-desc' => 'Please select the new invoice state:', + 'invoice-status-paid' => 'Paid', + 'invoice-status-pending' => 'Pending', + 'invoice-status-overdue' => 'Overdue', + 'invoice-status-update' => 'Save changes', + 'invoice-status-confirmed' => 'The invoice state has been changed.', + 'invoice-status-error' => 'Could not update the invoice state. ', 'shipments' => 'Shipments', 'order-and-account' => 'Order and Account', 'order-info' => 'Order Information', @@ -1222,7 +1230,7 @@ return [ 'cancel-success' => ':name canceled successfully.', 'cancel-error' => ':name can not be canceled.', 'already-taken' => 'The :name has already been taken.', - 'order-pending' => 'Cannot delete account because some Order(s) are pending or processing state.' + 'order-pending' => 'Cannot delete :name account because some Order(s) are pending or processing state.' ], 'footer' => [ diff --git a/packages/Webkul/Admin/src/Resources/lang/fa/app.php b/packages/Webkul/Admin/src/Resources/lang/fa/app.php index 6f88bc54e..410af2d47 100644 --- a/packages/Webkul/Admin/src/Resources/lang/fa/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/fa/app.php @@ -318,6 +318,14 @@ return [ 'invoice-btn-title' => 'صورت حساب', 'info' => 'اطلاعات', 'invoices' => 'صورت حساب ها', + 'invoices-change-title' => 'Change invoice state', + 'invoices-change-state-desc' => 'Please select the new invoice state:', + 'invoice-status-paid' => 'Paid', + 'invoice-status-pending' => 'Pending', + 'invoice-status-overdue' => 'Overdue', + 'invoice-status-update' => 'Save changes', + 'invoice-status-confirmed' => 'The invoice state has been changed.', + 'invoice-status-error' => 'Could not update the invoice state. ', 'shipments' => 'حمل و نقل ها', 'order-and-account' => 'سفارش و حساب', 'order-info' => 'اطلاعات سفارش', diff --git a/packages/Webkul/Admin/src/Resources/lang/it/app.php b/packages/Webkul/Admin/src/Resources/lang/it/app.php index fedd8f3ec..e5ca76946 100644 --- a/packages/Webkul/Admin/src/Resources/lang/it/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/it/app.php @@ -319,6 +319,14 @@ return [ 'invoice-btn-title' => 'Fattura', 'info' => 'Informazoni', 'invoices' => 'Fatture', + 'invoices-change-title' => 'Change invoice state', + 'invoices-change-state-desc' => 'Please select the new invoice state:', + 'invoice-status-paid' => 'Paid', + 'invoice-status-pending' => 'Pending', + 'invoice-status-overdue' => 'Overdue', + 'invoice-status-update' => 'Save changes', + 'invoice-status-confirmed' => 'The invoice state has been changed.', + 'invoice-status-error' => 'Could not update the invoice state. ', 'shipments' => 'Spedizioni', 'order-and-account' => 'Ordine e Account', 'order-info' => 'informazioni Ordine', diff --git a/packages/Webkul/Admin/src/Resources/lang/nl/app.php b/packages/Webkul/Admin/src/Resources/lang/nl/app.php index d1aae1efe..9653de94b 100644 --- a/packages/Webkul/Admin/src/Resources/lang/nl/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/nl/app.php @@ -319,6 +319,14 @@ return [ 'invoice-btn-title' => 'Factuur', 'info' => 'Informatie', 'invoices' => 'Facturen', + 'invoices-change-title' => 'Change invoice state', + 'invoices-change-state-desc' => 'Please select the new invoice state:', + 'invoice-status-paid' => 'Paid', + 'invoice-status-pending' => 'Pending', + 'invoice-status-overdue' => 'Overdue', + 'invoice-status-update' => 'Save changes', + 'invoice-status-confirmed' => 'The invoice state has been changed.', + 'invoice-status-error' => 'Could not update the invoice state. ', 'shipments' => 'Verzendingen', 'order-and-account' => 'Order and Account', 'order-info' => 'Order Information', diff --git a/packages/Webkul/Admin/src/Resources/lang/pl/app.php b/packages/Webkul/Admin/src/Resources/lang/pl/app.php index a714a24b3..960202a88 100644 --- a/packages/Webkul/Admin/src/Resources/lang/pl/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/pl/app.php @@ -317,6 +317,14 @@ return [ 'invoice-btn-title' => 'Faktura', 'info' => 'Informacje', 'invoices' => 'Faktury', + 'invoices-change-title' => 'Change invoice state', + 'invoices-change-state-desc' => 'Please select the new invoice state:', + 'invoice-status-paid' => 'Paid', + 'invoice-status-pending' => 'Pending', + 'invoice-status-overdue' => 'Overdue', + 'invoice-status-update' => 'Save changes', + 'invoice-status-confirmed' => 'The invoice state has been changed.', + 'invoice-status-error' => 'Could not update the invoice state. ', 'shipments' => 'Przesyłki', 'order-and-account' => 'Zamówienie i konto', 'order-info' => 'Informacje o zamówieniu', 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 fb31ad0dc..4043e01f3 100755 --- a/packages/Webkul/Admin/src/Resources/lang/pt_BR/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/pt_BR/app.php @@ -318,6 +318,14 @@ return [ 'invoice-btn-title' => 'Faturar', 'info' => 'Informação', 'invoices' => 'Faturas', + 'invoices-change-title' => 'Change invoice state', + 'invoices-change-state-desc' => 'Please select the new invoice state:', + 'invoice-status-paid' => 'Paid', + 'invoice-status-pending' => 'Pending', + 'invoice-status-overdue' => 'Overdue', + 'invoice-status-update' => 'Save changes', + 'invoice-status-confirmed' => 'The invoice state has been changed.', + 'invoice-status-error' => 'Could not update the invoice state. ', 'shipments' => 'Envios', 'order-and-account' => 'Pedido e Conta', 'order-info' => 'Informação do Pedido', diff --git a/packages/Webkul/Admin/src/Resources/lang/tr/app.php b/packages/Webkul/Admin/src/Resources/lang/tr/app.php index b9bd5afd2..f1c7b8103 100644 --- a/packages/Webkul/Admin/src/Resources/lang/tr/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/tr/app.php @@ -316,6 +316,14 @@ return [ 'invoice-btn-title' => 'Fatura', 'info' => 'Bilgi', 'invoices' => 'Faturalar', + 'invoices-change-title' => 'Change invoice state', + 'invoices-change-state-desc' => 'Please select the new invoice state:', + 'invoice-status-paid' => 'Paid', + 'invoice-status-pending' => 'Pending', + 'invoice-status-overdue' => 'Overdue', + 'invoice-status-update' => 'Save changes', + 'invoice-status-confirmed' => 'The invoice state has been changed.', + 'invoice-status-error' => 'Could not update the invoice state. ', 'shipments' => 'Kargo', 'order-and-account' => 'Sipariş ve Hesap', 'order-info' => 'Sipariş Bilgisi', diff --git a/packages/Webkul/Admin/src/Resources/views/sales/invoices/index.blade.php b/packages/Webkul/Admin/src/Resources/views/sales/invoices/index.blade.php index 42b871faf..ef1dd4412 100755 --- a/packages/Webkul/Admin/src/Resources/views/sales/invoices/index.blade.php +++ b/packages/Webkul/Admin/src/Resources/views/sales/invoices/index.blade.php @@ -13,10 +13,7 @@
+ {{ __('shop::app.mail.update-password.dear', ['name' => $user->name]) }}, +
+ ++ {{ __('shop::app.mail.update-password.info') }} +
+ ++ {{ __('shop::app.mail.update-password.thanks') }} +
++ {{ __('shop::app.mail.update-password.dear', ['name' => $user->name]) }}, +
+ ++ {{ __('shop::app.mail.update-password.info') }} +
+ ++ {{ __('shop::app.mail.update-password.thanks') }} +
++ {{ __('shop::app.mail.order.cancel.dear', ['customer_name' => config('mail.from.name')]) }}, +
+ ++ {!! __('shop::app.mail.order.cancel.greeting', [ + 'order_id' => '#' . $order->increment_id . '', + 'created_at' => $order->created_at + ]) + !!} +
+| {{ __('shop::app.customer.account.order.view.SKU') }} | +{{ __('shop::app.customer.account.order.view.product-name') }} | +{{ __('shop::app.customer.account.order.view.price') }} | +{{ __('shop::app.customer.account.order.view.qty') }} | +
|---|---|---|---|
| + {{ $item->child ? $item->child->sku : $item->sku }} + | + ++ {{ $item->name }} + + @if (isset($item->additional['attributes'])) + + @endif + | + ++ {{ core()->formatPrice($item->price, $order->order_currency_code) }} + | + ++ {{ $item->qty_canceled }} + | +
+ {!! + __('shop::app.mail.order.cancel.help', [ + 'support_email' => '' . config('mail.from.address'). '' + ]) + !!} +
+ ++ {{ __('shop::app.mail.order.cancel.thanks') }} +
+