2
0
forked from Wavyzz/dolibarr

Fixing style errors.

This commit is contained in:
stickler-ci
2022-12-26 08:53:27 +00:00
parent edf79382bf
commit f189d71a37

View File

@@ -376,7 +376,7 @@ $listofreferent = array(
'buttonnew'=>'AddWarehouse', 'buttonnew'=>'AddWarehouse',
'project_field'=>'fk_project', 'project_field'=>'fk_project',
'testnew'=>$user->hasRight('stock', 'creer'), 'testnew'=>$user->hasRight('stock', 'creer'),
'test'=>!empty($conf->stock->enabled) && $user->hasRight('stock','lire') && !empty($conf->global->WAREHOUSE_ASK_WAREHOUSE_DURING_PROJECT)), 'test'=>!empty($conf->stock->enabled) && $user->hasRight('stock', 'lire') && !empty($conf->global->WAREHOUSE_ASK_WAREHOUSE_DURING_PROJECT)),
'propal'=>array( 'propal'=>array(
'name'=>"Proposals", 'name'=>"Proposals",
'title'=>"ListProposalsAssociatedProject", 'title'=>"ListProposalsAssociatedProject",
@@ -442,7 +442,7 @@ $listofreferent = array(
'urlnew'=>DOL_URL_ROOT.'/fourn/commande/card.php?action=create&projectid='.$id.'&backtopage='.urlencode($_SERVER['PHP_SELF'].'?id='.$id), // No socid parameter here, the socid is often the customer and we create a supplier object 'urlnew'=>DOL_URL_ROOT.'/fourn/commande/card.php?action=create&projectid='.$id.'&backtopage='.urlencode($_SERVER['PHP_SELF'].'?id='.$id), // No socid parameter here, the socid is often the customer and we create a supplier object
'lang'=>'suppliers', 'lang'=>'suppliers',
'buttonnew'=>'AddSupplierOrder', 'buttonnew'=>'AddSupplierOrder',
'testnew'=>$user->hasRight('fournisseur','commande', 'creer') || $user->hasRight('supplier_order', 'creer'), 'testnew'=>$user->hasRight('fournisseur', 'commande', 'creer') || $user->hasRight('supplier_order', 'creer'),
'test'=>!empty($conf->supplier_order->enabled) && $user->hasRight('fournisseur', 'supplier_order', 'lire') || $user->hasRight('supplier_order', 'lire')), 'test'=>!empty($conf->supplier_order->enabled) && $user->hasRight('fournisseur', 'supplier_order', 'lire') || $user->hasRight('supplier_order', 'lire')),
'invoice_supplier'=>array( 'invoice_supplier'=>array(
'name'=>"BillsSuppliers", 'name'=>"BillsSuppliers",
@@ -454,8 +454,8 @@ $listofreferent = array(
'urlnew'=>DOL_URL_ROOT.'/fourn/facture/card.php?action=create&projectid='.$id.'&backtopage='.urlencode($_SERVER['PHP_SELF'].'?id='.$id), // No socid parameter here, the socid is often the customer and we create a supplier object 'urlnew'=>DOL_URL_ROOT.'/fourn/facture/card.php?action=create&projectid='.$id.'&backtopage='.urlencode($_SERVER['PHP_SELF'].'?id='.$id), // No socid parameter here, the socid is often the customer and we create a supplier object
'lang'=>'suppliers', 'lang'=>'suppliers',
'buttonnew'=>'AddSupplierInvoice', 'buttonnew'=>'AddSupplierInvoice',
'testnew'=>$user->hasRight('fournisseur','facture', 'creer') || $user->hasRight('supplier_invoice', 'creer'), 'testnew'=>$user->hasRight('fournisseur', 'facture', 'creer') || $user->hasRight('supplier_invoice', 'creer'),
'test'=>!empty($conf->supplier_invoice->enabled) && $user->hasRight('fournisseur','facture', 'lire') || $user->hasRight('supplier_invoice', 'lire')), 'test'=>!empty($conf->supplier_invoice->enabled) && $user->hasRight('fournisseur', 'facture', 'lire') || $user->hasRight('supplier_invoice', 'lire')),
'contract'=>array( 'contract'=>array(
'name'=>"Contracts", 'name'=>"Contracts",
'title'=>"ListContractAssociatedProject", 'title'=>"ListContractAssociatedProject",