PSR2 FunctionClosingBrace

This commit is contained in:
Frédéric FRANCE 2018-08-29 21:25:22 +02:00
parent 489e766cbf
commit b03f4004ea
No known key found for this signature in database
GPG Key ID: 06809324E4B2ABC1
159 changed files with 32 additions and 269 deletions

View File

@ -374,6 +374,9 @@
</rule>
<rule ref="PEAR.NamingConventions.ValidVariableName" />
<!--<rule ref="PSR2.Classes.ClassDeclaration" />-->
<rule ref="PSR2.Methods.FunctionClosingBrace" />
<!-- This is not in PSR2 -->
<rule ref="PEAR.NamingConventions.ValidVariableName.PrivateNoUnderscore">
<severity>0</severity>

View File

@ -65,7 +65,6 @@ class autoTranslator
//ini_set('default_charset','UTF-8');
ini_set('default_charset',$this->_outputpagecode);
$this->parse_refLangTranslationFiles();
}
/**

View File

@ -117,7 +117,6 @@ class ActionsAdherentCardDefault extends ActionsAdherentCardCommon
{
$this->LoadListDatas($limit, $offset, $sortfield, $sortorder);
}
}

View File

@ -690,7 +690,6 @@ class Adherent extends CommonObject
$this->db->rollback();
return -1;
}
}
/**
@ -2107,7 +2106,6 @@ class Adherent extends CommonObject
$this->error=$this->db->error();
return -1;
}
}
/**

View File

@ -181,7 +181,6 @@ function create_script_table($list)
print '</tr>';
}
print '</table>';
}
/**

View File

@ -196,6 +196,5 @@ class DolibarrApiAccess implements iAuthenticate
return $requires
? static::$role == 'admin' || in_array(static::$role, (array) $requires)
: true;
}
}

View File

@ -54,7 +54,6 @@ class BlockedLogAuthority
{
$this->db = $db;
}
/**
@ -90,7 +89,6 @@ class BlockedLogAuthority
{
return md5($this->signature.$this->blockchain);
}
/**
@ -103,7 +101,6 @@ class BlockedLogAuthority
{
return ($hash === $this->getBlockchainHash() );
}
/**
@ -116,7 +113,6 @@ class BlockedLogAuthority
{
$this->blockchain.=$block;
}
/**
@ -197,7 +193,6 @@ class BlockedLogAuthority
$this->error=$this->db->error();
return -1;
}
}
/**
@ -252,7 +247,6 @@ class BlockedLogAuthority
$this->db->rollback();
return -1;
}
}
/**
@ -291,7 +285,6 @@ class BlockedLogAuthority
$this->db->rollback();
return -1;
}
}
/**
@ -340,5 +333,4 @@ class BlockedLogAuthority
return 1;
}
}

View File

@ -283,7 +283,6 @@ class BlockedLog
}
return '<i class="opacitymedium">'.$langs->trans('ImpossibleToReloadObject', $this->element, $this->fk_object).'</i>';
}
/**
@ -676,7 +675,6 @@ class BlockedLog
$this->error=$this->db->error();
return -1;
}
}
@ -716,8 +714,6 @@ class BlockedLog
if($res===false) return false;
return true;
}
/**

View File

@ -226,7 +226,6 @@ class Bookmark extends CommonObject
$this->error=$this->db->lasterror();
return -1;
}
}
/**

View File

@ -167,7 +167,6 @@ class Facturation
$_SESSION['poscart']=$newcartarray;
$this->raz();
}
/**
@ -269,7 +268,6 @@ class Facturation
$this->prixTotalHt('RESET');
$this->montantTva('RESET');
$this->prixTotalTtc('RESET');
}
@ -324,7 +322,6 @@ class Facturation
{
$this->ref = $aRef;
}
}
/**
@ -348,7 +345,6 @@ class Facturation
{
$this->qte = $aQte;
}
}
/**
@ -372,7 +368,6 @@ class Facturation
{
$this->stock = $aStock;
}
}
/**
@ -396,7 +391,6 @@ class Facturation
{
$this->remise_percent = $aRemisePercent;
}
}
/**
@ -421,7 +415,6 @@ class Facturation
$this->montant_remise = $aMontantRemise;
}
}
/**
@ -446,7 +439,6 @@ class Facturation
$this->prix = $aPrix;
}
}
/**
@ -470,7 +462,6 @@ class Facturation
$this->tva = $aTva;
}
}
/**
@ -518,7 +509,6 @@ class Facturation
$this->mode_reglement = $aModeReglement;
}
}
/**
@ -543,7 +533,6 @@ class Facturation
$this->montant_encaisse = $aMontantEncaisse;
}
}
/**
@ -567,7 +556,6 @@ class Facturation
$this->montant_rendu = $aMontantRendu;
}
}
/**
@ -637,7 +625,6 @@ class Facturation
$this->montant_tva = $aMontantTva;
}
}
/**

View File

@ -437,7 +437,6 @@ class ActionComm extends CommonObject
$this->error=$this->db->lasterror();
return -1;
}
}
/**
@ -648,7 +647,6 @@ class ActionComm extends CommonObject
}
return $num;
}
/**

View File

@ -293,7 +293,6 @@ class AgendaEvents extends DolibarrApi
'message' => 'Agenda Event deleted'
)
);
}
/**

View File

@ -44,7 +44,6 @@ class ICal
*/
public function __construct()
{
}
/**

View File

@ -93,7 +93,6 @@ class Mailing extends CommonObject
$this->statut_dest[1] = 'MailingStatusSent';
$this->statut_dest[2] = 'MailingStatusRead';
$this->statut_dest[3] = 'MailingStatusReadAndUnsubscribe'; // Read but ask to not be contacted anymore
}
/**

View File

@ -491,7 +491,6 @@ class Proposals extends DolibarrApi
'message' => 'Commercial Proposal deleted'
)
);
}
/**

View File

@ -473,7 +473,6 @@ class Orders extends DolibarrApi
'message' => 'Order deleted'
)
);
}
/**

View File

@ -3411,7 +3411,6 @@ class Commande extends CommonOrder
if ($statut==self::STATUS_CLOSED && ($billed && empty($conf->global->WORKFLOW_BILL_ON_SHIPMENT))) return '<span class="hideonsmartphone">'.$langs->trans('StatusOrderProcessed').$billedtext.' </span>'.img_picto($langs->trans('StatusOrderProcessed').$billedtext,'statut6');
if ($statut==self::STATUS_CLOSED && (! empty($conf->global->WORKFLOW_BILL_ON_SHIPMENT))) return '<span class="hideonsmartphone">'.$langs->trans('StatusOrderDelivered').' </span>'.img_picto($langs->trans('StatusOrderDelivered'),'statut6');
}
}

View File

@ -1170,7 +1170,6 @@ class Account extends CommonObject
}
return $solde;
}
/**
@ -1513,7 +1512,6 @@ class Account extends CommonObject
*/
function info($id)
{
}
/**
@ -1558,7 +1556,6 @@ class Account extends CommonObject
//Get the order the properties are shown
return $fieldarray;
}
/**

View File

@ -154,7 +154,6 @@ class Deplacement extends CommonObject
$this->db->rollback();
return -1;
}
}
/**

View File

@ -1858,7 +1858,6 @@ class FactureLigneRec extends CommonInvoiceLine
$this->db->rollback();
return -2;
}
}
}

View File

@ -1551,7 +1551,6 @@ class Facture extends CommonInvoice
}
}
}
}
/**

View File

@ -369,8 +369,6 @@ class Cpaiement
$this->active = '';
$this->accountancy_code = '';
$this->module = '';
}
}

View File

@ -164,7 +164,6 @@ class BonPrelevement extends CommonObject
}
return $result;
}
/**
@ -1457,7 +1456,6 @@ class BonPrelevement extends CommonObject
if (! empty($conf->global->MAIN_UMASK))
@chmod($this->file, octdec($conf->global->MAIN_UMASK));
return $result;
}
@ -1687,7 +1685,6 @@ class BonPrelevement extends CommonObject
fputs($this->file, substr(" ",0,5));
fputs($this->file, "\n");
}
/**

View File

@ -69,7 +69,6 @@ class RejetPrelevement
$this->facturer[0]=$langs->trans("NoInvoiceRefused");
$this->facturer[1]=$langs->trans("InvoiceRefused");
}
/**
@ -198,7 +197,6 @@ class RejetPrelevement
dol_syslog("RejetPrelevement::Create Rollback");
$this->db->rollback();
}
}
/**
@ -327,7 +325,6 @@ class RejetPrelevement
}
return $arr;
}
/**

View File

@ -523,8 +523,6 @@ class Cchargesociales
$this->fk_pays = '';
$this->module = '';
$this->accountancy_code = '';
}
}

View File

@ -289,7 +289,6 @@ class ChargeSociales extends CommonObject
$this->db->rollback();
return -1;
}
}

View File

@ -501,8 +501,6 @@ class PaymentSocialContribution extends CommonObject
$this->fk_bank='';
$this->fk_user_creat='';
$this->fk_user_modif='';
}

View File

@ -116,7 +116,6 @@ class ActionsContactCardDefault extends ActionsContactCardCommon
{
$this->LoadListDatas($limit, $offset, $sortfield, $sortorder);
}
}

View File

@ -537,7 +537,6 @@ class Contracts extends DolibarrApi
'message' => 'Contract deleted'
)
);
}
/**

View File

@ -45,22 +45,22 @@ class Contrat extends CommonObject
* @var string ID to identify managed object
*/
public $element='contrat';
/**
* @var string Name of table without prefix where object is stored
*/
public $table_element='contrat';
public $table_element_line='contratdet';
public $fk_element='fk_contrat';
public $picto='contract';
/**
* 0=No test on entity, 1=Test with field entity, 2=Test with link by societe
* @var int
*/
public $ismultientitymanaged = 1;
/**
* 0=Default, 1=View may be restricted to sales representative only if no permission to see all or to company of external user if external user
* @var integer
@ -520,7 +520,6 @@ class Contrat extends CommonObject
$this->db->rollback();
return -1;
}
}
/**
@ -699,7 +698,6 @@ class Contrat extends CommonObject
$this->error=$this->db->error();
return -1;
}
}
/**
@ -2465,7 +2463,7 @@ class ContratLigne extends CommonObjectLine
* @var string ID to identify managed object
*/
public $element='contratdet';
/**
* @var string Name of table without prefix where object is stored
*/
@ -2475,7 +2473,7 @@ class ContratLigne extends CommonObjectLine
* @var int ID
*/
public $id;
var $ref;
var $tms;

