mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Replace tabs with spaces in gncInvoice.c/h
Replace tabs with spaces, trim ending spaces and add spaces to function calls where appropriate.
This commit is contained in:
parent
69aeacb621
commit
2f9be87549
@ -800,8 +800,7 @@ const GncOwner * gncInvoiceGetOwner (const GncInvoice *invoice)
|
||||
return &invoice->owner;
|
||||
}
|
||||
|
||||
static QofInstance*
|
||||
qofInvoiceGetOwner (GncInvoice *invoice)
|
||||
static QofInstance * qofInvoiceGetOwner (GncInvoice *invoice)
|
||||
{
|
||||
GncOwner *owner;
|
||||
|
||||
@ -813,8 +812,7 @@ qofInvoiceGetOwner (GncInvoice *invoice)
|
||||
return QOF_INSTANCE(owner);
|
||||
}
|
||||
|
||||
static QofInstance*
|
||||
qofInvoiceGetBillTo (GncInvoice *invoice)
|
||||
static QofInstance * qofInvoiceGetBillTo (GncInvoice *invoice)
|
||||
{
|
||||
GncOwner *billto;
|
||||
|
||||
@ -884,8 +882,7 @@ GncOwnerType gncInvoiceGetOwnerType (const GncInvoice *invoice)
|
||||
return (gncOwnerGetType (owner));
|
||||
}
|
||||
|
||||
static gnc_numeric
|
||||
gncInvoiceSumTaxesInternal (AccountValueList *taxes)
|
||||
static gnc_numeric gncInvoiceSumTaxesInternal (AccountValueList *taxes)
|
||||
{
|
||||
gnc_numeric tt = gnc_numeric_zero ();
|
||||
|
||||
@ -905,11 +902,10 @@ gncInvoiceSumTaxesInternal (AccountValueList *taxes)
|
||||
return tt;
|
||||
}
|
||||
|
||||
static gnc_numeric
|
||||
gncInvoiceGetNetAndTaxesInternal (GncInvoice *invoice, gboolean use_value,
|
||||
static gnc_numeric gncInvoiceGetNetAndTaxesInternal (GncInvoice *invoice, gboolean use_value,
|
||||
AccountValueList **taxes,
|
||||
gboolean use_payment_type, GncEntryPaymentType type
|
||||
)
|
||||
gboolean use_payment_type,
|
||||
GncEntryPaymentType type)
|
||||
{
|
||||
GList *node;
|
||||
gnc_numeric net_total = gnc_numeric_zero ();
|
||||
@ -970,8 +966,7 @@ gncInvoiceGetNetAndTaxesInternal (GncInvoice *invoice, gboolean use_value,
|
||||
return net_total;
|
||||
}
|
||||
|
||||
static gnc_numeric
|
||||
gncInvoiceGetTotalInternal(GncInvoice *invoice, gboolean use_value,
|
||||
static gnc_numeric gncInvoiceGetTotalInternal (GncInvoice *invoice, gboolean use_value,
|
||||
gboolean use_tax,
|
||||
gboolean use_payment_type, GncEntryPaymentType type)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user