Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.
/ kata Public archive

[NOT BEING MAINTAINED] schema based template rendering, being built for @BillBirdLLP

License

Notifications You must be signed in to change notification settings

billbird-dev/kata

Repository files navigation

kata

Mold in japaneese

approach

  • schema based templating and rendering
  • create base components
  • allow users to create templates by mix and match
  • convert template to JSON/YAML intructions
  • SSR invoice

Components

  • header
    • info
    • logo
    • ...
  • title
    • invoice text
  • customer info
    • 2/3 col -> flex
      • info
      • address
      • invoice details
  • invoice items n*col -> flex
    • index -> xs
    • item name -> min:md
    • hsn -> min:sm
    • qty -> min:sm
    • rate -> min:sm
    • discount -> min:sm
    • gst -> min:sm
    • amount -> min:sm
  • bottom -> flex
    • totals -> max:lg
    • qty -> min:sm
    • discount -> min:sm
    • gst -> min:sm
    • amount -> min:sm
  • invoice info 2 col -> flex
    • footer info
    • invoice details row -> flex-col
      • sub
      • discount
      • sgst
      • cgst
      • total
      • due
      • mode
  • footer
    • info
    • sign

About

[NOT BEING MAINTAINED] schema based template rendering, being built for @BillBirdLLP

Resources

License

Stars

Watchers

Forks