noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
Loading...
Searching...
No Matches
ajax_tax_detail.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@noalyss.eu 28/07/24
20/*!
21 * \file
22 * \brief manage Tax_Detail
23 */
24
25if (!defined('ALLOWED'))
26 die('Appel direct ne sont pas permis');
28try {
29 $tax_detail=new Tax_Detail(
30 $http->get('tva_id')
31 ,$http->get("date_from",'date')
32 ,$http->get("date_to",'date')
33 ,$http->get("ledger_id",'number')
34 );
35 $boxid=$http->get("boxid");
36
37} catch (\Exception $e) {
38 echo $e->getMessage();
39 return;
40}
41echo \HtmlInput::title_box("Détail TVA", $boxid);
42?>
43<div>
44 <p class="text-muted">
45 Il peut y avoir des différences entre la TVA calculée et à récupérer à cause de TVA Non Déductible, reprise
46 à charge du gérant ou d'arrondi.
47 </p>
48 <?php
49 $tax_detail->html();
50 ?>
51</div>
52<ul class="aligned-block">
53 <li>
54 <?=\HtmlInput::button_close($boxid)?>
55 </li>
56 <li>
57 <?=$tax_detail->button_export_csv()?>
58 </li>
59</ul>
60
p($p_string)
Definition ac_common.php:39
manage the http input (get , post, request) and extract from an array