View File

@ -163,7 +163,6 @@ class box_clients extends ModeleBoxes
'text' => $langs->trans("ReadPermissionNotAllowed")
);
}
}
/**

View File

@ -174,7 +174,6 @@ class box_comptes extends ModeleBoxes
'text' => $langs->trans("ReadPermissionNotAllowed")
);
}
}
/**

View File

@ -191,7 +191,6 @@ class box_factures_fourn_imp extends ModeleBoxes
'text' => $langs->trans("ReadPermissionNotAllowed")
);
}
}
/**

View File

@ -150,7 +150,6 @@ class box_fournisseurs extends ModeleBoxes
'text' => $langs->trans("ReadPermissionNotAllowed")
);
}
}
/**

View File

@ -159,7 +159,6 @@ class box_goodcustomers extends ModeleBoxes
'text' => $langs->trans("ReadPermissionNotAllowed")
);
}
}
/**

View File

@ -401,7 +401,6 @@ class box_graph_product_distribution extends ModeleBoxes
'text' => $mesg
);
}
}
/**

View File

@ -98,7 +98,6 @@ class box_lastlogin extends ModeleBoxes
'td' => '',
'text' => $tmp,
);
}

View File

@ -168,7 +168,6 @@ class box_members extends ModeleBoxes
'text' => $langs->trans("ReadPermissionNotAllowed")
);
}
}
/**

View File

@ -184,7 +184,6 @@ class box_project extends ModeleBoxes
'td' => '',
'text' => "&nbsp;",
);
}
/**

View File

@ -222,7 +222,6 @@ class box_services_contracts extends ModeleBoxes
'text' => $langs->trans("ReadPermissionNotAllowed")
);
}
}
/**

View File

@ -137,7 +137,6 @@ class box_task extends ModeleBoxes
$this->info_box_contents[$i][] = array('td' => 'align="right" ', 'text' => ConvertSecondToTime($totalplannedtot,'all',25200,5));
$this->info_box_contents[$i][] = array('td' => 'align="right" ', 'text' => ConvertSecondToTime($totaldurationtot,'all',25200,5));
$this->info_box_contents[$i][] = array('td' => '', 'text' => "");
}
/**

View File

@ -471,7 +471,6 @@ class CMailFile
// --------------------------------------
$this->error = 'Bad value for sendmode';
}
}

View File

@ -767,7 +767,6 @@ abstract class CommonDocGenerator
}
return $array_to_fill;
}

View File

@ -1063,7 +1063,6 @@ abstract class CommonObject
dol_print_error($this->db);
return -1;
}
}
/**
@ -2026,7 +2025,6 @@ abstract class CommonObject
$this->db->commit();
return 1;
}
}
@ -4622,7 +4620,6 @@ abstract class CommonObject
if (isset($conf->global->$keyforfieldname)) return $conf->global->$keyforfieldname;
// TODO Ad here a scan into table llx_overwrite_default with a filter on $this->element and $fieldname
}

View File

@ -666,7 +666,6 @@ class Conf
$this->loghandlers[$handler] = $loghandlerinstance;
}
}
}
}

View File

@ -75,7 +75,6 @@ class CoreObject extends CommonObject
{
return false;
}
}
/**
@ -271,7 +270,6 @@ class CoreObject extends CommonObject
$this->db->rollback();
return -1;
}
}
/**

View File

@ -135,7 +135,6 @@ class DolEditor
$this->height = $height;
$this->width = $width;
}
}
/**

View File

@ -204,7 +204,6 @@ class dolReceiptPrinter extends Escpos
'dol_print_if_customer_tax_number',
'dol_print_if_customer_account_balance_positive',
);
}
/**

View File

@ -460,7 +460,6 @@ class ExtraFields
{
return 0;
}
}
/**
@ -500,7 +499,6 @@ class ExtraFields
{
return 0;
}
}
/**
@ -610,7 +608,6 @@ class ExtraFields
{
return 0;
}
}
/**

View File

@ -1658,7 +1658,6 @@ class FormFile
// Include template
include DOL_DOCUMENT_ROOT.'/core/tpl/ajax/fileupload_view.tpl.php';
}
/**

View File

@ -385,7 +385,6 @@ class Link extends CommonObject
$this->db->rollback();
return -1;
}
}
}

View File

@ -786,6 +786,5 @@ function xml2php($xml)
}
return $array;
}

View File

@ -1165,7 +1165,6 @@ class SMTPs
$this->_setErr(102, 'eMail type not defined.');
return false;
}
}
/**

View File

@ -215,7 +215,6 @@ function checkSwiftForAccount($account)
} else {
return false;
}
}
/**

View File

@ -439,7 +439,6 @@ function dol_get_next_week($day, $week, $month, $year)
$tmparray=dol_getdate($time,true);
return array('year' => $tmparray['year'], 'month' => $tmparray['mon'], 'day' => $tmparray['mday']);
}
/** Return GMT time for first day of a month or year

View File

@ -651,7 +651,6 @@ function dolReplaceInFile($srcfile, $arrayreplacement, $destfile='', $newmask=0,
function dolReplaceRegExInFile($srcfile, $arrayreplacement, $destfile='', $newmask=0, $indexdatabase=0)
{
// TODO
}
/**

View File

@ -4859,7 +4859,6 @@ function get_localtax_by_third($local)
}
return 0;
}

View File

@ -114,5 +114,4 @@ function resource_admin_prepare_head()
complete_head_from_modules($conf,$langs,null,$head,$h,'resource_admin','remove');
return $head;
}

View File

@ -57,7 +57,6 @@ class MenuManager
*/
function loadMenu()
{
}

