mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 03:14:35 -04:00
Fixes for migrations
This commit is contained in:
parent
63087de0bc
commit
3cb4585880
@ -103,7 +103,7 @@ class CreditCard
|
|||||||
if ($server_response->status == 'succeeded') {
|
if ($server_response->status == 'succeeded') {
|
||||||
$this->stripe->confirmGatewayFee($request);
|
$this->stripe->confirmGatewayFee($request);
|
||||||
|
|
||||||
$this->stripe->logSuccessfulGatewayResponse(['response' => $request->gateway_response, 'data' => $this->stripe->payment_has], SystemLog::TYPE_STRIPE);
|
$this->stripe->logSuccessfulGatewayResponse(['response' => json_decode($request->gateway_response), 'data' => $this->stripe->payment_hash], SystemLog::TYPE_STRIPE);
|
||||||
|
|
||||||
return $this->processSuccessfulPayment();
|
return $this->processSuccessfulPayment();
|
||||||
}
|
}
|
||||||
|
@ -39,7 +39,6 @@ class FixCompanySettingsUrl extends Migration
|
|||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('expenses', function (Blueprint $table) {
|
Schema::table('expenses', function (Blueprint $table) {
|
||||||
$table->dropColumn('expense_amount_is_pretax');
|
|
||||||
$table->dropColumn('amount_is_pretax');
|
$table->dropColumn('amount_is_pretax');
|
||||||
$table->boolean('calculate_tax_by_amount')->default(false);
|
$table->boolean('calculate_tax_by_amount')->default(false);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user