Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file.

# [Unreleased]
## Release 3.29
- FIX : COMPAT V23 - *02/12/2025* - 3.29.2
- FIX : query sql to order line when create invoice from order - *29/10/2025* - 3.29.1
- FIX : Prevent creating a new situation invoice when all lines have 100% progress- *01/10/2025* - 3.29.1
- NEW : COMPAT 22 - *02/07/2025* - 3.29.0
Expand Down
4,003 changes: 2,008 additions & 1,995 deletions class/actions_subtotal.class.php

Large diffs are not rendered by default.

19 changes: 17 additions & 2 deletions class/staticPdf.model.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
<?php
/**
/* Copyright (C) 2025 ATM Consulting <[email protected]>

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 3 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, see <https://www.gnu.org/licenses/>.

* SPDX-License-Identifier: GPL-3.0-or-later
* This file is part of Dolibarr module Subtotal
*/
Expand All @@ -11,7 +25,8 @@
* This class is used by subtotal to access CommonDocGenerator method without real model
*
*/
class ModelePDFStatic extends CommonDocGenerator{
class ModelePDFStatic extends CommonDocGenerator
{


/**
Expand Down
32 changes: 28 additions & 4 deletions class/subTotalJsonResponse.class.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,30 @@
<?php
/* Copyright (C) 2025 ATM Consulting <[email protected]>

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 3 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, see <https://www.gnu.org/licenses/>.
*/

/**
* SPDX-License-Identifier: GPL-3.0-or-later
* This file is part of Dolibarr module Subtotal
*/


class SubTotalJsonResponse{
/**
* Class SubTotalJsonResponse
*/
class SubTotalJsonResponse
{

/**
* the call status to determine if success or fail
Expand Down Expand Up @@ -37,15 +56,20 @@ class SubTotalJsonResponse{
*/
public $newToken = '';

public function __construct(){
/**
* Constructor
*/
public function __construct()
{
$this->newToken = newToken();
}

/**
* return json encoded of object
* @return string JSON
*/
public function getJsonResponse(){
public function getJsonResponse()
{
$jsonResponse = new stdClass();
$jsonResponse->result = $this->result;
$jsonResponse->msg = $this->msg;
Expand Down
Loading