[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();
- }
- }
+}
- [Noalyss-commit] [noalyss] 03/27: Merge branch 'v7110-stable', (continued)
- [Noalyss-commit] [noalyss] 03/27: Merge branch 'v7110-stable', Dany De Bontridder, 2019/11/02
- [Noalyss-commit] [noalyss] 01/27: documentation, Dany De Bontridder, 2019/11/02
- [Noalyss-commit] [noalyss] 06/27: Code Cleaning : remove direct access to global , add Exception, Dany De Bontridder, 2019/11/02
- [Noalyss-commit] [noalyss] 25/27: TEST fix bug in acc_balanceTest, Dany De Bontridder, 2019/11/02
- [Noalyss-commit] [noalyss] 13/27: TEST : Acc_Ledger_History*, Dany De Bontridder, 2019/11/02
- [Noalyss-commit] [noalyss] 14/27: Facility : new function to help with phpunit, Dany De Bontridder, 2019/11/02
- [Noalyss-commit] [noalyss] 26/27: Documentation, Dany De Bontridder, 2019/11/02
- [Noalyss-commit] [noalyss] 15/27: Facility improve page_start, Dany De Bontridder, 2019/11/02
- [Noalyss-commit] [noalyss] 22/27: Merge branch 'dev-7200', Dany De Bontridder, 2019/11/02
- [Noalyss-commit] [noalyss] 21/27: Bug : export PDF for PRINTTVA doesn't print all the ledgers, Dany De Bontridder, 2019/11/02
- [Noalyss-commit] [noalyss] 17/27: Documentation,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 07/27: TEST : add new files, Dany De Bontridder, 2019/11/02
- [Noalyss-commit] [noalyss] 19/27: PRINTTVA : cosmetic bug, Dany De Bontridder, 2019/11/02
- [Noalyss-commit] [noalyss] 27/27: Merge branch 'dev-7200', Dany De Bontridder, 2019/11/02
- [Noalyss-commit] [noalyss] 20/27: TEST : update, Dany De Bontridder, 2019/11/02
- [Noalyss-commit] [noalyss] 16/27: TEST : Acc_Ledger_Purchase + Acc_Ledger_Sale, Dany De Bontridder, 2019/11/02
- [Noalyss-commit] [noalyss] 24/27: Documentation, Dany De Bontridder, 2019/11/02
- [Noalyss-commit] [noalyss] 23/27: TEST fix bug in acc_balanceTest, Dany De Bontridder, 2019/11/02
- [Noalyss-commit] [noalyss] 11/27: Acc_Ledger_History : add documentation, Dany De Bontridder, 2019/11/02
- [Noalyss-commit] [noalyss] 18/27: TEST, Dany De Bontridder, 2019/11/02