mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add quantity method to OneTimeProducts class
This commit is contained in:
parent
c36359f2e6
commit
eee467dabb
@ -21,6 +21,11 @@ class OneTimeProducts extends Component
|
||||
|
||||
public array $context;
|
||||
|
||||
public function quantity($id, $value): void
|
||||
{
|
||||
$this->dispatch('purchase.context', property: "bundle.one_time_products.{$id}.quantity", value: $value);
|
||||
}
|
||||
|
||||
public function render()
|
||||
{
|
||||
return view('billing-portal.v3.cart.one-time-products');
|
||||
|
Loading…
x
Reference in New Issue
Block a user