noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
Loading...
Searching...
No Matches
last_operation.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 10/08/24
20/*!
21 * \file
22 * \brief display last operation
23 */
24namespace Noalyss\Widget;
25/**
26 * @class Last_Operation
27 * @brief display last accountancy operation
28 * @note this widget is included in Noalyss Core and a part of the code (javascript + css + ajax)
29 * are still included in NOALYSS Code, this code should move here and will be part of a "cleansing code" process
30 *
31 */
33{
34 /**
35 * @brief display last accounting
36 * @return void
37 * @throws \Exception
38 */
39 public function display()
40 {
41 global $cn;
42 $this->open_div();
43
44 echo \HtmlInput::title_box(_('Dernières opérations'),"last_operation_box_div",'zoom','popup_recherche('.\Dossier::id().')','n');
45 require_once "last_operation-display.php";
46 $this->close_div();
47 }
48
49}
_("actif, passif,charge,...")
display last accountancy operation
display()
display last accounting
Main class for widget.
Definition widget.php:32
open_div()
output the DIV HTML with class and id for the widget
Definition widget.php:157