1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 20:52:56 +01:00

Update github issue template

This commit is contained in:
David Bomba 2023-08-31 11:51:25 +10:00
parent 7536cefc84
commit 61c4560635
3 changed files with 21 additions and 1 deletions

View File

@ -14,6 +14,11 @@ https://invoiceninja.github.io/docs/self-host-troubleshooting/ -->
- Version: <!-- i.e. v4.5.25 / v5.0.30 -->
- Environment: <!-- Docker/Shared Hosting/ZIP/Other -->
## Interface
- Flutter: []
- React: []
- Both: []
## Checklist
- Can you replicate the issue on our v5 demo site https://demo.invoiceninja.com or https://react.invoicing.co/demo?
- Have you searched existing issues?

View File

@ -660,7 +660,7 @@ $LANG = array(
'customize_help' => '<p>We use :pdfmake_link to define the invoice designs declaratively. The pdfmake :playground_link provides a great way to see the library in action.</p>
<p>If you need help figuring something out post a question to our :forum_link with the design you\'re using.</p>',
'playground' => 'playground',
'support_forum' => 'support forum',
'support_forum' => 'Support Forums',
'invoice_due_date' => 'Due Date',
'quote_due_date' => 'Valid Until',
'valid_until' => 'Valid Until',

View File

@ -41,4 +41,19 @@ class RecurringDateTest extends TestCase
$this->assertequals($trial_ends->format('Y-m-d'), '2021-12-03');
}
public function testDateOverflowsForEndOfMonth()
{
$today = Carbon::parse('2022-01-31');
$next_month = $today->addMonthNoOverflow();
$this->assertEquals('2022-02-28', $next_month->format('Y-m-d'));
// $next_month = $today->addMonthNoOverflow();
// $this->assertEquals('2022-03-31', $next_month->format('Y-m-d'));
}
}