mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-08-07 10:01:47 -04:00
merge
This commit is contained in:
commit
ddf5fa8938
@ -72,10 +72,6 @@ class SubscriptionListener
|
||||
$manager->parseIncludes($include);
|
||||
$resource = new Item($entity, $transformer, $entity->getEntityType());
|
||||
$data = $manager->createData($resource)->toArray();
|
||||
// For legacy Zapier support
|
||||
if (isset($data['client_id'])) {
|
||||
$data['client_name'] = $entity->client->getDisplayName();
|
||||
}
|
||||
Utils::notifyZapier($subscription, $data);
|
||||
}
|
||||
}
|
||||
|
@ -79,7 +79,8 @@ class InvoiceService extends BaseService
|
||||
|
||||
public function approveQuote($quote, $invitation = null)
|
||||
{
|
||||
$account = Auth::user()->account;
|
||||
$account = $quote->account;
|
||||
|
||||
if (!$quote->is_quote || $quote->quote_invoice_id) {
|
||||
return null;
|
||||
}
|
||||
|
@ -1121,7 +1121,7 @@ return array(
|
||||
'all_pages_header' => 'Show header on',
|
||||
'all_pages_footer' => 'Show footer on',
|
||||
'invoice_currency' => 'Rechnungs-Währung',
|
||||
'enable_https' => 'Wir empfehlen dringend HTTPS zu verwendne, um Kreditkarten online zu akzeptieren.',
|
||||
'enable_https' => 'Wir empfehlen dringend HTTPS zu verwenden, um Kreditkarten online zu akzeptieren.',
|
||||
'quote_issued_to' => 'Quote issued to',
|
||||
'show_currency_code' => 'Währungscode',
|
||||
'trial_message' => 'Your account will receive a free two week trial of our pro plan.',
|
||||
|
Loading…
x
Reference in New Issue
Block a user