mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Relabel add item to add product
This commit is contained in:
parent
07367c4f3a
commit
a5ce4bce95
@ -256,7 +256,7 @@ class InvoicePresenter extends EntityPresenter
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($invoice->onlyHasTasks()) {
|
if ($invoice->onlyHasTasks()) {
|
||||||
$actions[] = ['url' => 'javascript:onAddItemClick()', 'label' => trans('texts.add_item')];
|
$actions[] = ['url' => 'javascript:onAddItemClick()', 'label' => trans('texts.add_product')];
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($invoice->canBePaid()) {
|
if ($invoice->canBePaid()) {
|
||||||
|
@ -2433,7 +2433,6 @@ $LANG = array(
|
|||||||
'include_errors' => 'Include Errors',
|
'include_errors' => 'Include Errors',
|
||||||
'include_errors_help' => 'Include :link from storage/logs/laravel-error.log',
|
'include_errors_help' => 'Include :link from storage/logs/laravel-error.log',
|
||||||
'recent_errors' => 'recent errors',
|
'recent_errors' => 'recent errors',
|
||||||
'add_item' => 'Add Item',
|
|
||||||
'customer' => 'Customer',
|
'customer' => 'Customer',
|
||||||
'customers' => 'Customers',
|
'customers' => 'Customers',
|
||||||
'created_customer' => 'Successfully created customer',
|
'created_customer' => 'Successfully created customer',
|
||||||
@ -2517,7 +2516,7 @@ $LANG = array(
|
|||||||
'one_time_password' => 'One Time Password',
|
'one_time_password' => 'One Time Password',
|
||||||
'set_phone_for_two_factor' => 'Set your phone number to enable.',
|
'set_phone_for_two_factor' => 'Set your phone number to enable.',
|
||||||
'enabled_two_factor' => 'Successfully enabled Two-Factor Authentication',
|
'enabled_two_factor' => 'Successfully enabled Two-Factor Authentication',
|
||||||
|
'add_product' => 'Add Product',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -556,7 +556,7 @@
|
|||||||
@elseif (! $invoice->isQuote() && Request::is('*/clone'))
|
@elseif (! $invoice->isQuote() && Request::is('*/clone'))
|
||||||
{!! Button::normal(trans($invoice->is_recurring ? 'texts.disable_recurring' : 'texts.enable_recurring'))->withAttributes(['id' => 'recurrButton', 'onclick' => 'onRecurrClick()'])->appendIcon(Icon::create('repeat')) !!}
|
{!! Button::normal(trans($invoice->is_recurring ? 'texts.disable_recurring' : 'texts.enable_recurring'))->withAttributes(['id' => 'recurrButton', 'onclick' => 'onRecurrClick()'])->appendIcon(Icon::create('repeat')) !!}
|
||||||
@elseif (! empty($tasks))
|
@elseif (! empty($tasks))
|
||||||
{!! Button::normal(trans('texts.add_item'))->withAttributes(['id' => 'addItemButton', 'onclick' => 'onAddItemClick()'])->appendIcon(Icon::create('plus-sign')) !!}
|
{!! Button::normal(trans('texts.add_product'))->withAttributes(['id' => 'addItemButton', 'onclick' => 'onAddItemClick()'])->appendIcon(Icon::create('plus-sign')) !!}
|
||||||
@endif
|
@endif
|
||||||
@endif
|
@endif
|
||||||
@if ($invoice->trashed())
|
@if ($invoice->trashed())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user