mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
gncInvoice: complete removal gncInvoiceDateExists
This commit is contained in:
parent
b99dee1736
commit
f910d931f7
@ -1856,14 +1856,6 @@ gncInvoiceApplyPayment (const GncInvoice *invoice, Transaction *txn,
|
||||
gncOwnerAutoApplyPaymentsWithLots (owner, selected_lots);
|
||||
}
|
||||
|
||||
static gboolean gncInvoiceDateExists (time64 date)
|
||||
{
|
||||
/* Going forward we want to use INT64_MAX to indicate "no date", but for
|
||||
* backward compatibility we need to treat 0 as no date as well.
|
||||
*/
|
||||
return (date != INT64_MAX && date !=0);
|
||||
}
|
||||
|
||||
gboolean gncInvoiceIsPosted (const GncInvoice *invoice)
|
||||
{
|
||||
if (!invoice) return FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user