Works on migration of relationship tables

This commit is contained in:
Regis Houssin
2009-12-12 20:41:27 +00:00
parent 30ad725fb5
commit 432dc7a009
25 changed files with 209 additions and 635 deletions

View File

@@ -399,7 +399,7 @@ Class pdf_expedition_merou extends ModelePdfExpedition
$outputlangs->load('orders');
foreach($object->linked_object as $key => $val)
{
if ($val['type'] == 'order')
if ($val['type'] == 'commande')
{
$newobject=new Commande($this->db);
$result=$newobject->fetch($val['linkid']);

View File

@@ -1034,7 +1034,7 @@ class pdf_crabe extends ModelePDFFactures
$outputlangs->load('orders');
foreach($object->linked_object as $key => $val)
{
if ($val['type'] == 'order')
if ($val['type'] == 'commande')
{
$newobject=new Commande($this->db);
$result=$newobject->fetch($val['linkid']);

View File

@@ -1037,7 +1037,7 @@ class pdf_oursin extends ModelePDFFactures
$outputlangs->load('orders');
foreach($object->linked_object as $key => $val)
{
if ($val['type'] == 'order')
if ($val['type'] == 'commande')
{
$newobject=new Propal($this->db);
$result=$newobject->fetch($val['linkid']);

View File

@@ -481,7 +481,7 @@ class pdf_sirocco extends ModelePDFDeliveryOrder
$outputlangs->load('orders');
foreach($object->linked_object as $key => $val)
{
if ($val['type'] == 'order')
if ($val['type'] == 'commande')
{
$newobject=new Commande($this->db);
$result=$newobject->fetch($val['linkid']);

View File

@@ -502,7 +502,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder
$outputlangs->load('orders');
foreach($object->linked_object as $key => $val)
{
if ($val['type'] == 'order')
if ($val['type'] == 'commande')
{
$newobject=new Commande($this->db);
$result=$newobject->fetch($val['linkid']);