Fix date in text for substitution. Removed not used translation keys.
This commit is contained in:
parent
bd523973d8
commit
ba3ca550ce
@ -5214,7 +5214,7 @@ function get_default_tva(Societe $thirdparty_seller, Societe $thirdparty_buyer,
|
||||
}
|
||||
|
||||
// Si (vendeur en France et acheteur hors Communaute europeenne et acheteur particulier) alors TVA par defaut=TVA du produit vendu. Fin de regle
|
||||
if (! empty($conf->global->MAIN_USE_VAT_OF_PRODUCT_FOR_INDIVIDUAL_CUSTOMER_OUT_OF_EEC) && empty($buyer_in_cee) && !$thirdparty_buyer->isACompany())
|
||||
if (! empty($conf->global->MAIN_USE_VAT_OF_PRODUCT_FOR_INDIVIDUAL_CUSTOMER_OUT_OF_EEC) && empty($buyer_in_cee) && !$thirdparty_buyer->isACompany())
|
||||
{
|
||||
return get_product_vat_for_country($idprod,$thirdparty_seller,$idprodfournprice);
|
||||
}
|
||||
@ -6160,12 +6160,13 @@ function getCommonSubstitutionArray($outputlangs, $onlykey=0, $exclude=null, $ob
|
||||
|
||||
$substitutionarray=array_merge($substitutionarray, array(
|
||||
'__DAY__' => (string) $tmp['mday'],
|
||||
'__DAY_TEXT__' => $outputlangs->trans('Day'.$tmp['wday']),
|
||||
'__DAY_TEXT_SHORT__' => $outputlangs->trans('Short'.$tmp['weekday']),
|
||||
'__DAY_TEXT_MIN__' => $outputlangs->trans($tmp['weekday'].'Min'),
|
||||
'__DAY_TEXT__' => $outputlangs->trans('Day'.$tmp['wday']), // Monday
|
||||
'__DAY_TEXT_SHORT__' => $outputlangs->trans($tmp['weekday'].'Min'), // Mon
|
||||
'__DAY_TEXT_MIN__' => $outputlangs->trans('Short'.$tmp['weekday']), // M
|
||||
'__MONTH__' => (string) $tmp['mon'],
|
||||
'__MONTH_TEXT__' => $outputlangs->trans($tmp['month']),
|
||||
'__MONTH_TEXT_MIN__' => $outputlangs->trans($tmp['month'].'Min'),
|
||||
'__MONTH_TEXT__' => $outputlangs->trans('Month'.sprintf("%02d", $tmp['mon'])),
|
||||
'__MONTH_TEXT_SHORT__' => $outputlangs->trans('MonthShort'.sprintf("%02d", $tmp['mon'])),
|
||||
'__MONTH_TEXT_MIN__' => $outputlangs->trans('MonthVeryShort'.sprintf("%02d", $tmp['mon'])),
|
||||
'__YEAR__' => (string) $tmp['year'],
|
||||
'__PREVIOUS_DAY__' => (string) $tmp2['day'],
|
||||
'__PREVIOUS_MONTH__' => (string) $tmp3['month'],
|
||||
|
||||
@ -531,18 +531,6 @@ September=September
|
||||
October=October
|
||||
November=November
|
||||
December=December
|
||||
JanuaryMin=Jan
|
||||
FebruaryMin=Feb
|
||||
MarchMin=Mar
|
||||
AprilMin=Apr
|
||||
MayMin=May
|
||||
JuneMin=Jun
|
||||
JulyMin=Jul
|
||||
AugustMin=Aug
|
||||
SeptemberMin=Sep
|
||||
OctoberMin=Oct
|
||||
NovemberMin=Nov
|
||||
DecemberMin=Dec
|
||||
Month01=January
|
||||
Month02=February
|
||||
Month03=March
|
||||
|
||||
Loading…
Reference in New Issue
Block a user