mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
commit
191b4f3f5d
@ -783,6 +783,8 @@ info("get company");
|
||||
if($invoice->end_date < now())
|
||||
return 4;
|
||||
|
||||
return 1;
|
||||
|
||||
}
|
||||
|
||||
private function transformQuoteStatusId($quote)
|
||||
@ -1833,7 +1835,7 @@ info("translated gateway_type = {$translated_gateway_type}");
|
||||
$meta->exp_month = (string)$exp_month;
|
||||
$meta->exp_year = (string)$exp_year;
|
||||
$meta->brand = (string)$payment_method->payment_type->name;
|
||||
$meta->last4 = (string)str_replace(',', '', ($payment_method->expiration));
|
||||
$meta->last4 = (string)str_replace(',', '', ($payment_method->last4));
|
||||
$meta->type = $payment_method->payment_type->gateway_type_id;
|
||||
|
||||
return $meta;
|
||||
|
@ -4266,6 +4266,11 @@ $LANG = array(
|
||||
'count_minutes' => ':count Minutes',
|
||||
'password_timeout' => 'Password Timeout',
|
||||
'shared_invoice_credit_counter' => 'Shared Invoice/Credit Counter',
|
||||
'activity_80' => ':user created subscription :subscription',
|
||||
'activity_81' => ':user updated subscription :subscription',
|
||||
'activity_82' => ':user archived subscription :subscription',
|
||||
'activity_83' => ':user deleted subscription :subscription',
|
||||
'activity_84' => ':user restored subscription :subscription',
|
||||
);
|
||||
|
||||
return $LANG;
|
||||
|
Loading…
Reference in New Issue
Block a user