View File

@ -280,8 +280,6 @@ class pdf_ban extends ModeleBankAccountDoc
global $conf,$mysoc;
$default_font_size = pdf_getPDFFontSize($outputlangs);
}
/**
@ -368,7 +366,6 @@ class pdf_ban extends ModeleBankAccountDoc
}
}
*/
}
/**

View File

@ -423,7 +423,6 @@ class pdf_sepamandate extends ModeleBankAccountDoc
global $conf,$mysoc;
$default_font_size = pdf_getPDFFontSize($outputlangs);
}
@ -592,7 +591,6 @@ class pdf_sepamandate extends ModeleBankAccountDoc
}
}
*/
}
/**

View File

@ -253,7 +253,6 @@ class mod_barcode_product_standard extends ModeleNumRefBarCode
{
return -2;
}
}
/**

View File

@ -654,7 +654,6 @@ class pdf_einstein extends ModelePDFCommandes
*/
function _tableau_versements(&$pdf, $object, $posy, $outputlangs)
{
}

View File

@ -424,5 +424,4 @@ $chif2=array('', 'dix', 'vingt', 'trente', 'quarante', 'cinquante', 'soixante',
return $somme. ' et z&eacute;ro '. $dev2;
else
return $somme. $trio_c. ' ' .$secon_c. ' ' . $dev2;
}

