Giter VIP home page Giter VIP logo

receipt_generator's Introduction

receipt_generator

領収書を連番で発行するためのスクリプトです。

使い方

まず、receipt_list.csvを編集します。 領収書管理番号名前金額の順に並んでいます。

次にMakefileの以下の欄を修正してください。

RECEIPT_DATE:=2018年1月30日
RECEIPT_PURPOSE:=謝恩会参加費
RECEIPT_ADDRESS:=東京都千代田区1-1-1
RECEIPT_ORG:=謝恩会実行委員
RECEIPT_AUTHOR:=田中太郎

最後に、makeしてください。 output.pdfが作成されます。 出力サンプルはoutput_sample.pdfです。

インストール方法

以下のソフトウェアが必要です。

  • gnuplot
  • make

macOS

brew install make
brew install gnuplot --with-aquaterm --with-cairo --with-qt --with-wxmac --with-x11

リスト更新方法

全員同じ金額でリストを作成する場合、次の方法で簡単にリストを作成できます。

  • name_list.csvに名前だけリストアップ
  • 以下のコマンドを実行
cat name_list.csv | nl | awk '{print "2017-000"$1","$2",10000"}' > receipt_list.csv

receipt_generator's People

Contributors

tiryoh avatar

Watchers

James Cloos avatar  avatar  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.