1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Clarify 'mark ready' help text

This commit is contained in:
Hillel Coren 2017-06-13 15:25:56 +03:00
parent 2aa2cffe15
commit 705e8a285b

View File

@ -1354,7 +1354,10 @@
return false;
}
// warn invoice will be emailed when saving new recurring invoice
var text = '\n' + getSendToEmails() + '\n\n' + "{!! trans("texts.confirm_recurring_timing") !!}";
var text = '\n' + getSendToEmails();
if (model.invoice().start_date() == "{{ Utils::fromSqlDate(date('Y-m-d')) }}") {
text += '\n\n' + "{!! trans("texts.confirm_recurring_timing") !!}";
}
var title = "{!! trans("texts.confirm_recurring_email_$entityType") !!}";
sweetConfirm(function() {
model.invoice().is_public(true);