mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 10:17:30 -04:00
commit
dbd30d3674
@ -463,7 +463,7 @@ class Client extends BaseModel implements HasLocalePreference
|
|||||||
{
|
{
|
||||||
$cg = CompanyGateway::find($pm['company_gateway_id']);
|
$cg = CompanyGateway::find($pm['company_gateway_id']);
|
||||||
|
|
||||||
if($$cg && !property_exists($cg->fees_and_limits, GatewayType::BANK_TRANSFER)){
|
if($cg && !property_exists($cg->fees_and_limits, GatewayType::BANK_TRANSFER)){
|
||||||
$fees_and_limits = $cg->fees_and_limits;
|
$fees_and_limits = $cg->fees_and_limits;
|
||||||
$fees_and_limits->{GatewayType::BANK_TRANSFER} = new FeesAndLimits;
|
$fees_and_limits->{GatewayType::BANK_TRANSFER} = new FeesAndLimits;
|
||||||
$cg->fees_and_limits = $fees_and_limits;
|
$cg->fees_and_limits = $fees_and_limits;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user