Giter Site home page Giter Site logo

lemmalegalconsulting / docassemble-gblsletters Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 2.33 MB

Letter Suite for Greater Boston Legal Services.

Home Page: https://www.gbls.org/

License: MIT License

Python 17.76% CSS 82.24%
advocacy legaltools letters docassemble document-assembly

docassemble-gblsletters's Introduction

docassemble.GBLS

Letter Suite for Greater Boston Legal Services.

Author

Stavros Constantinou, [email protected]

docassemble-gblsletters's People

Contributors

h-mcguire avatar miabonardi avatar nonprofittechy avatar stavros-0 avatar

Watchers

 avatar  avatar

docassemble-gblsletters's Issues

Create custom questions for the templates that require them

Only questions not coming from/defined by legal server should be asked and/or customized

Example:

This should be a custom question:
Screen Shot 2023-09-15 at 10 35 14 AM

Options to include are in the doc, once question is written and in interview, remove yellow from doc and upload new doc to trello board:
Screen Shot 2023-09-15 at 10 35 07 AM

Potentially find a way to control question order

  1. Maybe add questions that appear in every letter (ie clients name, clients address, attorneys name, attorneys address, etc) to an order block to control the order of those questions and everything else will come in a random order
  2. Use signature final method to make sure signature comes last (ask Quinten for formatting)

address asked before download

Issue from #15

@h-mcguire
Member
Author
h-mcguire commented 7 hours ago
Thanks! I think it is about the download in AL. It calls CASLS_Retainer_Agreement['final'] and then looks for the clients address set that includes zip. For each variable in the set the interview would look for the object with "_label" after.

So it looked for clients[0].address.address and pulled up the question block that gathers that, then it looked for clients[0].address.address_label. Then it moved to another variable from the set doing the same thing, ending on clients[0].address.zip_label. Not sure if this is helpful or makes sense.

@miabonardi
Member
miabonardi commented 7 hours ago
Can you commit the code that was getting this error?

@h-mcguire
corrected error using [i] in order block; address gather error still โ€ฆ
4881045
@h-mcguire
Member
Author
h-mcguire commented 6 hours ago
Just committed! The address gather problem also happens when you try to do other documents, see the no contact letter for a quick example.

In the CASLS Retainer there is also a problem where it seems like it is gathering legal_problems before clients[0].name.full despite it being after the name gather. Or more specifically, legal_problems use of ${ clients[0].name } is what triggers the name gather. If you click the dev mode when it gathers name it makes it seem like legal_problems is what triggers the question - not the main order block.

@miabonardi
Member
miabonardi commented 3 hours ago
@nonprofittechy Is there a way to disable the collection of an address on download or preset it in AL?

@nonprofittechy
Member
nonprofittechy commented 2 hours ago
Yes, look for the store_variable_snapshot line that is calling for users[0].address.zip

@miabonardi
Member
miabonardi commented 2 hours ago
That's what I thought it was too, but couldn't find it when I looked. Will try again

@nonprofittechy
Member
nonprofittechy commented 1 hour ago
That's what I thought it was too, but couldn't find it when I looked. Will try again

You can also use the icon in the playground to browse through mentions of any reference to users[0].address.address, and of course try the developer information button </> in the browser when you're running the interview.

image

@miabonardi
Member
miabonardi commented 1 hour ago
I did that for store_variable_snapshot and found nothing. For users[0].address.address and users[0].address.zip only mentions are coming in from ql_baseline.yml. I wonder if something in the al_visual file could be causing this? Should this file be in this repo?

@nonprofittechy
Member
nonprofittechy commented 16 minutes ago
al_visual should be fine for this package. It definitely doesn't mention users[0].address.address

Possibly this could be coming from the work @tobyfey was doing on the legal server integration, but I can't think there's anything in the Assembly Line that would force the address to get gathered.

I think the court gathering used to trigger address, but I don't think it does for a year or more.

@tobyfey
Member
tobyfey commented 11 minutes ago
With GBLS, I also had users[0].address.address being called when it wasn't in the interview or the templates. It would be called during document production, so I assumed it was in the documents, and later realized it wasn't (after I added a code block that set it to GBLS main office).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.