[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 12/33: Button close for new card
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 12/33: Button close for new card |
Date: |
Thu, 11 Nov 2021 06:02:45 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 6131723f3e21388566192993a0be5fec51e6081e
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sat Oct 2 13:16:11 2021 +0200
Button close for new card
---
html/js/card.js | 2 +-
include/ajax/ajax_card.php | 1 +
unit-test/include/class/document.Test.php | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/html/js/card.js b/html/js/card.js
index d19fd24..e3b11ef 100644
--- a/html/js/card.js
+++ b/html/js/card.js
@@ -683,7 +683,7 @@ function successFill_ipopcard(req,json)
}
}
/**
- * show the ipopup for selecting a card type, it is a needed step before adding
+ *@brief show the ipopup for selecting a card type, it is a needed step before
adding
* a card
*@param input field (obj) it must have the attribute ipopup
* possible attribute :
diff --git a/include/ajax/ajax_card.php b/include/ajax/ajax_card.php
index 78cdae0..d9b0023 100644
--- a/include/ajax/ajax_card.php
+++ b/include/ajax/ajax_card.php
@@ -204,6 +204,7 @@ case 'bc':
$r.=$f->blank($fd_id);
$r.='<p style="text-align:center">';
$r.=HtmlInput::submit('sc',_('Sauve'));
+ $r.=HtmlInput::button_close($ctl);
$r.='</p>';
if ( isset ($eltid)) {
$r.=HtmlInput::hidden("eltid", $eltid);
diff --git a/unit-test/include/class/document.Test.php
b/unit-test/include/class/document.Test.php
index 9015d15..6bb7f06 100644
--- a/unit-test/include/class/document.Test.php
+++ b/unit-test/include/class/document.Test.php
@@ -136,7 +136,7 @@ class DocumentTest extends TestCase
$document->md_id=$md_id;
$cnt_before=$cn->get_value("select count(*) from document");
$document->generate($array);
- var_dump($document);
+
$this->assertEquals($document->d_filename ,'all-tags.odt','Generated
File ');
$cnt_after=$cn->get_value("select count(*) from document");
$this->assertTrue ($cnt_after == $cnt_before+1,"One file generated");
- [Noalyss-commit] [noalyss] branch master updated (8b28b18 -> 2b1bcd5), Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 04/33: Sale & Purchase Quantity with 2 dec., Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 01/33: Cosmetic : move dialog horizontally and vertically, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 02/33: Cosmetic : add button close for filter, dialog box search operation, TVA, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 09/33: Rounded for currency, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 08/33: Operation details : calcul correctement la différence avec les opérations extournées, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 12/33: Button close for new card,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 06/33: Bug rounded : show amount in currency with 4 dec., Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 10/33: For Misc Operation in currency , show the currency amount / row, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 11/33: Bug for reversed operation when currency are used, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 03/33: Improve HttpInput::extract , the array is set and not passed anymore, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 05/33: Bug : pour non-assujetti , pas de calcul en devise, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 07/33: Bug for reversed operation when currency are used, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 14/33: Typo, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 13/33: Compute.php it happens that the argument are not numeric, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 16/33: Documentation, Dany De Bontridder, 2021/11/11
- [Noalyss-commit] [noalyss] 15/33: Bug #2079 : 0002079: Recherche de carte : guillement ne passe pas, Dany De Bontridder, 2021/11/11