Fix wiring and missing fields for legacy_job_order_row. #207
This commit is contained in:
parent
9205429662
commit
fbbfaa5637
2 changed files with 4 additions and 19 deletions
|
|
@ -19,11 +19,6 @@ class LegacyJobOrderRow
|
|||
*/
|
||||
protected $id;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="integer")
|
||||
*/
|
||||
protected $job_order_id;
|
||||
|
||||
/**
|
||||
* @ORM\Column(type="string", length=40)
|
||||
*/
|
||||
|
|
@ -61,7 +56,7 @@ class LegacyJobOrderRow
|
|||
|
||||
/**
|
||||
* @ORM\ManyToOne(targetEntity="LegacyJobOrder", inversedBy="rows")
|
||||
* @ORM\JoinColumn(name="legacy_job_order_id", referencedColumnName="id", nullable=true)
|
||||
* @ORM\JoinColumn(name="job_order_id", referencedColumnName="id", nullable=true)
|
||||
*/
|
||||
protected $job_order;
|
||||
|
||||
|
|
@ -76,17 +71,6 @@ class LegacyJobOrderRow
|
|||
return $this->id;
|
||||
}
|
||||
|
||||
public function setJobOrderID($job_order_id)
|
||||
{
|
||||
$this->job_order_id = $job_order_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getJobOrderID()
|
||||
{
|
||||
return $this->job_order_id;
|
||||
}
|
||||
|
||||
public function setItem($item)
|
||||
{
|
||||
$this->item = $item;
|
||||
|
|
@ -98,13 +82,13 @@ class LegacyJobOrderRow
|
|||
return $this->item;
|
||||
}
|
||||
|
||||
public function setQty($qty)
|
||||
public function setQuantity($qty)
|
||||
{
|
||||
$this->qty = $qty;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getQty()
|
||||
public function getQuantity()
|
||||
{
|
||||
return $this->qty;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -252,6 +252,7 @@
|
|||
<td>{{ row.getItem|default('') }}</td>
|
||||
<td>{{ row.getQuantity|default('') }}</td>
|
||||
<td>{{ row.getPrice|default('') }}</td>
|
||||
<td>{{ row.getPriceLevel|default('') }}</td>
|
||||
<td>{{ row.getStatus|default('') }}</td>
|
||||
<td>{{ row.getAccount|default('') }}</td>
|
||||
<td>{{ row.getEnrollee|default('') }}</td>
|
||||
|
|
|
|||
Loading…
Reference in a new issue