noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
Loading...
Searching...
No Matches
status_operation_event-main_display.php
Go to the documentation of this file.
1<?php
2/*
3 * This file is part of NOALYSS.
4 *
5 * NOALYSS is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * NOALYSS is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with NOALYSS; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18*/
19// Copyright Author Dany De Bontridder danydb@aevalys.eu 17/04/23
20/*!
21 * \file
22 * \brief main display for situation
23 */
24
28
30
31// Supplier late and now
32$supplier_now=$Ledger->get_supplier_now();
33$supplier_late=$Ledger->get_supplier_late();
34
35// Customer late and now
36$customer_now=$Ledger->get_customer_now();
37$customer_late=$Ledger->get_customer_late();
38
39$gDossier_id=Dossier::id();
40
41?>
42 <?php echo HtmlInput::title_box(_("Résumé"),"situation_div",'none','','n')?>
43 <table class='result'>
44 <tr>
45 <th>
46
47 </th>
48 <th>
49 <?php echo date('d.m.y'); ?>
50 </th>
51 <th>
52 <?php echo _('En retard') ?>
53 </th>
54 </tr>
55 <tr>
56 <td>
57 <?php echo _("Action"); ?>
58 </td>
59 <td>
60 <?php if (count($last_operation)>0): ?>
61 <A class="mtitle" style="font-weight: bolder;"onclick="event_display_detail(<?=$gDossier_id?>,'action_now')">
62 <span class="notice">
63 <?php echo count($last_operation) ?>
64 &nbsp;<?php echo _("détail"); ?>
65 </span>
66 </A>
67 <?php else: ?>
68 0
69 <?php endif; ?>
70 </td>
71
72 <td >
73 <?php if (count($late_operation)>0): ?>
74 <A class="mtitle" style="font-weight: bolder" onclick="event_display_detail(<?=$gDossier_id?>,'action_late')">
75 <span class="notice"><?php echo count($late_operation) ?>
76 &nbsp;<?php echo _("détail"); ?>
78 </A>
79 <?php else: ?>
80 0
81 <?php endif; ?>
82 </td>
83
84 </tr>
85 <tr>
86 <td>
87 <?php echo _("Paiement fournisseur"); ?>
88 </td>
89 <td >
90 <?php if (count($supplier_now)>0): ?>
91 <A class="mtitle" style="font-weight: bolder" onclick="event_display_detail(<?=$gDossier_id?>,'supplier_now')">
92 <span class="notice"><?php echo count($supplier_now) ?>&nbsp;<?php echo _("détail"); ?></span>
94 </A>
95 <?php else: ?>
96 0
97 <?php endif; ?>
98 </td>
99 <td >
100 <?php if (count($supplier_late)>0): ?>
101 <A class="mtitle" style="font-weight: bolder" onclick="event_display_detail(<?=$gDossier_id?>,'supplier_late')">
102 <span class="notice"><?php echo count($supplier_late) ?>&nbsp;<?php echo _("détail"); ?></span>
104 </A>
105 <?php else: ?>
106 0
107 <?php endif; ?>
108 </td>
109 </tr>
110 <tr>
111 <td>
112 <?php echo _("Paiement client"); ?>
113 </td>
114 <td>
115 <?php if (count($customer_now)>0): ?>
116 <A class="mtitle" style="font-weight: bolder" onclick="event_display_detail(<?=$gDossier_id?>,'customer_now')">
117 <span class="notice"><?php echo count($customer_now) ?>&nbsp;<?php echo _("détail"); ?></span>
119 </A>
120 <?php else: ?>
121 0
122 <?php endif; ?>
123 </td>
124 <td>
125 <?php if (count($customer_late)>0): ?>
126 <A class="mtitle" style="font-weight: bolder" onclick="event_display_detail(<?=$gDossier_id?>,'customer_late')">
127 <span class="notice"><?php echo count($customer_late) ?>&nbsp;<?php echo _("détail"); ?></span>
129 </A>
130 <?php else: ?>
131 0
132 <?php endif; ?>
133 </td>
134 </tr>
135 </table>
136<ul class="aligned-block">
137 <li>
138 <?=\HtmlInput::button_action(_("Rafraîchir"),sprintf("event_display_main('%s')",Dossier::id()),uniqid(),"smallbutton")?>
139 </li>
140
141</ul>
th($p_string, $p_extra='', $raw='')
Definition ac_common.php:58
span($p_string, $p_extra='')
Definition ac_common.php:43
tr($p_string, $p_extra='')
Definition ac_common.php:88
td($p_string='', $p_extra='')
surround the string with td
Definition ac_common.php:83
foreach(array( 'l', 'gDossier') as $a) if(is_numeric($l)==false) $Ledger
$opd_description style
_("actif, passif,charge,...")
Class for jrn, class acc_ledger for manipulating the ledger AND some acc.
class_action for manipulating actions action can be :
$all table