Code Monkey home page Code Monkey logo

Comments (6)

apmuthu avatar apmuthu commented on September 23, 2024

All_Invoices

Only Due Invoices - Use the filter Due and Real:
Unpaid_Invoices

from simpleinvoices.

Oscah3 avatar Oscah3 commented on September 23, 2024

I mean on on this URL index.php?module=statement&view=index it then displays even quotations, receipts, estimates while I need only invoices to display. My invoice preference ID is 1 if anyone could help and customize the code to only show invoice preference 1 not all preferences.

Refer Line 155 of templates/default/statement/index.tpl
https://github.com/simpleinvoices/simpleinvoices/blob/master/templates/default/statement/index.tpl#L155

Thanks

from simpleinvoices.

Oscah3 avatar Oscah3 commented on September 23, 2024

index.zip

from simpleinvoices.

Oscah3 avatar Oscah3 commented on September 23, 2024

I have figured out a way to fix it. I have changed .preference on line 155 to .real and it only shows invoices.

Thanks @apmuthu

from simpleinvoices.

apmuthu avatar apmuthu commented on September 23, 2024

Your change may prevent you from seeing non-invoice records.
Also, you will still see the paid invoices as well.
You may have to replace .real with .due for the unpaid invoices. and make sure you have it in the proper place as there are 2 instances on the same line.

from simpleinvoices.

Oscah3 avatar Oscah3 commented on September 23, 2024

Thanks for the tip seems to work!

from simpleinvoices.

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.