-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fiscalisation : ajouter la TVA dans les entrées du journal
fixes #1338 * Ajout de nouveaux champs dans la table du journal * dans l'admin on permet de les ajouter/modifier
- Loading branch information
Showing
3 changed files
with
60 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
use Phinx\Migration\AbstractMigration; | ||
|
||
class TvaJournal extends AbstractMigration | ||
{ | ||
public function change() | ||
{ | ||
$sql = <<<EOF | ||
ALTER TABLE `compta` | ||
ADD `montant_ht_soumis_tva_0` double(11,2) DEFAULT NULL AFTER `idcompte`, | ||
ADD `montant_ht_soumis_tva_5_5` double(11,2) DEFAULT NULL AFTER `idcompte`, | ||
ADD `montant_ht_soumis_tva_10` double(11,2) DEFAULT NULL AFTER `idcompte`, | ||
ADD `montant_ht_soumis_tva_20` double(11,2) DEFAULT NULL AFTER `idcompte` | ||
; | ||
EOF; | ||
$this->execute($sql); | ||
} | ||
} |
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