Confirm on delete of line item
  • funkiwanfunkiwan November 2009

    Would it be possible to add an option such that there's an OK/CANCEL when you hit "Delete" for a line item on an invoice? This almost burned me pretty bad.

  • justinjustin November 2009

    hey funkiwan

    you could alter the javascript to add this in.

    i haven't as i don't want another thing for the user to click

    note: if you make a mistake just click the Cancel button on the invoice and the change wont be saved

    cheers

    justin

    SmarterInvoices.com :: Simple Invoices hosting | Kelly.org.au :: Simple Invoices custom development | justin.kelly.org.au
  • funkiwanfunkiwan November 2009

    Maybe it could be a config option under simpleinvoices/config/config.ini, defaulted to no? I ask because I'm interested in following this project and it would be nice to not get burned on the upgrade. I could write the code and post patch files if that would help.

    Thanks!

  • justinjustin November 2009

    hey funkiwan

    re config
    - good idea - it'll be disabled by default but it someone wants it they can enable this option

    re patch
    - would be great thanks
    - best to look to use jquery ui dialog for this
    - either send through the patch - or email me your gmail username for svn commit access

    cheers

    justin

    SmarterInvoices.com :: Simple Invoices hosting | Kelly.org.au :: Simple Invoices custom development | justin.kelly.org.au

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

Categories