View File

@ -832,7 +832,6 @@ class pdf_rouget extends ModelePdfExpedition
}
}
}
/**

View File

@ -776,7 +776,6 @@ class pdf_standard extends ModeleExpenseReport
}
}
}
}
/**

View File

@ -76,7 +76,6 @@ class ExportCsv extends ModeleExports
// If driver use an external library, put its name here
$this->label_lib='Dolibarr';
$this->version_lib=DOL_VERSION;
}
/**

View File

@ -910,7 +910,6 @@ class pdf_crabe extends ModelePDFFactures
$this->error=$this->db->lasterror();
return -1;
}
}

View File

@ -277,7 +277,6 @@ class mailing_advthirdparties extends MailingTargets
$s.='</select>';
return $s;
}

View File

@ -309,7 +309,6 @@ class mailing_thirdparties extends MailingTargets
$s.='<option value="0">'.$langs->trans("Disabled").'</option>';
$s.='</select>';
return $s;
}

View File

@ -157,7 +157,6 @@ class mailing_xinputuser extends MailingTargets
$this->error = $langs->trans("ErrorBadEmail",$email);
return -1;
}
}
}

View File

@ -163,7 +163,5 @@ function members_card_pdf_create($db, $arrayofmembers, $modele, $outputlangs, $o
dol_print_error('',$langs->trans("Error")." ".$langs->trans("ErrorFileDoesNotExists",$file));
return -1;
}
}

View File

@ -287,6 +287,5 @@ class modAccounting extends DolibarrModules
'aa.account_parent'=>array('rule'=>'zeroifnull'),
);
$this->import_examplevalues_array[$r]=array('aa.fk_pcg_version'=>"PCG99-ABREGE",'aa.account_number'=>"707",'aa.label'=>"Product sales",'aa.account_parent'=>"1407","aa.fk_accounting_category"=>"","aa.pcg_type"=>"PROD",'aa.pcg_subtype'=>'PRODUCT','aa.active'=>'1','aa.datec'=>"2017-04-28");
}
}

View File

@ -362,7 +362,6 @@ class modAdherent extends DolibarrModules
'test'=>true,
),
);
}

View File

@ -419,7 +419,6 @@ class modAgenda extends DolibarrModules
if (empty($user->rights->societe->client->voir)) $this->export_sql_end[$r] .=' AND (sc.fk_user = '.(empty($user)?0:$user->id).' OR ac.fk_soc IS NULL)';
if (empty($user->rights->agenda->allactions->read)) $this->export_sql_end[$r] .=' AND acr.fk_element = '.(empty($user)?0:$user->id);
$this->export_sql_end[$r] .=' ORDER BY ac.datep';
}
}

View File

@ -199,7 +199,6 @@ class modBanque extends DolibarrModules
$this->export_sql_end[$r] .=' AND p.fk_paiement = 7';
$this->export_sql_end[$r] .=' AND ba.entity IN ('.getEntity('bank_account').')';
$this->export_sql_order[$r] =' ORDER BY b.datev, b.num_releve';
}

View File

@ -101,6 +101,5 @@ class modBookmark extends DolibarrModules
// Menus
//-------
$this->menu = 1; // This module add menu entries. They are coded into menu manager.
}
}

View File

@ -98,7 +98,6 @@ class modComptabilite extends DolibarrModules
// Menus
//-------
$this->menu = 1; // This module add menu entries. They are coded into menu manager.
}

View File

@ -140,7 +140,6 @@ class modDon extends DolibarrModules
// Menus
//-------
$this->menu = 1; // This module add menu entries. They are coded into menu manager.
}

View File

@ -82,6 +82,5 @@ class modDynamicPrices extends DolibarrModules
$this->rights = array();
$this->rights_class = 'dynamicprices';
$r=0;
}
}

View File

@ -94,6 +94,5 @@ class modExport extends DolibarrModules
// Menus
//-------
$this->menu = 1; // This module add menu entries. They are coded into menu manager.
}
}

View File

@ -113,7 +113,6 @@ class modExternalSite extends DolibarrModules
'user'=>0
);
$r++;
}
}

View File

@ -196,7 +196,6 @@ class modFicheinter extends DolibarrModules
$this->export_sql_end[$r] .=' WHERE f.fk_soc = s.rowid';
$this->export_sql_end[$r] .=' AND f.entity IN ('.getEntity('intervention').')';
$r++;
}

View File

@ -120,7 +120,6 @@ class modHRM extends DolibarrModules
// Menus
//-------
$this->menu = 1; // This module add menu entries. They are coded into menu manager.
}
/**

View File

@ -91,6 +91,5 @@ class modImport extends DolibarrModules
// Menus
//-------
$this->menu = 1; // This module add menu entries. They are coded into menu manager.
}
}

View File

@ -90,7 +90,6 @@ class modLabel extends DolibarrModules
$this->rights[4][1] = 'Supprimer les etiquettes'; // libelle de la permission
$this->rights[4][3] = 0; // La permission est-elle une permission par defaut
$this->rights[4][4] = 'supprimer';
}
/**

View File

@ -145,7 +145,6 @@ class modLoan extends DolibarrModules
// Exports
//--------
$r=0;
}

View File

@ -133,7 +133,6 @@ class modMailing extends DolibarrModules
// Menus
//-------
$this->menu = 1; // This module add menu entries. They are coded into menu manager.
}

View File

@ -83,6 +83,5 @@ class modMailmanSpip extends DolibarrModules
// Menus
//-------
$this->menu = 1; // This module add menu entries. They are coded into menu manager.
}
}

View File

@ -98,6 +98,5 @@ class modModuleBuilder extends DolibarrModules
'enabled'=>'$conf->modulebuilder->enabled && preg_match(\'/^(admintools|all)/\',$leftmenu) && ($user->admin || $conf->global->MODULEBUILDER_FOREVERYONE)',
'target'=>'_modulebuilder',
'user'=>0);
}
}

View File

@ -119,8 +119,6 @@ class modOauth extends DolibarrModules
// 'user'=>0); // 0=Menu for internal users, 1=external users, 2=both
//$r++;
}

View File

@ -135,7 +135,6 @@ class modPrelevement extends DolibarrModules
// Menus
//-------
$this->menu = 1; // This module add menu entries. They are coded into menu manager.
}

View File

@ -117,7 +117,5 @@ class modPrinting extends DolibarrModules
'user'=>0); // 0=Menu for internal users, 1=external users, 2=both
$r++;
}
}

View File

@ -104,7 +104,6 @@ class modProductBatch extends DolibarrModules
// Exports
$r=0;
}
/**

View File

@ -283,6 +283,5 @@ class modPropale extends DolibarrModules
);
return $this->_init($sql,$options);
}
}

View File

@ -119,8 +119,6 @@ class modReceiptPrinter extends DolibarrModules
// 'user'=>0); // 0=Menu for internal users, 1=external users, 2=both
$r++;
}

View File

@ -285,7 +285,6 @@ class modResource extends DolibarrModules
$this->import_regex_array[$r]=array('s.datec'=>'^[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]( [0-9][0-9]:[0-9][0-9]:[0-9][0-9])?$');
$this->import_examplevalues_array[$r]=array('r.ref'=>"REF1",'r.fk_code_type_resource'=>"Code from dictionary resource type",'r.datec'=>"2017-01-01 or 2017-01-01 12:30:00");
$this->import_updatekeys_array[$r]=array('r.rf'=>'ResourceFormLabel_ref');
}
/**

View File

@ -348,7 +348,6 @@ class modStock extends DolibarrModules
$this->import_run_sql_after_array[$r]=array( // Because we may change data that are denormalized, we must update dernormalized data after.
'UPDATE llx_product p SET p.stock= (SELECT SUM(ps.reel) FROM llx_product_stock ps WHERE ps.fk_product = p.rowid);'
);
}

View File

@ -174,7 +174,6 @@ class modTax extends DolibarrModules
$this->import_examplevalues_array[$r]=array('t.label'=>"VAT Payment 1st quarter 2016",'t.fk_typepayment'=>"CHQ (must be id or code found into dictionary)",
't.datep'=>"2016-04-02", 't.datev'=>"2016-03-31", 't.amount'=>1000, 't.num_payment'=>'123456'
);
}

View File

@ -291,7 +291,6 @@ class modUser extends DolibarrModules
'u.email'=>"test@mycompany.com",'u.salary'=>"10000",'u.note'=>"This is an example of note for record",'u.datec'=>"2015-01-01 or 2015-01-01 12:30:00"
);
$this->import_updatekeys_array[$r]=array('u.lastname'=>'Lastname','u.firstname'=>'Firstname','u.login'=>'Login');
}

Some files were not shown because too many files have changed in this diff Show More