noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 17/27: Documentation


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 17/27: Documentation
Date: Sat, 2 Nov 2019 18:12:18 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 325e37434bc82da11726cb726daf0007dc10636a
Author: Dany De Bontridder <address@hidden>
Date:   Sat Nov 2 18:30:07 2019 +0100

    Documentation
---
 include/class/acc_ledger_sold.class.php | 48 ++-------------------------------
 1 file changed, 2 insertions(+), 46 deletions(-)

diff --git a/include/class/acc_ledger_sold.class.php 
b/include/class/acc_ledger_sold.class.php
index 8a6ff3e..138c070 100644
--- a/include/class/acc_ledger_sold.class.php
+++ b/include/class/acc_ledger_sold.class.php
@@ -1008,44 +1008,7 @@ EOF;
         return $r;
     }
 
-    /**
-     * @brief update the payment
-     * @deprecated
-     * 
-     */
-
-    function show_unpaid() {
-        // Show list of unpaid sell
-        // Date - date of payment - Customer - amount
-        // Nav. bar
-        $step = $_SESSION['g_pagesize'];
-        $page = (isset($_GET['offset'])) ? $_GET['page'] : 1;
-        $offset = (isset($_GET['offset'])) ? $_GET['offset'] : 0;
-
-
-        $sql = SQL_LIST_UNPAID_INVOICE_DATE_LIMIT . " and jr_def_id=" . 
$this->id;
-        list($max_line, $list) = ListJrn($this->db, $sql, null, $offset, 1);
-        $sql = SQL_LIST_UNPAID_INVOICE . " and jr_def_id=" . $this->id;
-        list($max_line2, $list2) = ListJrn($this->db, $sql, null, $offset, 1);
-
-        // Get the max line
-        $m = ($max_line2 > $max_line) ? $max_line2 : $max_line;
-        $bar2 = navigation_bar($offset, $m, $step, $page);
-
-        echo $bar2;
-        echo '<h2 class="info"> ' . _('Echeance dépassée') . ' </h2>';
-        echo $list;
-        echo '<h2 class="info"> ' . _('Non Payée') . ' </h2>';
-        echo $list2;
-        echo $bar2;
-        // Add hidden parameter
-        $hid = new IHidden();
-
-        echo '<hr>';
-
-        if ($m != 0)
-            echo HtmlInput::submit('paid', _('Mise à jour paiement'));
-    }
+   
 
     /*!\brief display the form for entering data for invoice,
      * \param $p_array is null or you can put the predef operation or the 
$_POST
@@ -1433,14 +1396,7 @@ EOF;
         $array['tot_vat'] = _('TVA Opération');
         return $array;
     }
-    /*!\brief test function
-     */
 
-    static function test_me($p_string = '') {
-        $cn = Dossier::connect();
-        $a = new Acc_Ledger_Sold($cn, 2);
-        echo $a->input();
-    }
     
-        }
+}
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]