Merged revisions 5645-5664 via svnmerge from
svn+ssh://danydb@ns352270.ovh.net/svn/phpcompta/tags/rel671 ........ r5645 | danydb | 2014-01-07 17:54:56 +0100 (mar., 07 janv. 2014) | 2 lines Rewrite and have one row by ND Task #960 - TVA ND & comptabilité analytique ........ r5646 | danydb | 2014-01-07 18:01:31 +0100 (mar., 07 janv. 2014) | 2 lines Rewrite and have one row by ND : add documentation 2 new private function : compute_no_deductible & insert_no_deductible Task #960 - TVA ND & comptabilité analytique ........ r5647 | danydb | 2014-01-07 18:16:00 +0100 (mar., 07 janv. 2014) | 2 lines Add label for ND row Task #960 - TVA ND & comptabilité analytique ........ r5648 | danydb | 2014-01-07 18:44:04 +0100 (mar., 07 janv. 2014) | 2 lines Task #960 - TVA ND & comptabilité analytique Move function find_label ........ r5649 | danydb | 2014-01-07 21:22:48 +0100 (mar., 07 janv. 2014) | 1 line show TVA ND ........ r5650 | danydb | 2014-01-08 21:48:44 +0100 (mer., 08 janv. 2014) | 3 lines Task #960 - TVA ND & comptabilité analytique TVA ND is now in the Analytic accountancy The Analytic Accountancy can work with negative amount ........ r5651 | danydb | 2014-01-08 21:51:40 +0100 (mer., 08 janv. 2014) | 5 lines Task #960 - TVA ND & comptabilité analytique TVA ND is now in the Analytic accountancy The Analytic Accountancy can work with negative amount Fix problem with update script ........ r5652 | danydb | 2014-01-08 22:08:51 +0100 (mer., 08 janv. 2014) | 1 line Update SQL script ........ r5653 | danydb | 2014-01-08 22:09:17 +0100 (mer., 08 janv. 2014) | 1 line Task #971 : Cosmetic ........ r5654 | danydb | 2014-01-08 22:09:51 +0100 (mer., 08 janv. 2014) | 1 line Task #960 : show negative ........ r5655 | danydb | 2014-01-09 13:08:05 +0100 (jeu., 09 janv. 2014) | 2 lines Task #961 - Compta analytique ANCODS ........ r5656 | danydb | 2014-01-09 13:10:24 +0100 (jeu., 09 janv. 2014) | 2 lines Task #961 - Compta analytique ANCHOP ........ r5657 | danydb | 2014-01-09 13:17:46 +0100 (jeu., 09 janv. 2014) | 2 lines Task #961 - Compta analytique ANCGL ........ r5658 | danydb | 2014-01-09 13:19:05 +0100 (jeu., 09 janv. 2014) | 2 lines Task #961 - Compta analytique ANCBS ........ r5659 | danydb | 2014-01-09 13:24:46 +0100 (jeu., 09 janv. 2014) | 2 lines Task #961 - Compta analytique ANCTAB ........ r5660 | danydb | 2014-01-09 13:27:09 +0100 (jeu., 09 janv. 2014) | 2 lines Task #961 - Compta analytique ANCGR ........ r5661 | danydb | 2014-01-09 13:29:06 +0100 (jeu., 09 janv. 2014) | 1 line Bug : race condition ........ r5662 | danydb | 2014-01-09 13:30:08 +0100 (jeu., 09 janv. 2014) | 2 lines Task #961 - Compta analytique ANC ........ r5663 | danydb | 2014-01-09 16:40:48 +0100 (jeu., 09 janv. 2014) | 2 lines Update unit test ........ r5664 | danydb | 2014-01-09 16:41:07 +0100 (jeu., 09 janv. 2014) | 1 line Bug CSS ........
This commit is contained in:
parent
49ab24e159
commit
ed9bf5d559
19 changed files with 480 additions and 254 deletions
|
|
@ -40,6 +40,12 @@ if ( ! file_exists('authorized_debug') )
|
|||
|
||||
}
|
||||
html_page_start();
|
||||
function start_test($p_array)
|
||||
{
|
||||
echo '<h1>'.$p_array['desc'].'</h1>';
|
||||
require $p_array['file'];
|
||||
call_user_func($p_array['function']);
|
||||
}
|
||||
// Test the connection
|
||||
echo __FILE__.":".__LINE__;
|
||||
print_r($_REQUEST);
|
||||
|
|
@ -52,10 +58,17 @@ if ( ! isset($_REQUEST['gDossier']))
|
|||
$cn=new Database($_GET['gDossier']);
|
||||
|
||||
$a_route[]=array('desc'=>'test sur les menus par défauts','file'=>'class_default_menu.php','function'=>'Default_Menu::test_me');
|
||||
|
||||
for ($i=0;$i< count($a_route);$i++)
|
||||
$a_route[]=array('desc'=>'test sur Acc_Operations','file'=>'class_acc_operation.php','function'=>'Acc_Operation::test_me');
|
||||
$a_route[]=array('desc'=>'test sur INVOICING','file'=>'../include/ext/invoicing/include/class_acc_ledger_sold_generate.php','function'=>'Acc_Ledger_Sold_Generate::test_me');
|
||||
$called=HtmlInput::default_value_get("called", -1);
|
||||
if ($called == -1 )
|
||||
{
|
||||
echo '<h1>'.$a_route[$i]['desc'].'</h1>';
|
||||
require $a_route[$i]['file'];
|
||||
call_user_func($a_route[$i]['function']);
|
||||
for ($i=0;$i< count($a_route);$i++)
|
||||
{
|
||||
start_test($a_route[$i]);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
start_test($a_route[$called]);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue