Uniformize code: property "nom" for thirdparty is aliased into "name"

everywhere.
This commit is contained in:
Laurent Destailleur
2014-10-04 17:20:17 +02:00
parent 69475b7bf8
commit 97eec37f1c
162 changed files with 710 additions and 699 deletions

View File

@@ -954,7 +954,7 @@ function dol_meta_create($object)
if (is_dir($dir))
{
$nblignes = count($object->lines);
$client = $object->client->nom . " " . $object->client->address . " " . $object->client->zip . " " . $object->client->town;
$client = $object->client->name . " " . $object->client->address . " " . $object->client->zip . " " . $object->client->town;
$meta = "REFERENCE=\"" . $object->ref . "\"
DATE=\"" . dol_print_date($object->date,'') . "\"
NB_ITEMS=\"" . $nblignes . "\"