Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop
This commit is contained in:
commit
81d5fa87e0
@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2010-2011 Regis Houssin <regis.houssin@capnetworks.com>
|
/* Copyright (C) 2010-2011 Regis Houssin <regis.houssin@capnetworks.com>
|
||||||
|
* Copyright (C) 2013 Juanjo Menent <jmenent@2byte.es>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -37,6 +38,7 @@ print_titre($langs->trans('RelatedCommercialProposals'));
|
|||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
$var=true;
|
$var=true;
|
||||||
|
$total=0;
|
||||||
foreach($linkedObjectBlock as $object)
|
foreach($linkedObjectBlock as $object)
|
||||||
{
|
{
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2010-2011 Regis Houssin <regis.houssin@capnetworks.com>
|
/* Copyright (C) 2010-2011 Regis Houssin <regis.houssin@capnetworks.com>
|
||||||
|
* Copyright (C) 2013 Juanjo Menent <jmenent@2byte.es>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -38,6 +39,7 @@ print_titre($langs->trans('RelatedOrders'));
|
|||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
$var=true;
|
$var=true;
|
||||||
|
$total=0;
|
||||||
foreach($linkedObjectBlock as $object)
|
foreach($linkedObjectBlock as $object)
|
||||||
{
|
{
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2010-2011 Regis Houssin <regis.houssin@capnetworks.com>
|
/* Copyright (C) 2010-2011 Regis Houssin <regis.houssin@capnetworks.com>
|
||||||
|
* Copyright (C) 2013 Juanjo Menent <jmenent@2byte.es>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -38,6 +39,7 @@ else print_titre($langs->trans("RelatedBill"));
|
|||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
$var=true;
|
$var=true;
|
||||||
|
$total=0;
|
||||||
foreach($linkedObjectBlock as $object)
|
foreach($linkedObjectBlock as $object)
|
||||||
{
|
{
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
|
|||||||
@ -2078,7 +2078,7 @@ else
|
|||||||
$formmail->frommail = $user->email;
|
$formmail->frommail = $user->email;
|
||||||
$formmail->withfrom=1;
|
$formmail->withfrom=1;
|
||||||
$formmail->withto=empty($_POST["sendto"])?1:$_POST["sendto"];
|
$formmail->withto=empty($_POST["sendto"])?1:$_POST["sendto"];
|
||||||
$formmail->withtosocid=$soc->id;
|
$formmail->withtosocid=$societe->id;
|
||||||
$formmail->withtocc=1;
|
$formmail->withtocc=1;
|
||||||
$formmail->withtoccsocid=0;
|
$formmail->withtoccsocid=0;
|
||||||
$formmail->withtoccc=$conf->global->MAIN_EMAIL_USECCC;
|
$formmail->withtoccc=$conf->global->MAIN_EMAIL_USECCC;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user