Bladeren bron

Merge branch 'develop'

master
Guillaume Bourgeois 1 maand geleden
bovenliggende
commit
61135e0d66
1 gewijzigde bestanden met toevoegingen van 3 en 1 verwijderingen
  1. +3
    -1
      backend/controllers/DocumentController.php

+ 3
- 1
backend/controllers/DocumentController.php Bestand weergeven

@@ -481,7 +481,9 @@ class DocumentController extends BackendController
$json['orders_update_array'] = $document ? $this->initOrdersArray($orderModule->findOrdersByUserAndDeliveryNote($user, $document)) : [];
}

if ($typeAction == 'create' && ($classDocument == 'Invoice' || $classDocument == 'DeliveryNote')) {
if ($producerModule->getSolver()->getConfig('option_document_default_naming')
&& $typeAction == 'create'
&& ($classDocument == 'Invoice' || $classDocument == 'DeliveryNote')) {
$json['name'] = $documentModule->getSolver()->getDefaultName($classDocument, $user);
}


Laden…
Annuleren
Opslaan