Giter Site home page Giter Site logo

Comments (13)

TreyWW avatar TreyWW commented on August 31, 2024 1

Still need lots of features to be added, such as;

  • creating the actual invoice
    • download it
    • edit it in a nice editor
  • make sure "TO" and "FROM" save to the created invoice, they dont yet
  • add an option to "load" a client info

from myfinances.

TreyWW avatar TreyWW commented on August 31, 2024

Notes

Branch

  • feature/invoices/39-create

Key Files

  • frontend/static/js/pages/invoices/create.js
  • frontend/templates/core/pages/invoices/create/create.html
  • backend/views/core/invoices/create.py

from myfinances.

TreyWW avatar TreyWW commented on August 31, 2024

Modal doens't close when you add service

from myfinances.

TreyWW avatar TreyWW commented on August 31, 2024

Nice reference, add logo and also service HOURS / QUANTITY.
image

from myfinances.

TreyWW avatar TreyWW commented on August 31, 2024

Possibly add invoice categories for example "My Accounting Services" to keep invoices organized

from myfinances.

shinegit1 avatar shinegit1 commented on August 31, 2024

#make sure "TO" and "FROM" save to the created invoice

I don't understand what you want if you created a client field in the invoice model.
Are TO and FROM two different clients (from options or created clients) or
FROM - auth user
To - an option to select a client from created clients?

from myfinances.

TreyWW avatar TreyWW commented on August 31, 2024

Yeah sorry I didn't really give an explanation.

To: the person you want to send it to (your clients details)
From: Person you want to send from (your details/company details)

So for both fields I also want a drop-down to load from a created client (load from model) (or load from your details model - not yet added)

from myfinances.

shinegit1 avatar shinegit1 commented on August 31, 2024

Then, should we modify the Invoice model (id, user, clitent_to, client_from, items, payment_status, date_due, date_issued, created_date)?
loaded from created clients:
client_to - person
client_from - person

*So for both fields I also want a drop-down to load from a created client (load from model) (or load from your details model - not yet added): will these details from the auth user's side in 'load from your details model - not yet added '?

from myfinances.

TreyWW avatar TreyWW commented on August 31, 2024

Yeah, so we'll want a few fields:

  • client_to (client, optional)
  • client_from (yourself/company, optional)
    then
  • client_detail_name (charfield, optional) [example]
    But you can't have both client_to and client_detail_name, only one or another.

If that makes sense?

from myfinances.

TreyWW avatar TreyWW commented on August 31, 2024

Re-reading the comment you made yesterday, so when i said "save", the data wont actually be saved in the DB, just that the data needs to be sent along with the POST request, cause its inputted through a modal. I'm going to take a look at this now and see if i can provide any more info

from myfinances.

TreyWW avatar TreyWW commented on August 31, 2024

Turns out we do actually already have them detailes saved, "to_name" for example. I'll work on getting the create invoice view finished, unless you'd like to work on it too

from myfinances.

TreyWW avatar TreyWW commented on August 31, 2024

I've added a few more inputs, heres some images

image
image
image

from myfinances.

TreyWW avatar TreyWW commented on August 31, 2024

Basic invoices have been completed!

from myfinances.

Related Issues (20)

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.