Merge branch '8.0' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
f5074f4962
@ -242,7 +242,8 @@ Following changes may create regressions for some external modules, but were nec
|
||||
* Remove method Categorie:get_nb_categories() that was not used.
|
||||
* Hook getnomurltooltip provide a duplicate feature compared to hook getNomUrl so all hooks getnomurltooltip
|
||||
are now replaced with hook getNomUrl.
|
||||
|
||||
* The substitution key __CONTACTCIVNAME__ is no longer present, it has been replaced by __CONTACT_NAME_{TYPE}__
|
||||
where {TYPE} is contact type code (BILLING, SHIPPING, CUSTOMER, ... see contact type dictionnary).
|
||||
|
||||
|
||||
***** ChangeLog for 7.0.3 compared to 7.0.2 *****
|
||||
|
||||
@ -2624,6 +2624,7 @@ class Adherent extends CommonObject
|
||||
$outputlangs = new Translate('', $conf);
|
||||
$outputlangs->setDefaultLang(empty($adherent->thirdparty->default_lang) ? $mysoc->default_lang : $adherent->thirdparty->default_lang);
|
||||
$outputlangs->loadLangs(array("main", "members"));
|
||||
dol_syslog("sendReminderForExpiredSubscription Language set to ".$outputlangs->defaultlang);
|
||||
|
||||
$arraydefaultmessage=null;
|
||||
$labeltouse = $conf->global->ADHERENT_EMAIL_TEMPLATE_REMIND_EXPIRATION;
|
||||
|
||||
@ -85,7 +85,7 @@ class modSyslog extends DolibarrModules
|
||||
|
||||
// Cronjobs
|
||||
$this->cronjobs = array(
|
||||
0=>array('label'=>'CompressSyslogs', 'jobtype'=>'method', 'class'=>'core/class/utils.class.php', 'objectname'=>'Utils', 'method'=>'compressSyslogs', 'parameters'=>'', 'comment'=>'Compress and archive log files', 'frequency'=>1, 'unitfrequency'=> 3600 * 24, 'priority'=>50, 'status'=>0, 'test'=>true),
|
||||
0=>array('label'=>'CompressSyslogs', 'jobtype'=>'method', 'class'=>'core/class/utils.class.php', 'objectname'=>'Utils', 'method'=>'compressSyslogs', 'parameters'=>'', 'comment'=>'Compress and archive log files. Warning, batch must be run with same account than your web server to avoid to get lof files with different owner than required by web server !', 'frequency'=>1, 'unitfrequency'=> 3600 * 24, 'priority'=>50, 'status'=>0, 'test'=>true),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@ -260,13 +260,13 @@ $domData .= ' data-product_type="'.$line->product_type.'"';
|
||||
<?php if ($line->special_code == 3) { ?>
|
||||
<td align="right" class="linecoloption nowrap"><?php $coldisplay++; ?><?php echo $langs->trans('Option'); ?></td>
|
||||
<?php } else { ?>
|
||||
<td align="right" class="liencolht nowrap"><?php $coldisplay++; ?><?php echo price($line->total_ht); ?></td>
|
||||
<td align="right" class="linecolht nowrap"><?php $coldisplay++; ?><?php echo price($line->total_ht); ?></td>
|
||||
<?php if (!empty($conf->multicurrency->enabled) && $this->multicurrency_code != $conf->currency) { ?>
|
||||
<td align="right" class="linecolutotalht_currency nowrap"><?php $coldisplay++; ?><?php echo price($line->multicurrency_total_ht); ?></td>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
<?php if ($outputalsopricetotalwithtax) { ?>
|
||||
<td align="right" class="liencolht nowrap"><?php $coldisplay++; ?><?php echo price($line->total_ttc); ?></td>
|
||||
<td align="right" class="linecolht nowrap"><?php $coldisplay++; ?><?php echo price($line->total_ttc); ?></td>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
|
||||
@ -466,6 +466,7 @@ new_pmp double DEFAULT 0
|
||||
)ENGINE=InnoDB;
|
||||
|
||||
ALTER TABLE llx_inventory ADD COLUMN datec datetime DEFAULT NULL;
|
||||
ALTER TABLE llx_inventory ADD COLUMN tms timestamp;
|
||||
|
||||
ALTER TABLE llx_inventory ADD INDEX idx_inventory_tms (tms);
|
||||
ALTER TABLE llx_inventory ADD INDEX idx_inventory_datec (datec);
|
||||
|
||||
@ -31,4 +31,5 @@ OnlinePaymentSystem=Online payment system
|
||||
PaypalLiveEnabled=PayPal live enabled (otherwise test/sandbox mode)
|
||||
PaypalImportPayment=Import PayPal payments
|
||||
PostActionAfterPayment=Post actions after payments
|
||||
ARollbackWasPerformedOnPostActions=A rollback was performed on all Post actions. You must complete post actions manually if they are necessary.
|
||||
ARollbackWasPerformedOnPostActions=A rollback was performed on all Post actions. You must complete post actions manually if they are necessary.
|
||||
ValidationOfPaymentFailed=Validation of payment has failed
|
||||
@ -116,7 +116,7 @@ SendingEmailOnCancelation=Envoie d'email à l'annulation
|
||||
# Topic of email templates
|
||||
YourMembershipRequestWasReceived=Votre demande d'adhésion a été reçue.
|
||||
YourMembershipWasValidated=Votre adhésion a été enregistrée
|
||||
YourSubscriptionWasRecorded=Votre nouvel adhésion a été enregistrée
|
||||
YourSubscriptionWasRecorded=Votre nouvelle adhésion a été enregistrée
|
||||
SubscriptionReminderEmail=Rappel de cotisation
|
||||
YourMembershipWasCanceled=Votre adhésion a été annulée
|
||||
CardContent=Contenu de votre fiche adhérent
|
||||
|
||||
@ -801,6 +801,11 @@ if ($ispaymentok)
|
||||
$content.="<br>\n";
|
||||
$content.="tag=".$fulltag."<br>\ntoken=".$onlinetoken."<br>\npaymentType=".$paymentType."<br>\ncurrencycodeType=".$currencyCodeType."<br>\npayerId=".$payerID."<br>\nipaddress=".$ipaddress."<br>\nFinalPaymentAmt=".$FinalPaymentAmt."<br>\n";
|
||||
|
||||
if (! empty($ErrorCode)) $content.="ErrorCode = ".$ErrorCode."<br>\n";
|
||||
if (! empty($ErrorShortMsg)) $content.="ErrorShortMsg = ".$ErrorShortMsg."<br>\n";
|
||||
if (! empty($ErrorLongMsg)) $content.="ErrorLongMsg = ".$ErrorLongMsg."<br>\n";
|
||||
if (! empty($ErrorSeverityCode)) $content.="ErrorSeverityCode = ".$ErrorSeverityCode."<br>\n";
|
||||
|
||||
$ishtml=dol_textishtml($content); // May contain urls
|
||||
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/class/CMailFile.class.php';
|
||||
|
||||
@ -43,14 +43,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/payments.lib.php';
|
||||
// Security check
|
||||
if (empty($conf->paypal->enabled)) accessforbidden('',0,0,1);
|
||||
|
||||
$langs->load("main");
|
||||
$langs->load("other");
|
||||
$langs->load("dict");
|
||||
$langs->load("bills");
|
||||
$langs->load("companies");
|
||||
$langs->load("paybox");
|
||||
$langs->load("paypal");
|
||||
$langs->load("stripe");
|
||||
$langs->loadLangs(array("main","other","dict","bills","companies","paybox","paypal","stripe"));
|
||||
|
||||
// Clean parameters
|
||||
$PAYPAL_API_USER="";
|
||||
|
||||
@ -1962,7 +1962,7 @@ else
|
||||
// Capital
|
||||
print '<tr><td>'.fieldLabel('Capital','capital').'</td>';
|
||||
print '<td colspan="3"><input type="text" name="capital" id="capital" size="10" value="';
|
||||
print dol_escape_htmltag(price($object->capital));
|
||||
print $object->capital != '' ? dol_escape_htmltag(price($object->capital)) : '';
|
||||
print '"> <font class="hideonsmartphone">'.$langs->trans("Currency".$conf->currency).'</font></td></tr>';
|
||||
|
||||
// Assign a Name
|
||||
|
||||
@ -264,7 +264,7 @@ print '</div><div class="fichetwothirdright"><div class="ficheaddleft">';
|
||||
* Last third parties modified
|
||||
*/
|
||||
$max=15;
|
||||
$sql = "SELECT s.rowid, s.nom as name, s.client, s.fournisseur";
|
||||
$sql = "SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur";
|
||||
$sql.= ", s.code_client";
|
||||
$sql.= ", s.code_fournisseur";
|
||||
$sql.= ", s.logo";
|
||||
@ -313,6 +313,7 @@ if ($result)
|
||||
$thirdparty_static->code_client = $objp->code_client;
|
||||
$thirdparty_static->code_fournisseur = $objp->code_fournisseur;
|
||||
$thirdparty_static->canvas=$objp->canvas;
|
||||
$thirdparty_static->email = $objp->email;
|
||||
|
||||
print '<tr class="oddeven">';
|
||||
// Name
|
||||
|
||||
Loading…
Reference in New Issue
Block a user