payment-and-billing ui

This commit is contained in:
edmondlang
2022-07-27 20:09:53 +08:00
parent 274b64de7e
commit a6cbec3523
18 changed files with 1118 additions and 64 deletions
@@ -16,11 +16,11 @@ class TransactionDetailResource extends JsonResource
{
return [
'stockCode' => $this->product_code,
'description' => $this->product_name,
'reference' => $this->reference,
'quantity' => $this->quantity,
'unit_price' => (double) $this->price,
'total' => (double) $this->amount
'price' => (double) $this->price,
'name' => $this->name,
'amount' => (double) $this->amount
];
}
}