[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 28/219: Task #0001447: Solde des opérations
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 28/219: Task #0001447: Solde des opérations rapprochées Take in account the VAT autopurged |
Date: |
Mon, 18 Dec 2017 13:22:30 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 6250745630d1849b10bc347c9df87807ef21acc0
Author: Dany De Bontridder <address@hidden>
Date: Thu Aug 31 10:52:18 2017 +0200
Task #0001447: Solde des opérations rapprochées
Take in account the VAT autopurged
---
include/template/ledger_detail_bottom.php | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/include/template/ledger_detail_bottom.php
b/include/template/ledger_detail_bottom.php
index 72eddd8..c8c4061 100644
--- a/include/template/ledger_detail_bottom.php
+++ b/include/template/ledger_detail_bottom.php
@@ -157,7 +157,9 @@ endif;
<?php
if ($aRap != null ) {
+ $amount_tva_include=(isset($tvac))?$tvac:$detail->det->jr_montant;
$tableid="tb".$div;
+ $total_rec=0;
echo '<table id="'.$tableid.'">';
for ($e=0;$e<count($aRap);$e++) {
$opRap=new Acc_Operation($cn);
@@ -165,6 +167,7 @@ if ($aRap != null ) {
$internal=$opRap->get_internal();
$array_jr=$cn->get_array('select
jr_date,jr_pj_number,jr_montant,jr_comment from jrn where
jr_id=$1',array($aRap[$e]));
$amount=$array_jr[0]['jr_montant'];
+ $total_rec=bcadd($total_rec,$amount);
$str="modifyOperation(".$aRap[$e].",".$gDossier.")";
// If write access , allow to drop Reconciles operations
@@ -193,7 +196,8 @@ if ($aRap != null ) {
td('<a class="line" href="javascript:void(0)" onclick="'.$str.'"
>'.$internal.'</A>').
td($pj_nb).
td($comment).
- td(nbm($amount)).
+ td(_('montant').'='.nbm($amount)).
+ td(_('delta').'='.nbm(bcsub($amount_tva_include,$total_rec))).
td($remove),' id = "row'.$e.'"');
}
echo '</table>';
- [Noalyss-commit] [noalyss] 120/219: Task #0001328: Problème affichage totaux achat, (continued)
- [Noalyss-commit] [noalyss] 120/219: Task #0001328: Problème affichage totaux achat, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 119/219: Task #0001297: Perfectionnement menu COMPTA/ADV/OPEN Improve operation message, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 80/219: Bug : export_document the parameters id, ag_id and value are optionnal, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 45/219: Improve SQL class generation, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 101/219: Réécriture de CFGPCMN pour utiliser ManageTable, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 17/219: Add test for Manage_Table_SQL, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 127/219: Task #0001484: CA : opération diverses , possibilité d'ajouter une fiche Add card to misc operation ANC, - implemented also in Printing : balance , History , General Ledger..., Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 144/219: ANC : Bouton "recherche" sont des loupes, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 25/219: Ajout des ASBL, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 53/219: typo, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 28/219: Task #0001447: Solde des opérations rapprochées Take in account the VAT autopurged,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 15/219: Infobulle : info : esthetic, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 38/219: task #0001411: Faire des boutons du menu des... boutons, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 95/219: Recording operation : when adding a row , the css class was not copied, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 02/219: Improve redirect, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 87/219: Esthetic : no span surrounding the value, must be done in the caller, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 140/219: Javascript : small error, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 115/219: Correct indentation, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 68/219: HttpInput : do not use isset but in_array, to avoid problem if the value is null, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 58/219: Correct : json function, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 60/219: Inplace_Edit : improve button + test, Dany De Bontridder, 2017/12/18