Translation "Generated documents"
This commit is contained in:
parent
f0d3c19d51
commit
4fd24c6855
@ -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);
|
||||
|
||||
@ -373,7 +373,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);
|
||||
|
||||
@ -2161,7 +2161,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);
|
||||
|
||||
@ -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)) {
|
||||
|
||||
@ -2407,7 +2407,7 @@ if (!empty($conf->global->PRODUCT_ADD_FORM_ADD_TO) && $object->id && ($action ==
|
||||
|
||||
|
||||
/*
|
||||
* Documents generes
|
||||
* Generated documents
|
||||
*/
|
||||
|
||||
if ($action != 'create' && $action != 'edit' && $action != 'delete') {
|
||||
|
||||
@ -1176,7 +1176,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') {
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -1894,7 +1894,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);
|
||||
|
||||
@ -470,7 +470,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