Skip to content

Commit

Permalink
factura con id
Browse files Browse the repository at this point in the history
  • Loading branch information
UO270157 committed May 2, 2022
1 parent 7247557 commit e31096e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/src/components/Order/Order.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ const Order = () => {

const download = () => {
var doc = new jsPDF('landscape','px','a4',false);
doc.text('TechZone',120,100);
doc.text('Invoice',120,120);
doc.text('TechZone - Invoice',120,100);
doc.text("Order "+ order?._id!,120,120);
var j = 0;
for (var i = 0; i < productos.length; i ++){
doc.text(i+"."+" "+productos[i].name+" x"+productos[i].num,120,140+j)
Expand Down

0 comments on commit e31096e

Please sign in to comment.