Skip to content

Conversation

@mladjo2505
Copy link
Contributor

Closes #63

@mladjo2505 mladjo2505 self-assigned this Feb 25, 2016
@stoivo
Copy link
Contributor

stoivo commented Mar 9, 2016

  • Fix tabindex on invoicein.edit
  • Fetch period directly from fakturadato in invoicein.edit
  • Add new field 'unit price with tax' alongside the one we have now, unit price without tax. Unit price with tax should have higher priority than unit price without tax on invoicein.edit
  • Add migration for clearing 'unit price with tax' field in invoiceinline table for existing entries to 0
  • If we change the invoice we should update the invoice listed on invoicein.list(ex. supplier)
  • The amount should be calculated on save for manually created invoices
  • Show names for project and department on invoicein list page
  • Check and fix if and which JournalID the new invoice is going to get and display it correctly on the invoicein list page

@stoivo stoivo added the Denied label Mar 9, 2016
@mladjo2505 mladjo2505 removed the Denied label Mar 17, 2016
$datalineH['Vat'] = $line->TaxTotal->TaxSubtotal[0]->Percent;
#$datalineH['VatID'] = $line->Price->PriceAmount; #Denne mŒ nok mappes

$datalineH['UnitCostPrice'] = $datalineH['UnitCustPrice'] + $datalineH['TaxAmount']/$Quantity;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TaxAmount is for Total for invoice line.
Add a comment to clarify this.
Check if Quantity can be 0.

@stoivo
Copy link
Contributor

stoivo commented Apr 4, 2016

  • invoicein.TotalCustPrice should not be a input field since I can't save to it.
  • When you add a new line we get this warning: get_accountplan_object(): Mangler AccountplanID

if(!$accountplan->City) $_lib['message']->add('Sted mangler på leverandør kontoplan');
$args['invoicein_IName_' . $ID] = $accountplan->AccountName;
if(!$accountplan->AccountName) $_lib['message']->add('Navn mangler på leverandør kontoplan');
$args['invoicein_IAddress_' . $ID] = $accountplan->Address;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check out why this shows up on initial create for invoice

@mladjo2505
Copy link
Contributor Author

mladjo2505 commented May 20, 2016

  • On create new invoicein page do not show 'Er med i reisegarantifondet'

@mladjo2505
Copy link
Contributor Author

On invoiceinline if we choose a car enabled accountplan and after choose another one with car disabled, clear car from that line? also globally? create a new issue?

@mladjo2505
Copy link
Contributor Author

mladjo2505 commented May 20, 2016

  • Add an indicator in invoicein list page which invoices were imported and which were manually created.

@mladjo2505
Copy link
Contributor Author

mladjo2505 commented May 20, 2016

  • Bilagsnumber should be shown as a link to a journal if the invoice is bookkept and empty if not, neither the imported nor the manually created invoices should have an input field which allows us to change it.

@mladjo2505
Copy link
Contributor Author

mladjo2505 commented May 20, 2016

  • Comment out remitering stuff (both on invoice in and from menu) for now. See what to do with it later.

@mladjo2505
Copy link
Contributor Author

mladjo2505 commented May 20, 2016

  • Add delete logic for manually created invoicein and only allow it for not yet bookkept invoices.

@mladjo2505
Copy link
Contributor Author

mladjo2505 commented May 20, 2016

  • When we change back to an account without a car from an account with a car remove the car from the line/row.

@mladjo2505
Copy link
Contributor Author

@stoivo I see you added the "Back to rework" label to this. Other than the commented things to be done, are there any more requirements?

@stoivo
Copy link
Contributor

stoivo commented May 30, 2016

@hildegunn95 will test it again when that is done.
But I don't have any other things to say.

@mladjo2505
Copy link
Contributor Author

Fixed all requests and rebased to new master.

}
?>
</td>
<? if (!$invoicein->Imported) { ?>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When exactly should this be shown and when not?
@stoivo

@mladjo2505 mladjo2505 force-pushed the md/invoicein_new branch 2 times, most recently from 1faaab2 to f265668 Compare April 26, 2017 13:59
@mladjo2505
Copy link
Contributor Author

mladjo2505 commented Apr 27, 2017

If any more changes are to be made to this it should be squashed into one commit for convenience of rebasing.
Tested on staging lodo2016:

  • Creating new incoming invoice
  • Adding a new line
  • Adding an allowance/charge
  • Adding a line allowance/charge
  • Removing a line
  • Removing an allowance/charge
  • Removing a line allowance/charge

@sls-lnluksa
Copy link
Contributor

  1. round review -> needed 1h.

@mladjo2505
Copy link
Contributor Author

mladjo2505 commented May 15, 2017

  • Rebase and fix (1h)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants