[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r5566 - phpcompta/tags/rel670/include
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r5566 - phpcompta/tags/rel670/include |
Date: |
Thu, 5 Dec 2013 07:55:11 +0100 (CET) |
Author: danydb
Date: 2013-12-05 07:55:11 +0100 (Thu, 05 Dec 2013)
New Revision: 5566
Added:
phpcompta/tags/rel670/include/ajax_ledger_show.php
Log:
Task #929 : Ajout d'une description pour les journaux
ajout fichier
Added: phpcompta/tags/rel670/include/ajax_ledger_show.php
===================================================================
--- phpcompta/tags/rel670/include/ajax_ledger_show.php
(rev 0)
+++ phpcompta/tags/rel670/include/ajax_ledger_show.php 2013-12-05 06:55:11 UTC
(rev 5566)
@@ -0,0 +1,32 @@
+<?php
+/**
+ * @brief
+ * Show a div for selecting ledger
+ * return a html code for creating a window
+ * parameter
+ * - type
+ * - div
+ * - nbjrn
+ * - r_jrn[]
+ */
+// require_once '.php';
+require_once 'class_acc_ledger.php';
+require_once 'class_html_input.php';
+if ( ! isset ($r_jrn)) { $r_jrn=null;}
+$ctl='div_jrn'.$div;
+ob_start();
+echo HtmlInput::select_ledger($type,$r_jrn, $div);
+
+$response = ob_get_clean();
+ob_end_clean();
+$html = escape_xml($response);
+header('Content-type: text/xml; charset=UTF-8');
+echo <<<EOF
+<?xml version="1.0" encoding="UTF-8"?>
+<data>
+<ctl>$ctl</ctl>
+<code>$html</code>
+</data>
+EOF;
+exit();
+?>
\ No newline at end of file
---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r5566 - phpcompta/tags/rel670/include,
phpcompta-dev <=