Coder Social home page Coder Social logo

invoiceplane-templates's Introduction

invoiceplane-templates

Custom templates to use with InvoicePlane with a hack to generate the templates in a set currency.

This means that you'll still feed in the cost/price values in USD.

Known issues :

  • No caching of exchange rates.
  • Therefore each time the template script is run, for the invoice generated, it fetches and uses the latest exchange rate provided by the api.

Possible bug in IP

  • All other previously created custom fields' data is lost after creating and saving new custom fields. BACKUP database.

Installation

  1. BACKUP database
  2. Add the below listed custom fields via settings
  3. Place the copy over the assets and application folders

Instructions

Select these templates in the invoice or quote settings under system settings. Default templates are prefixed with "InvoicePlane". These are prefixed with "Billing Template" or "Quote Template".

Edit/Update "Currency" custom field with the currency code you wish to have the generated templates use.

Custom fields

Under Client table

Currency positioned in section Custom Fields

Under User table

PAN positioned in section Taxes Information

Bank Name positioned in section Custom Fields

Bank Branch State positioned in section Custom Fields

Bank Branch City positioned in section Custom Fields

Bank Branch Name positioned in section Custom Fields

Account Number positioned in section Custom Fields

IFSC positioned in section Custom Fields

BIC/Swift Code positioned in section Custom Fields

Currency to be sent in positioned in section Custom Fields

Code Snippets

This will help list all the content of an array (in this case, $invoice)

<!-- TEST -->
<pre><?php 
print_r($invoice); 
?></pre>
<!-- /TEST -->

invoiceplane-templates's People

Contributors

rohzart avatar

Stargazers

 avatar

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.