';
// List of actions on element
include_once DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php';
$formactions=new FormActions($db);
$somethingshown=$formactions->showactions($object,'shipping',$socid);
- print '
';
+ print '';
}
/*
diff --git a/htdocs/langs/en_US/products.lang b/htdocs/langs/en_US/products.lang
index 6dcf4ce60f9..e108dfff52b 100644
--- a/htdocs/langs/en_US/products.lang
+++ b/htdocs/langs/en_US/products.lang
@@ -105,6 +105,7 @@ AddPhoto=Add photo
ListOfStockMovements=List of stock movements
BuyingPrice=Buying price
PriceForEachProduct=Products with specific prices
+NoPriceSpecificToCustomer=This customer has no specific prices. All standard prices for products/services will be used.
SupplierCard=Supplier card
CommercialCard=Commercial card
AllWays=Path to find your product in stock
@@ -298,6 +299,6 @@ LastUpdated=Last updated
CorrectlyUpdated=Correctly updated
PropalMergePdfProductActualFile=Files use to add into PDF Azur are/is
PropalMergePdfProductChooseFile=Select PDF files
-IncludingProductWithTag=Including product with tag
+IncludingProductWithTag=Including product/service with tag
DefaultPriceRealPriceMayDependOnCustomer=Default price, real price may depend on customer
WarningSelectOneDocument=Please select at least one document
diff --git a/htdocs/product/document.php b/htdocs/product/document.php
index cb174e5847e..df1afe1db93 100644
--- a/htdocs/product/document.php
+++ b/htdocs/product/document.php
@@ -216,7 +216,7 @@ if ($object->id)
include_once DOL_DOCUMENT_ROOT . '/core/tpl/document_actions_post_headers.tpl.php';
- // Merge propal PDF docuemnt PDF files
+ // Merge propal PDF document PDF files
if (!empty($conf->global->PRODUIT_PDF_MERGE_PROPAL))
{
$filetomerge = new Propalmergepdfproduct($db);
@@ -233,7 +233,8 @@ if ($object->id)
$filearray = dol_dir_list($upload_dir, "files", 0, '', '\.meta$', 'name', SORT_ASC, 1);
// For each file build select list with PDF extention
- if (count($filearray) > 0) {
+ if (count($filearray) > 0)
+ {
print ' ';
// Actual file to merge is :
if (count($filetomerge->lines) > 0) {
@@ -315,19 +316,23 @@ if ($object->id)
$checked = '';
$filename = $filetoadd['name'];
- if ($conf->global->MAIN_MULTILANGS) {
- if (array_key_exists($filetoadd['name'] . '_' . $delauft_lang, $filetomerge->lines)) {
+ if ($conf->global->MAIN_MULTILANGS)
+ {
+ if (array_key_exists($filetoadd['name'] . '_' . $delauft_lang, $filetomerge->lines))
+ {
$filename = $filetoadd['name'] . ' - ' . $langs->trans('Language_' . $delauft_lang);
$checked = ' checked ';
}
- } else {
- if (array_key_exists($filetoadd['name'], $filetomerge->lines)) {
+ }
+ else
+ {
+ if (array_key_exists($filetoadd['name'], $filetomerge->lines))
+ {
$checked = ' checked ';
}
}
print '