Merge pull request #16721 from aspangaro/14a25
Translation "Generated documents"
This commit is contained in:
commit
e00e6cfd9a
@ -1818,7 +1818,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
|
||||
print '<div class="fichecenter"><div class="fichehalfleft">';
|
||||
print '<a name="builddoc"></a>'; // ancre
|
||||
|
||||
// Documents generes
|
||||
// Generated documents
|
||||
$filename = dol_sanitizeFileName($object->ref);
|
||||
//$filename = 'tmp_cards.php';
|
||||
//$filedir = $conf->adherent->dir_output . '/' . get_exdir($object->id, 2, 0, 0, $object, 'member') . dol_sanitizeFileName($object->ref);
|
||||
|
||||
@ -372,7 +372,7 @@ if ($rowid && $action != 'edit') {
|
||||
print '<div class="fichecenter"><div class="fichehalfleft">';
|
||||
print '<a name="builddoc"></a>'; // ancre
|
||||
|
||||
// Documents generes
|
||||
// Generated documents
|
||||
/*
|
||||
$filename = dol_sanitizeFileName($object->ref);
|
||||
$filedir = $conf->facture->dir_output . '/' . dol_sanitizeFileName($object->ref);
|
||||
|
||||
@ -2160,7 +2160,7 @@ if ($id > 0) {
|
||||
print '<a name="builddoc"></a>'; // ancre
|
||||
|
||||
/*
|
||||
* Documents generes
|
||||
* Generated documents
|
||||
*/
|
||||
|
||||
$filedir = $conf->agenda->multidir_output[$conf->entity].'/'.$object->id;
|
||||
|
||||
@ -2602,7 +2602,7 @@ if ($action == 'create') {
|
||||
print '<div class="fichecenter"><div class="fichehalfleft">';
|
||||
print '<a name="builddoc"></a>'; // ancre
|
||||
/*
|
||||
* Documents generes
|
||||
* Generated documents
|
||||
*/
|
||||
$objref = dol_sanitizeFileName($object->ref);
|
||||
$filedir = $conf->propal->multidir_output[$object->entity]."/".dol_sanitizeFileName($object->ref);
|
||||
|
||||
@ -5459,7 +5459,7 @@ if ($action == 'create') {
|
||||
print '<div class="fichecenter"><div class="fichehalfleft">';
|
||||
print '<a name="builddoc"></a>'; // ancre
|
||||
|
||||
// Documents generes
|
||||
// Generated documents
|
||||
$filename = dol_sanitizeFileName($object->ref);
|
||||
$filedir = $conf->facture->multidir_output[$object->entity].'/'.dol_sanitizeFileName($object->ref);
|
||||
$urlsource = $_SERVER['PHP_SELF'].'?facid='.$object->id;
|
||||
|
||||
@ -2103,8 +2103,8 @@ if ($action == 'create') {
|
||||
print '<div class="fichecenter"><div class="fichehalfleft">';
|
||||
|
||||
/*
|
||||
* Documents generes
|
||||
*/
|
||||
* Generated documents
|
||||
*/
|
||||
$filename = dol_sanitizeFileName($object->ref);
|
||||
$filedir = $conf->contrat->multidir_output[$object->entity]."/".dol_sanitizeFileName($object->ref);
|
||||
$urlsource = $_SERVER["PHP_SELF"]."?id=".$object->id;
|
||||
|
||||
@ -857,7 +857,7 @@ if (!empty($id) && $action != 'edit') {
|
||||
print '<div class="fichecenter"><div class="fichehalfleft">';
|
||||
|
||||
/*
|
||||
* Documents generes
|
||||
* Generated documents
|
||||
*/
|
||||
$filename = dol_sanitizeFileName($object->id);
|
||||
$filedir = $conf->don->dir_output."/".dol_sanitizeFileName($object->id);
|
||||
|
||||
@ -3241,7 +3241,7 @@ if ($action == 'create') {
|
||||
print '<div class="fichecenter"><div class="fichehalfleft">';
|
||||
|
||||
/*
|
||||
* Documents generes
|
||||
* Generated documents
|
||||
*/
|
||||
$ref = dol_sanitizeFileName($object->ref);
|
||||
$subdir = get_exdir($object->id, 2, 0, 0, $object, 'invoice_supplier').$ref;
|
||||
|
||||
@ -356,8 +356,7 @@ if ($result > 0) {
|
||||
|
||||
print '<div class="fichecenter"><div class="fichehalfleft">';
|
||||
|
||||
// Documents generes
|
||||
|
||||
// Generated documents
|
||||
include_once DOL_DOCUMENT_ROOT.'/core/modules/supplier_payment/modules_supplier_payment.php';
|
||||
$modellist = ModelePDFSuppliersPayments::liste_modeles($db);
|
||||
if (is_array($modellist)) {
|
||||
|
||||
@ -2405,7 +2405,7 @@ if (!empty($conf->global->PRODUCT_ADD_FORM_ADD_TO) && $object->id && ($action ==
|
||||
|
||||
|
||||
/*
|
||||
* Documents generes
|
||||
* Generated documents
|
||||
*/
|
||||
|
||||
if ($action != 'create' && $action != 'edit' && $action != 'delete') {
|
||||
|
||||
@ -1173,7 +1173,7 @@ if ($resql) {
|
||||
|
||||
|
||||
/*
|
||||
* Documents generes
|
||||
* Generated documents
|
||||
*/
|
||||
//Area for doc and last events of warehouse are stored on the main card of warehouse
|
||||
$modulepart = 'movement';
|
||||
|
||||
@ -470,7 +470,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
|
||||
|
||||
|
||||
/*
|
||||
* Documents generes
|
||||
* Generated documents
|
||||
*/
|
||||
|
||||
if ($action != 'presend') {
|
||||
|
||||
@ -1325,7 +1325,7 @@ if ($action == 'create' && $user->rights->projet->creer) {
|
||||
print '<a name="builddoc"></a>'; // ancre
|
||||
|
||||
/*
|
||||
* Documents generes
|
||||
* Generated documents
|
||||
*/
|
||||
$filename = dol_sanitizeFileName($object->ref);
|
||||
$filedir = $conf->projet->dir_output."/".dol_sanitizeFileName($object->ref);
|
||||
|
||||
@ -617,7 +617,7 @@ if ($id > 0 || !empty($ref)) {
|
||||
print '<a name="builddoc"></a>'; // ancre
|
||||
|
||||
/*
|
||||
* Documents generes
|
||||
* Generated documents
|
||||
*/
|
||||
$filename = dol_sanitizeFileName($projectstatic->ref)."/".dol_sanitizeFileName($object->ref);
|
||||
$filedir = $conf->projet->dir_output."/".dol_sanitizeFileName($projectstatic->ref)."/".dol_sanitizeFileName($object->ref);
|
||||
|
||||
@ -279,7 +279,7 @@ for ($i = 1; $i <= 4; $i++) {
|
||||
|
||||
<?php
|
||||
/*
|
||||
* Documents generes
|
||||
* Generated documents
|
||||
*/
|
||||
$filedir = $conf->societe->multidir_output[$this->control->tpl['entity']].'/'.$socid;
|
||||
$urlsource = $_SERVER["PHP_SELF"]."?socid=".$socid;
|
||||
|
||||
@ -205,7 +205,7 @@ if ($this->control->tpl['action_delete']) {
|
||||
<div id="builddoc"></div>
|
||||
<?php
|
||||
/*
|
||||
* Documents generes
|
||||
* Generated documents
|
||||
*/
|
||||
$filedir = $conf->societe->multidir_output[$this->control->tpl['entity']].'/'.$socid;
|
||||
$urlsource = $_SERVER["PHP_SELF"]."?socid=".$socid;
|
||||
|
||||
@ -2875,7 +2875,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
|
||||
print '<a name="builddoc"></a>'; // ancre
|
||||
|
||||
/*
|
||||
* Documents generes
|
||||
* Generated documents
|
||||
*/
|
||||
$filedir = $conf->societe->multidir_output[$object->entity].'/'.$object->id;
|
||||
$urlsource = $_SERVER["PHP_SELF"]."?socid=".$object->id;
|
||||
|
||||
@ -1479,7 +1479,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
|
||||
print '<a name="builddoc"></a>'; // ancre
|
||||
|
||||
/*
|
||||
* Documents generes
|
||||
* Generated documents
|
||||
*/
|
||||
$filedir = $conf->societe->multidir_output[$object->entity].'/'.$object->id;
|
||||
$urlsource = $_SERVER["PHP_SELF"]."?socid=".$object->id;
|
||||
|
||||
@ -1895,7 +1895,7 @@ if ($action == 'create') {
|
||||
print '<div class="fichecenter"><div class="fichehalfleft">';
|
||||
|
||||
/*
|
||||
* Documents generes
|
||||
* Generated documents
|
||||
*/
|
||||
$filename = dol_sanitizeFileName($object->ref);
|
||||
$filedir = $conf->supplier_proposal->dir_output."/".dol_sanitizeFileName($object->ref);
|
||||
|
||||
@ -2673,7 +2673,7 @@ if ($action == 'create' || $action == 'adduserldap') {
|
||||
if ($action != 'edit' && $action != 'presend') {
|
||||
print '<div class="fichecenter"><div class="fichehalfleft">';
|
||||
/*
|
||||
* Documents generes
|
||||
* Generated documents
|
||||
*/
|
||||
$filename = dol_sanitizeFileName($object->ref);
|
||||
$filedir = $conf->user->dir_output."/".dol_sanitizeFileName($object->ref);
|
||||
|
||||
@ -469,7 +469,7 @@ if ($action == 'create') {
|
||||
print '<div class="fichecenter"><div class="fichehalfleft">';
|
||||
|
||||
/*
|
||||
* Documents generes
|
||||
* Generated documents
|
||||
*/
|
||||
|
||||
$filename = dol_sanitizeFileName($object->ref);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user