2
0
forked from Wavyzz/dolibarr

Qual: Spelling htdocs/[q-z]* (#27447)

# Qual: Fix spelling htdocs/[q-z]*

Probably fixes a bug:

- htdocs/webservices/server_thirdparty.php
  No other occurence of adress found.
  -'adress'=>->adress,- +'address'=>->address,+
This commit is contained in:
MDW
2024-01-12 17:18:52 +01:00
committed by GitHub
parent 5d6d6a92cf
commit 342ab85195
118 changed files with 366 additions and 366 deletions

View File

@@ -55,7 +55,7 @@ class Receptions extends DolibarrApi
/**
* Get properties of a reception object
*
* Return an array with reception informations
* Return an array with reception information
*
* @param int $id ID of reception
* @return Object Object with cleaned properties
@@ -93,7 +93,7 @@ class Receptions extends DolibarrApi
* @param int $page Page number
* @param string $thirdparty_ids Thirdparty ids to filter receptions of (example '1' or '1,2,3') {@pattern /^[0-9,]*$/i}
* @param string $sqlfilters Other criteria to filter answers separated by a comma. Syntax example "(t.ref:like:'SO-%') and (t.date_creation:<:'20160101')"
* @param string $properties Restrict the data returned to theses properties. Ignored if empty. Comma separated list of properties names
* @param string $properties Restrict the data returned to these properties. Ignored if empty. Comma separated list of properties names
* @return array Array of reception objects
*
* @throws RestException
@@ -187,7 +187,7 @@ class Receptions extends DolibarrApi
foreach ($request_data as $field => $value) {
if ($field === 'caller') {
// Add a mention of caller so on trigger called after action, we can filter to avoid a loop if we try to sync back again whith the caller
// Add a mention of caller so on trigger called after action, we can filter to avoid a loop if we try to sync back again with the caller
$this->reception->context['caller'] = $request_data['caller'];
continue;
}
@@ -442,7 +442,7 @@ class Receptions extends DolibarrApi
continue;
}
if ($field === 'caller') {
// Add a mention of caller so on trigger called after action, we can filter to avoid a loop if we try to sync back again whith the caller
// Add a mention of caller so on trigger called after action, we can filter to avoid a loop if we try to sync back again with the caller
$this->reception->context['caller'] = $request_data['caller'];
continue;
}

View File

@@ -30,7 +30,7 @@
/**
* \file htdocs/reception/class/reception.class.php
* \ingroup reception
* \brief Fichier de la classe de gestion des receptions
* \brief File for class to manage receptions
*/
require_once DOL_DOCUMENT_ROOT.'/core/class/commonobject.class.php';
@@ -97,7 +97,7 @@ class Reception extends CommonObject
public $size_units;
public $user_author_id;
public $date_delivery; // Date delivery planed
public $date_delivery; // Date delivery planned
/**
* @var integer|string Effective delivery date
@@ -207,7 +207,7 @@ class Reception extends CommonObject
/**
* Create reception en base
*
* @param User $user Objet du user qui cree
* @param User $user Object du user qui cree
* @param int $notrigger 1=Does not execute triggers, 0= execute triggers
* @return int Return integer <0 si erreur, id reception creee si ok
*/
@@ -414,7 +414,7 @@ class Reception extends CommonObject
$this->date_creation = $this->db->jdate($obj->date_creation);
$this->date = $this->db->jdate($obj->date_reception); // TODO deprecated
$this->date_reception = $this->db->jdate($obj->date_reception); // Date real
$this->date_delivery = $this->db->jdate($obj->date_delivery); // Date planed
$this->date_delivery = $this->db->jdate($obj->date_delivery); // Date planned
$this->model_pdf = $obj->model_pdf;
$this->shipping_method_id = $obj->fk_shipping_method;
$this->tracking_number = $obj->tracking_number;
@@ -546,7 +546,7 @@ class Reception extends CommonObject
$error++;
}
// If stock increment is done on reception (recommanded choice)
// If stock increment is done on reception (recommended choice)
if (!$error && isModEnabled('stock') && getDolGlobalInt('STOCK_CALCULATE_ON_RECEPTION')) {
require_once DOL_DOCUMENT_ROOT.'/product/stock/class/mouvementstock.class.php';
@@ -1416,7 +1416,7 @@ class Reception extends CommonObject
$order = new CommandeFournisseur($this->db);
$order->initAsSpecimen();
// Initialise parametres
// Initialise parameters
$this->id = 0;
$this->ref = 'SPECIMEN';
$this->specimen = 1;
@@ -1457,7 +1457,7 @@ class Reception extends CommonObject
/**
* Set the planned delivery date
*
* @param User $user Objet utilisateur qui modifie
* @param User $user Object utilisateur qui modifie
* @param integer $delivery_date Delivery date
* @return int Return integer <0 if KO, >0 if OK
*/
@@ -1718,7 +1718,7 @@ class Reception extends CommonObject
}
/**
* Classify the reception as invoiced (used for exemple by trigger when WORKFLOW_RECEPTION_CLASSIFY_BILLED_INVOICE is on)
* Classify the reception as invoiced (used for example by trigger when WORKFLOW_RECEPTION_CLASSIFY_BILLED_INVOICE is on)
*
* @return int Return integer <0 if ko, >0 if ok
*/

View File

@@ -21,7 +21,7 @@
/**
* \file htdocs/reception/class/receptionstats.class.php
* \ingroup reception
* \brief File of class fo tmanage reception statistics
* \brief File of class to manage reception statistics
*/
include_once DOL_DOCUMENT_ROOT.'/core/class/stats.class.php';