Fix: Avoid errors into rpm packages
This commit is contained in:
parent
358b21297d
commit
463e3cf6a1
@ -17,10 +17,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/boutique/index.php
|
* \file htdocs/boutique/index.php
|
||||||
\ingroup boutique
|
* \ingroup boutique
|
||||||
\brief Page accueil zone boutique
|
* \brief Page accueil zone boutique
|
||||||
\version $Id: index.php,v 1.16 2011/08/03 00:45:46 eldy Exp $
|
* \version $Id: index.php,v 1.17 2011/08/03 01:17:17 eldy Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../main.inc.php");
|
require("../main.inc.php");
|
||||||
@ -238,5 +238,5 @@ print '</tr></table>';
|
|||||||
|
|
||||||
$dbosc->close();
|
$dbosc->close();
|
||||||
|
|
||||||
llxFooter('$Date: 2011/08/03 00:45:46 $ - $Revision: 1.16 $');
|
llxFooter('$Date: 2011/08/03 01:17:17 $ - $Revision: 1.17 $');
|
||||||
?>
|
?>
|
||||||
|
|||||||
@ -15,8 +15,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
-->
|
-->
|
||||||
<fieldset class="cadre_facturation"><legend class="titre1"><?php echo $langs->trans("Summary"); ?></legend>
|
<fieldset class="cadre_facturation"><legend class="titre1"><?php echo $langs->trans("Summary"); ?></legend>
|
||||||
|
|
||||||
@ -40,9 +39,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||||||
?>
|
?>
|
||||||
<tr><td class="resume_label"><?php echo $langs->trans("TotalTTC"); ?> </td><td><?php echo price2num($obj_facturation->prix_total_ttc(),'MT').' '.$conf->monnaie; ?></td></tr>
|
<tr><td class="resume_label"><?php echo $langs->trans("TotalTTC"); ?> </td><td><?php echo price2num($obj_facturation->prix_total_ttc(),'MT').' '.$conf->monnaie; ?></td></tr>
|
||||||
<tr><td class="resume_label"><?php echo $langs->trans("PaymentMode"); ?> </td><td>
|
<tr><td class="resume_label"><?php echo $langs->trans("PaymentMode"); ?> </td><td>
|
||||||
<?php
|
<?php
|
||||||
switch ($obj_facturation->mode_reglement())
|
switch ($obj_facturation->mode_reglement())
|
||||||
{
|
{
|
||||||
case 'ESP':
|
case 'ESP':
|
||||||
echo $langs->trans("Cash");
|
echo $langs->trans("Cash");
|
||||||
$filtre='courant=2';
|
$filtre='courant=2';
|
||||||
@ -53,7 +52,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||||||
echo $langs->trans("CreditCard");
|
echo $langs->trans("CreditCard");
|
||||||
$filtre='courant=1';
|
$filtre='courant=1';
|
||||||
if (!empty($conf->global->CASHDESK_ID_BANKACCOUNT_CB))
|
if (!empty($conf->global->CASHDESK_ID_BANKACCOUNT_CB))
|
||||||
$selected = $conf->global->CASHDESK_ID_BANKACCOUNT_CB;
|
$selected = $conf->global->CASHDESK_ID_BANKACCOUNT_CB;
|
||||||
break;
|
break;
|
||||||
case 'CHQ':
|
case 'CHQ':
|
||||||
echo $langs->trans("Cheque");
|
echo $langs->trans("Cheque");
|
||||||
@ -65,16 +64,16 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||||||
echo $langs->trans("Reported");
|
echo $langs->trans("Reported");
|
||||||
$filtre='courant=1 OR courant=2';
|
$filtre='courant=1 OR courant=2';
|
||||||
$selected='';
|
$selected='';
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$filtre='courant=1 OR courant=2';
|
$filtre='courant=1 OR courant=2';
|
||||||
$selected='';
|
$selected='';
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
</td></tr>
|
</td></tr>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// Affichage des infos en fonction du mode de paiement
|
// Affichage des infos en fonction du mode de paiement
|
||||||
if ( $obj_facturation->mode_reglement() == 'DIF' ) {
|
if ( $obj_facturation->mode_reglement() == 'DIF' ) {
|
||||||
|
|
||||||
@ -100,10 +99,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||||||
<form id="frmValidation" class="formulaire2" method="post" action="validation_verif.php?action=valide_facture">
|
<form id="frmValidation" class="formulaire2" method="post" action="validation_verif.php?action=valide_facture">
|
||||||
<input type="hidden" name="token" value="<?php echo $_SESSION['newtoken']; ?>" />
|
<input type="hidden" name="token" value="<?php echo $_SESSION['newtoken']; ?>" />
|
||||||
<p class="note_label">
|
<p class="note_label">
|
||||||
<?php
|
<?php
|
||||||
echo $langs->trans("BankToPay"). "<br>";
|
echo $langs->trans("BankToPay"). "<br>";
|
||||||
$html = new Form($db);
|
$html = new Form($db);
|
||||||
$html->select_comptes($selected,'cashdeskbank',0,$filtre);
|
$html->select_comptes($selected,'cashdeskbank',0,$filtre);
|
||||||
?>
|
?>
|
||||||
</p>
|
</p>
|
||||||
<p class="note_label"><?php echo $langs->trans("Notes"); ?><br><textarea class="textarea_note" name="txtaNotes"></textarea></p>
|
<p class="note_label"><?php echo $langs->trans("Notes"); ?><br><textarea class="textarea_note" name="txtaNotes"></textarea></p>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user