invoice2data icon indicating copy to clipboard operation
invoice2data copied to clipboard

MultiLine order items for Custom template

Open SumantHegde003 opened this issue 6 years ago • 2 comments

Hi All,

Can anybody help with me multiline order items in PDF.

Also attaching the PDF template for references.

nature.PDF

Thanks.

SumantHegde003 avatar Mar 28 '19 10:03 SumantHegde003

I tried with Start Line and end Line Syntax, But it is not giving me expected pattern?

Guys @m3nu @hbrunn please help me to resolve this pattern.

SumantHegde003 avatar Apr 01 '19 13:04 SumantHegde003

You should look at the debug output to see how the text comes out. Then tune it for the line plugin.

m3nu avatar Jun 14 '19 02:06 m3nu

lines:
  parser: lines
  start: Article Description with Specs.*
  end: C.S.T.
  first_line: \s*(?P<sr>[\d]+)\s+(?P<article_number>.*)\s+/(?P<hsn>.*)\s+/(?P<ean_upc>.*)\s+(?P<uom>\w\w)\s+(?P<price1>\d+\.\d+)\s+(?P<price2>\d+\.\d+)\s+(?P<price3>\d+\.\d+)\s+(?P<price4>\d+\.\d+)
  line: \s+(?P<name>.+)\s+(?P<price5>\d+\.\d+)\s+(?P<price6>\d+\.\d+)\s+(?P<price7>\d+\.\d+)\s+(?P<price8>\d+\.\d+)

rmilecki avatar Jan 22 '23 21:01 rmilecki