* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * */ /** * @file * @brief show the result of balance ageing, included from Balance_Age::display_purchase * @see Balance_Age */ bcscale(2); ?> cn,$a_fiche[$i]['quick_code']); $card->set_parameter('start', $p_date_start); $card->get_balance_ageing($p_let); if ( empty ($card->content)) continue; ?>
90 jours');?> | ||||||||
---|---|---|---|---|---|---|---|---|
content[$j]['j_date_fmt'] ?> | content[$j]['jr_id'], $card->content[$j]['jr_pj_number']) ?> | content[$j]['jr_comment'] ?> | content[$j]['jr_id'],$card->content[$j]['jr_internal']) ?> | content[$j]['j_debit']=='t')?'D':'C'; if ( $card->content[$j]['jrn_def_type'] == 'FIN' || $card->content[$j]['jrn_def_type'] == 'ODS') : echo nbm($card->content[$j]['j_montant'])." ".$side; if ( $card->content[$j]['j_debit']=='t'): $sum_fin=bcadd($sum_fin,$card->content[$j]['j_montant']); else: $sum_fin=bcsub($sum_fin,$card->content[$j]['j_montant']); endif; $show=false; endif; ?> | content[$j]['day_paid'] <= 30) : echo nbm($card->content[$j]['j_montant'])." ".$side; if ( $card->content[$j]['j_debit']=='t'): $sum_lt_30=bcadd($sum_lt_30,$card->content[$j]['j_montant']); else: $sum_lt_30=bcsub($sum_lt_30,$card->content[$j]['j_montant']); endif; endif; ?> | content[$j]['day_paid'] > 30 && $card->content[$j]['day_paid'] <= 60) : echo nbm($card->content[$j]['j_montant'])." ".$side; if ( $card->content[$j]['j_debit']=='t'): $sum_gt_30_lt_60=bcadd($sum_gt_30_lt_60,$card->content[$j]['j_montant']); else: $sum_gt_30_lt_60=bcsub($sum_gt_30_lt_60,$card->content[$j]['j_montant']); endif; endif; ?> | content[$j]['day_paid'] > 60 && $card->content[$j]['day_paid'] <= 90) : echo nbm($card->content[$j]['j_montant'])." ".$side; if ( $card->content[$j]['j_debit']=='t'): $sum_gt_60_lt_90=bcadd($sum_gt_60_lt_90,$card->content[$j]['j_montant']); else: $sum_gt_60_lt_90=bcsub($sum_gt_60_lt_90,$card->content[$j]['j_montant']); endif; endif; ?> | content[$j]['day_paid'] > 90) : echo nbm($card->content[$j]['j_montant'])." ".$side; if ( $card->content[$j]['j_debit']=='t'): $sum_gt_90=bcadd($sum_gt_90,$card->content[$j]['j_montant']); else: $sum_gt_90=bcsub($sum_gt_90,$card->content[$j]['j_montant']); endif; endif; ?> |