large commit

This commit is contained in:
omair saleh
2021-03-11 13:06:02 +08:00
parent 13ddf458db
commit 05401f6bbc
729 changed files with 23312 additions and 7218 deletions
@@ -16,16 +16,11 @@ class TransactionDetailResource extends JsonResource
{
return [
'id' => $this->id,
'trans_type1' => $this->trans_type1,
'trans_type2' => $this->trans_type2,
'transaction_id' => (int) $this->transaction_id,
'product_code' => $this->product_code,
'product_name' => $this->product_name,
'qty' => (int) $this->qty,
'price' => (double) $this->price,
'amount' => (double) $this->amount
'stockCode' => $this->product_code,
'description' => $this->product_name,
'quantity' => $this->quantity,
'unit_price' => (double) $this->price,
'total' => (double) $this->amount
];
}
}