Add edit catalog image issue resolved
This commit is contained in:
parent
b31edf4bfa
commit
bace6c267a
|
|
@ -1613,6 +1613,7 @@ return [
|
|||
'set-order-status' => 'قم بتعيين حالة الطلب بعد إنشاء الفاتورة إلى',
|
||||
'generate-invoice-applicable' => 'قابل للتطبيق إذا تم تمكين إنشاء الفاتورة تلقائيًا',
|
||||
'records-found' => 'تم العثور على السجلات ',
|
||||
'image-required' => 'Image is required'
|
||||
],
|
||||
],
|
||||
|
||||
|
|
|
|||
|
|
@ -1631,6 +1631,7 @@ return [
|
|||
'logo-size' => 'Image resolution should be like 112px X 41px',
|
||||
'favicon-size' => 'Image resolution should be like 16px X 16px',
|
||||
'invoice-logo-size' => 'Image resolution should be like 192px X 50px',
|
||||
'image-required' => 'Image is required'
|
||||
],
|
||||
],
|
||||
|
||||
|
|
|
|||
|
|
@ -1589,6 +1589,7 @@ return [
|
|||
'set-order-status' => 'Set the order status after creating the invoice to',
|
||||
'generate-invoice-applicable' => 'Applicable if automatic generate invoice is enabled',
|
||||
'records-found' => 'Datensätze gefunden ',
|
||||
'image-required' => 'Image is required'
|
||||
],
|
||||
],
|
||||
|
||||
|
|
|
|||
|
|
@ -1631,6 +1631,8 @@ return [
|
|||
'logo-size' => 'Image resolution should be like 112px X 41px',
|
||||
'favicon-size' => 'Image resolution should be like 16px X 16px',
|
||||
'invoice-logo-size' => 'Image resolution should be like 192px X 50px',
|
||||
'image-required' => 'Image is required'
|
||||
|
||||
],
|
||||
],
|
||||
|
||||
|
|
|
|||
|
|
@ -1611,6 +1611,7 @@ return [
|
|||
'set-order-status' => 'Set the order status after creating the invoice to',
|
||||
'generate-invoice-applicable' => 'Applicable if automatic generate invoice is enabled',
|
||||
'records-found' => 'registros encontrados',
|
||||
'image-required' => 'Image is required'
|
||||
],
|
||||
],
|
||||
|
||||
|
|
|
|||
|
|
@ -1590,6 +1590,7 @@ return [
|
|||
'set-order-status' => 'Set the order status after creating the invoice to',
|
||||
'generate-invoice-applicable' => 'Applicable if automatic generate invoice is enabled',
|
||||
'records-found' => 'Record(s) found',
|
||||
'image-required' => 'Image is required'
|
||||
],
|
||||
],
|
||||
|
||||
|
|
|
|||
|
|
@ -1627,6 +1627,7 @@ return [
|
|||
'set-order-status' => 'Définissez le statut de la commande après la création de la facture sur',
|
||||
'generate-invoice-applicable' => 'Applicable si la génération automatique de facture est activée',
|
||||
'records-found' => 'enregistrements trouvés',
|
||||
'image-required' => 'Image is required'
|
||||
],
|
||||
],
|
||||
|
||||
|
|
|
|||
|
|
@ -1631,6 +1631,7 @@ return [
|
|||
'logo-size' => 'Image resolution should be like 112px X 41px',
|
||||
'favicon-size' => 'Image resolution should be like 16px X 16px',
|
||||
'invoice-logo-size' => 'Image resolution should be like 192px X 50px',
|
||||
'image-required' => 'Image is required'
|
||||
],
|
||||
],
|
||||
|
||||
|
|
|
|||
|
|
@ -1628,6 +1628,7 @@ return [
|
|||
'logo-size' => 'छवि संकल्प 112px X 41px जैसा होना चाहिए',
|
||||
'favicon-size' => 'छवि संकल्प 16px X 16px जैसा होना चाहिए',
|
||||
'invoice-logo-size' => 'इमेज रेजोल्यूशन 192px X 50px जैसा होना चाहिए',
|
||||
'image-required' => 'Image is required'
|
||||
],
|
||||
],
|
||||
|
||||
|
|
|
|||
|
|
@ -1598,6 +1598,7 @@ return [
|
|||
'set-order-status' => 'Set the order status after creating the invoice to',
|
||||
'generate-invoice-applicable' => 'Applicabile se la generazione automatica di fatture é abilitata',
|
||||
'records-found' => 'Record(s) trovati',
|
||||
'image-required' => 'Image is required'
|
||||
],
|
||||
],
|
||||
|
||||
|
|
|
|||
|
|
@ -1631,6 +1631,7 @@ return [
|
|||
'logo-size' => 'Image resolution should be like 112px X 41px',
|
||||
'favicon-size' => 'Image resolution should be like 16px X 16px',
|
||||
'invoice-logo-size' => 'Image resolution should be like 192px X 50px',
|
||||
'image-required' => 'Image is required'
|
||||
],
|
||||
],
|
||||
|
||||
|
|
|
|||
|
|
@ -1590,6 +1590,7 @@ return [
|
|||
'set-order-status' => 'Set the order status after creating the invoice to',
|
||||
'generate-invoice-applicable' => 'Applicable if automatic generate invoice is enabled',
|
||||
'records-found' => 'Record(s) found',
|
||||
'image-required' => 'Image is required'
|
||||
],
|
||||
],
|
||||
|
||||
|
|
|
|||
|
|
@ -1579,6 +1579,7 @@ return [
|
|||
'set-order-status' => 'Set the order status after creating the invoice to',
|
||||
'generate-invoice-applicable' => 'Applicable if automatic generate invoice is enabled',
|
||||
'records-found' => 'Record(s) found',
|
||||
'image-required' => 'Image is required'
|
||||
],
|
||||
],
|
||||
|
||||
|
|
|
|||
|
|
@ -1593,6 +1593,7 @@ return [
|
|||
'set-order-status' => 'Set the order status after creating the invoice to',
|
||||
'generate-invoice-applicable' => 'Applicable if automatic generate invoice is enabled',
|
||||
'records-found' => 'Record(s) found',
|
||||
'image-required' => 'Image is required'
|
||||
],
|
||||
],
|
||||
|
||||
|
|
|
|||
|
|
@ -1631,6 +1631,7 @@ return [
|
|||
'logo-size' => 'Image resolution should be like 112px X 41px',
|
||||
'favicon-size' => 'Image resolution should be like 16px X 16px',
|
||||
'invoice-logo-size' => 'Image resolution should be like 192px X 50px',
|
||||
'image-required' => 'Image is required'
|
||||
],
|
||||
],
|
||||
|
||||
|
|
|
|||
|
|
@ -1631,6 +1631,7 @@ return [
|
|||
'logo-size' => 'Image resolution should be like 112px X 41px',
|
||||
'favicon-size' => 'Image resolution should be like 16px X 16px',
|
||||
'invoice-logo-size' => 'Image resolution should be like 192px X 50px',
|
||||
'image-required' => 'Image is required'
|
||||
],
|
||||
],
|
||||
|
||||
|
|
|
|||
|
|
@ -1588,6 +1588,8 @@ return [
|
|||
'set-order-status' => 'Faturayı oluşturduktan sonra sipariş durumunu ayarlayın.',
|
||||
'generate-invoice-applicable' => 'Otomatik fatura oluştur etkinse geçerlidir',
|
||||
'records-found' => 'Kayıt(lar) bulundu',
|
||||
'image-required' => 'Image is required'
|
||||
|
||||
],
|
||||
],
|
||||
|
||||
|
|
|
|||
|
|
@ -1586,6 +1586,7 @@ return [
|
|||
'logo-size' => '图像分辨率应该是 112px X 41px',
|
||||
'favicon-size' => '图像分辨率应该是 16px X 16px',
|
||||
'invoice-logo-size' => '图像分辨率应该是 192px X 50px',
|
||||
'image-required' => 'Image is required'
|
||||
],
|
||||
],
|
||||
'api' => [
|
||||
|
|
|
|||
|
|
@ -155,6 +155,16 @@ class ProductController extends Controller
|
|||
*/
|
||||
public function update(ProductForm $request, $id)
|
||||
{
|
||||
foreach (request()->images['files'] as $fileExists) {
|
||||
if (!$fileExists) {
|
||||
session()->flash('error', trans('admin::app.admin.system.image-required'));
|
||||
|
||||
return redirect()->back();
|
||||
}
|
||||
}
|
||||
|
||||
$this->productRepository->update(request()->all(), $id);
|
||||
|
||||
Event::dispatch('catalog.product.update.before', $id);
|
||||
|
||||
$product = $this->productRepository->update(request()->all(), $id);
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -4926,6 +4926,15 @@ body {
|
|||
|
||||
.compare-products {
|
||||
width: unset !important;
|
||||
|
||||
tr {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
|
||||
td {
|
||||
width: 200px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mt-0 {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1437,7 +1437,7 @@ modal {
|
|||
margin-bottom: 20px;
|
||||
margin-top: 10px;
|
||||
display: inline-block;
|
||||
width: 200px;
|
||||
width: 100%;
|
||||
|
||||
.image-item {
|
||||
width: 200px;
|
||||
|
|
|
|||
Loading…
Reference in New Issue