[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 106/107: cosmetic
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 106/107: cosmetic |
Date: |
Mon, 26 Aug 2019 10:32:10 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 4a7eee5dc4ede885add87a24d6ff11aac5745c2c
Author: Dany De Bontridder <address@hidden>
Date: Mon Aug 26 16:29:54 2019 +0200
cosmetic
---
include/compta_ach.inc.php | 5 +++--
include/compta_ven.inc.php | 8 ++++----
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/include/compta_ach.inc.php b/include/compta_ach.inc.php
index 71f2af8..578451b 100644
--- a/include/compta_ach.inc.php
+++ b/include/compta_ach.inc.php
@@ -200,7 +200,7 @@ if (isset($_POST['record']))
else
{
// warning because date is invalid
- echo '<p class="notice">'._('Date invalide, opération
non extournée').'</p>';
+ echo '<span class="warning">'._('Date invalide,
opération non extournée').'</span>';
}
}
echo '<ul class="aligned-block">';
@@ -250,7 +250,8 @@ echo '</div>';
echo '<div class="content">';
-echo '<span class="warning">'.$p_msg.'</span>';
+if ( $p_msg !="" ) echo '<span class="warning">'.$p_msg.'</span>';
+
try
{
$payment=$http->request("e_mp", "string",0);
diff --git a/include/compta_ven.inc.php b/include/compta_ven.inc.php
index 702bb71..aee9839 100644
--- a/include/compta_ven.inc.php
+++ b/include/compta_ven.inc.php
@@ -209,15 +209,15 @@ show_tabs(a_tab,'facturation_div_id');
}
catch (Exception $e)
{
- echo '<p class="notice">'._('Opération non extournée').
+ echo '<span class="warning">'._('Opération non
extournée').
$e->getMessage().
- '</p>';
+ '</span>';
}
}
else
{
// warning because date is invalid
- echo '<p class="notice">'._('Date invalide, opération non
extournée').'</p>';
+ echo '<span class="warning">'._('Date invalide, opération
non extournée').'</span>';
}
}
echo '<ul class="aligned-block">';
@@ -270,7 +270,7 @@ echo $op->form_get('do.php?'.$url);
echo '</div>';
*/
echo '<div class="content">';
-echo '<span class="warning">'.$p_msg.'</span>';
+if ( $p_msg !="" ) echo '<span class="warning">'.$p_msg.'</span>';
try
{
$payment=$http->request("e_mp","string", 0);
- [Noalyss-commit] [noalyss] 76/107: fixup! Improve message progress bar + translation, (continued)
- [Noalyss-commit] [noalyss] 76/107: fixup! Improve message progress bar + translation, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 78/107: Purpose is to contain all the prepared query called from different locations, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 83/107: Task#1734 New : Add PRINTTVA to have a summary of VAT by ledger, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 93/107: Documentation, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 92/107: Code : remove direct use of $_GET, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 39/107: Code cleaning : split database into database (for noalyss) and databasecore , with the functions, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 98/107: New :: function Icon_Action::tips for short comment New : Icon_Action::unlock, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 84/107: Task #1734 Upgrade patch for PRINTTVA, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 46/107: Code Cleaning split PDF into PDF_Core and PDF, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 105/107: fixup! New Task 1728: Aide à l'encodage - Journaux négatifs (note de crédit), Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 106/107: cosmetic,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 64/107: Add demo for fontello, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 75/107: Task #0001731: Moyen de paiement, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 81/107: Task #0001733: Impression moyen paiement, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 56/107: New function PDF_Core:is_fill add documentation, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 38/107: load_all must always return an array, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 67/107: SQL : add constraint for payment_method, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 44/107: fixup! fixup! Code cleaning : split database into database (for noalyss) and databasecore , with the functions, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 36/107: Bug : card cannot use a attribute of the type "card", reason : the query was wrong and there were a confusion between this->name and this->id in "get_js_attr()", Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 47/107: Improve doxygen, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 51/107: Code Cleaning split sendmail between sendmail_core (not related to noalyss) and sendmail which is used by noalyss, Dany De Bontridder, 2019/08/26