Giter Club home page Giter Club logo

invoice's Introduction

* Chuẩn bị

I. Cài đặt lần đầu

1. Git clone:

git clone https://github.com/inuris/invoice.git invoice

2. Cài node package:

cd invoice
npm install

3. Cài thư viện:

  • Right Click file install-as-admin.bat, chọn Run as Administrator...

4. Cấu hình thư mục xuất

  • Copy file _copy.cfg thành file mới và đổi tên thành copy.cfg
  • Mở bằng editor bất kỳ, sửa C:\<path to folder>\VNPT-MauHoaDonDienTu thành đúng đường dẫn trong máy

II. Sử dụng

  1. Chạy file watch.bat và để cửa sổ chạy.

  2. Chạy file new.bat và nhập:

  • Chọn số thứ tự tương ứng mẫu cần làm
  • Điền comCode (tên viết tắt) của công ty, sẽ sử dụng làm domain nếu là HSM.
  • Điền thư mục cần xuất ra (comFolder)
  1. Vào link http://localhost:8000/tên_mẫu/ để xem mẫu

  2. Chỉnh sửa thông tin công ty:

  • Vào thư mục \invoice\src\pages\<comCode>
  • Mở file <comCode>.yml
  • Copy paste thông tin công ty vào thay thế phần trên cùng
  1. Xuất file:
  • Chạy _copy.bat trong thư mục công ty
  • Nếu cần chỉnh sửa lại, chạy _restore.bat

III. Cấu trúc source code

  • Source nằm ở folder \invoice\src\**
  • Code generated nằm ở folder \invoice\dist\**

invoice's People

Contributors

inuris avatar

Watchers

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