From 0c6fd54e63ccafc8820d97f14524e5862ecd41b5 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Sun, 19 Oct 2025 12:15:03 +0200 Subject: [PATCH] Test for Acc_Operation::_toString --- scenario/HTML/to-string-acc_operation.php | 53 +++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 scenario/HTML/to-string-acc_operation.php diff --git a/scenario/HTML/to-string-acc_operation.php b/scenario/HTML/to-string-acc_operation.php new file mode 100644 index 000000000..838f656f9 --- /dev/null +++ b/scenario/HTML/to-string-acc_operation.php @@ -0,0 +1,53 @@ +get(); +print '
';
+print $obj;
+print '
'; + +echo h1(_("Opération diverse")); +$obj=new Acc_Misc($cn,316); +$obj->get(); +print '
';
+print $obj;
+print '
'; + +echo h1(_("Financier")); +$obj=new Acc_Fin($cn,142); +$obj->get(); +print '
';
+print $obj;
+print '
'; + +echo h1(_("Achat")); +$obj=new Acc_Purchase($cn,141); +$obj->get(); +print '
';
+print $obj;
+print '
'; \ No newline at end of file