Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
@ -1913,7 +1913,7 @@ abstract class CommonObject
|
||||
* Change the multicurrency rate
|
||||
*
|
||||
* @param double $rate multicurrency rate
|
||||
* @param int $mode mode 1 : amounts in company currency will be recalculated, mode 2 : amounts in foreign currency
|
||||
* @param int $mode mode 1 : amounts in company currency will be recalculated, mode 2 : amounts in foreign currency will be recalculated
|
||||
* @return int >0 if OK, <0 if KO
|
||||
*/
|
||||
public function setMulticurrencyRate($rate, $mode = 1)
|
||||
@ -1936,10 +1936,16 @@ abstract class CommonObject
|
||||
{
|
||||
foreach ($this->lines as &$line)
|
||||
{
|
||||
// Amounts in company currency will be recalculated
|
||||
if($mode == 1) {
|
||||
$line->subprice = 0;
|
||||
}
|
||||
|
||||
// Amounts in foreign currency will be recalculated
|
||||
if($mode == 2) {
|
||||
$line->multicurrency_subprice = 0;
|
||||
}
|
||||
|
||||
switch ($this->element) {
|
||||
case 'propal':
|
||||
$this->updateline(
|
||||
|
||||
|
Before Width: | Height: | Size: 638 B After Width: | Height: | Size: 501 B |
|
Before Width: | Height: | Size: 650 B After Width: | Height: | Size: 431 B |
|
Before Width: | Height: | Size: 474 B After Width: | Height: | Size: 750 B |
|
Before Width: | Height: | Size: 374 B After Width: | Height: | Size: 687 B |
@ -44,9 +44,9 @@ $theme_bgcoloronglet = array(hexdec('DE'),hexdec('E7'),hexdec('EC'));
|
||||
|
||||
// Colors
|
||||
$colorbackhmenu1='60,70,100'; // topmenu
|
||||
$colorbackvmenu1='248,248,248'; // vmenu
|
||||
$colorbackvmenu1='249,250,252'; // vmenu
|
||||
$colortopbordertitle1='200,200,200'; // top border of title
|
||||
$colorbacktitle1='220,220,223'; // title of tables,list
|
||||
$colorbacktitle1='233,234,238'; // title of tables,list
|
||||
$colorbacktabcard1='255,255,255'; // card
|
||||
$colorbacktabactive='234,234,234';
|
||||
$colorbacklineimpair1='255,255,255'; // line impair
|
||||
|
||||