forked from Dolibarr/dolibarr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '18.0' into 18_contract_stay_edit_line_on_failed_update
- Loading branch information
Showing
14 changed files
with
106 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<?php | ||
/* Copyright (C) 2007-2010 Laurent Destailleur <[email protected]> | ||
* Copyright (C) 2007-2010 Jean Heimburger <[email protected]> | ||
* Copyright (C) 2011 Juanjo Menent <[email protected]> | ||
* Copyright (C) 2012 Regis Houssin <[email protected]> | ||
* Copyright (C) 2013-2023 Alexandre Spangaro <[email protected]> | ||
* Copyright (C) 2013-2016 Olivier Geffroy <[email protected]> | ||
* Copyright (C) 2013-2016 Florian Henry <[email protected]> | ||
* Copyright (C) 2018 Frédéric France <frederic.france@netlogic.fr> | ||
* Copyright (C) 2018 Eric Seigne <[email protected]> | ||
/* Copyright (C) 2007-2010 Laurent Destailleur <[email protected]> | ||
* Copyright (C) 2007-2010 Jean Heimburger <[email protected]> | ||
* Copyright (C) 2011 Juanjo Menent <[email protected]> | ||
* Copyright (C) 2012 Regis Houssin <[email protected]> | ||
* Copyright (C) 2013-2024 Alexandre Spangaro <[email protected]> | ||
* Copyright (C) 2013-2016 Olivier Geffroy <[email protected]> | ||
* Copyright (C) 2013-2016 Florian Henry <[email protected]> | ||
* Copyright (C) 2018 Frédéric France <frederic.france@free.fr> | ||
* Copyright (C) 2018 Eric Seigne <[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 | ||
|
@@ -155,8 +155,8 @@ | |
|
||
$vatdata = getTaxesFromId($obj->tva_tx.($obj->vat_src_code ? ' ('.$obj->vat_src_code.')' : ''), $mysoc, $mysoc, 0); | ||
$compta_tva = (!empty($vatdata['accountancy_code_buy']) ? $vatdata['accountancy_code_buy'] : $account_vat); | ||
$compta_localtax1 = (!empty($vatdata['accountancy_code_buy']) ? $vatdata['accountancy_code_buy'] : $cpttva); | ||
$compta_localtax2 = (!empty($vatdata['accountancy_code_buy']) ? $vatdata['accountancy_code_buy'] : $cpttva); | ||
$compta_localtax1 = (!empty($vatdata['accountancy_code_buy']) ? $vatdata['accountancy_code_buy'] : $account_vat); | ||
$compta_localtax2 = (!empty($vatdata['accountancy_code_buy']) ? $vatdata['accountancy_code_buy'] : $account_vat); | ||
|
||
// Define array to display all VAT rates that use this accounting account $compta_tva | ||
if (price2num($obj->tva_tx) || !empty($obj->vat_src_code)) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters