Merge pull request #2747 from aspangaro/develop-accountancy_patch1
Accountancy - Add key language & prepare journal for expense report
This commit is contained in:
commit
3966b6dfde
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2013-2014 Olivier Geffroy <jeff@jeffinfo.com>
|
/* Copyright (C) 2013-2014 Olivier Geffroy <jeff@jeffinfo.com>
|
||||||
* Copyright (C) 2013-2014 Alexandre Spangaro <alexandre.spangaro@gmail.com>
|
* Copyright (C) 2013-2015 Alexandre Spangaro <alexandre.spangaro@gmail.com>
|
||||||
* Copyright (C) 2014 Florian Henry <florian.henry@open-concept.pro>
|
* Copyright (C) 2014 Florian Henry <florian.henry@open-concept.pro>
|
||||||
* Copyright (C) 2014 Marcos García <marcosgdf@gmail.com>
|
* Copyright (C) 2014 Marcos García <marcosgdf@gmail.com>
|
||||||
* Copyright (C) 2014 Juanjo Menent <jmenent@2byte.es>
|
* Copyright (C) 2014 Juanjo Menent <jmenent@2byte.es>
|
||||||
@ -48,8 +48,8 @@ $list = array (
|
|||||||
'ACCOUNTING_SELL_JOURNAL',
|
'ACCOUNTING_SELL_JOURNAL',
|
||||||
'ACCOUNTING_PURCHASE_JOURNAL',
|
'ACCOUNTING_PURCHASE_JOURNAL',
|
||||||
'ACCOUNTING_SOCIAL_JOURNAL',
|
'ACCOUNTING_SOCIAL_JOURNAL',
|
||||||
'ACCOUNTING_CASH_JOURNAL',
|
'ACCOUNTING_MISCELLANEOUS_JOURNAL',
|
||||||
'ACCOUNTING_MISCELLANEOUS_JOURNAL'
|
'ACCOUNTING_EXPENSEREPORT_JOURNAL'
|
||||||
);
|
);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@ -69,7 +69,7 @@ class modAccounting extends DolibarrModules
|
|||||||
$this->requiredby = array(); // List of modules id to disable if this one is disabled
|
$this->requiredby = array(); // List of modules id to disable if this one is disabled
|
||||||
$this->conflictwith = array("modComptabilite"); // List of modules are in conflict with this module
|
$this->conflictwith = array("modComptabilite"); // List of modules are in conflict with this module
|
||||||
$this->phpmin = array(5, 3); // Minimum version of PHP required by module
|
$this->phpmin = array(5, 3); // Minimum version of PHP required by module
|
||||||
$this->need_dolibarr_version = array(3, 6); // Minimum version of Dolibarr required by module
|
$this->need_dolibarr_version = array(3, 7); // Minimum version of Dolibarr required by module
|
||||||
$this->langfiles = array("accountancy");
|
$this->langfiles = array("accountancy");
|
||||||
|
|
||||||
// Constants
|
// Constants
|
||||||
@ -191,6 +191,11 @@ class modAccounting extends DolibarrModules
|
|||||||
"yesno",
|
"yesno",
|
||||||
"1"
|
"1"
|
||||||
);
|
);
|
||||||
|
$this->const[22] = array(
|
||||||
|
"ACCOUNTING_EXPENSEREPORT_JOURNAL",
|
||||||
|
"chaine",
|
||||||
|
"ER"
|
||||||
|
);
|
||||||
|
|
||||||
// Tabs
|
// Tabs
|
||||||
$this->tabs = array();
|
$this->tabs = array();
|
||||||
|
|||||||
@ -1,5 +1,12 @@
|
|||||||
# Dolibarr language file - en_US - Accounting Expert
|
# Dolibarr language file - en_US - Accounting Expert
|
||||||
CHARSET=UTF-8
|
CHARSET=UTF-8
|
||||||
|
ACCOUNTING_EXPORT_SEPARATORCSV=Column separator for export file
|
||||||
|
ACCOUNTING_EXPORT_DATE=Date format for export file
|
||||||
|
ACCOUNTING_EXPORT_PIECE=Export the number of piece ?
|
||||||
|
ACCOUNTING_EXPORT_GLOBAL_ACCOUNT=Export with global account ?
|
||||||
|
ACCOUNTING_EXPORT_LABEL=Export the label ?
|
||||||
|
ACCOUNTING_EXPORT_AMOUNT=Export the amount ?
|
||||||
|
ACCOUNTING_EXPORT_DEVISE=Export the devise ?
|
||||||
|
|
||||||
Accounting=Accounting
|
Accounting=Accounting
|
||||||
Globalparameters=Global parameters
|
Globalparameters=Global parameters
|
||||||
@ -81,9 +88,8 @@ ACCOUNTING_LENGTH_AACCOUNT=Length of the third party accounts
|
|||||||
|
|
||||||
ACCOUNTING_SELL_JOURNAL=Sell journal
|
ACCOUNTING_SELL_JOURNAL=Sell journal
|
||||||
ACCOUNTING_PURCHASE_JOURNAL=Purchase journal
|
ACCOUNTING_PURCHASE_JOURNAL=Purchase journal
|
||||||
ACCOUNTING_BANK_JOURNAL=Bank journal
|
|
||||||
ACCOUNTING_CASH_JOURNAL=Cash journal
|
|
||||||
ACCOUNTING_MISCELLANEOUS_JOURNAL=Miscellaneous journal
|
ACCOUNTING_MISCELLANEOUS_JOURNAL=Miscellaneous journal
|
||||||
|
ACCOUNTING_EXPENSEREPORT_JOURNAL=Expense report journal
|
||||||
ACCOUNTING_SOCIAL_JOURNAL=Social journal
|
ACCOUNTING_SOCIAL_JOURNAL=Social journal
|
||||||
|
|
||||||
ACCOUNTING_ACCOUNT_TRANSFER_CASH=Account of transfer
|
ACCOUNTING_ACCOUNT_TRANSFER_CASH=Account of transfer
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user