Bug fixes
This commit is contained in:
parent
161a421dd6
commit
43c52ab753
2 changed files with 5 additions and 2 deletions
|
|
@ -56,7 +56,7 @@ class ImportJsonController extends BaseController
|
|||
* ),
|
||||
* )
|
||||
*/
|
||||
public function index(ImportJsonRequest $request)
|
||||
public function import(ImportJsonRequest $request)
|
||||
{
|
||||
|
||||
$import_file = $request->file('files');
|
||||
|
|
|
|||
|
|
@ -349,7 +349,10 @@ class BillingPortalPurchase extends Component
|
|||
|
||||
$is_eligible = $this->subscription->service()->isEligible($this->contact);
|
||||
|
||||
if (($is_eligible) || is_array($is_eligible) && $is_eligible['exception']['message'] != 'Success') {
|
||||
if(is_bool($is_eligible)){
|
||||
|
||||
}
|
||||
elseif (is_array($is_eligible) && $is_eligible['exception']['message'] != 'Success') {
|
||||
$this->steps['not_eligible'] = true;
|
||||
$this->steps['not_eligible_message'] = $is_eligible['exception']['message'];
|
||||
$this->steps['show_loading_bar'] = false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue