Improvements to taxing
This commit is contained in:
@@ -83,7 +83,7 @@ class Export_Plugin_Quicken extends Export_Plugin {
|
||||
$c = 0;
|
||||
|
||||
// Add the items to the invoice
|
||||
foreach ($io->items('CHARGE') as $iio) {
|
||||
foreach ($io->subitems('CHARGE') as $iio) {
|
||||
// Skip any zero amount items not relating to a service
|
||||
if ($iio->total() == 0 and ! $iio->service_id)
|
||||
continue;
|
||||
@@ -141,7 +141,7 @@ class Export_Plugin_Quicken extends Export_Plugin {
|
||||
}
|
||||
|
||||
// Add credits as a other item
|
||||
foreach ($io->items('CREDIT') as $iio) {
|
||||
foreach ($io->subitems('CREDIT') as $iio) {
|
||||
$items[$c]['ACCNT'] = 'Other Income';
|
||||
$items[$c]['INVITEM'] = 'Product:Unknown';
|
||||
$items[$c]['CLEAR'] = 'N';
|
||||
|
Reference in New Issue
Block a user