Code Monkey home page Code Monkey logo

point-node's Introduction

Commands

Running locally:

yarn dev

Running in production:

yarn start

Testing:

# run all tests
yarn test

# run all tests in watch mode
yarn test:watch

# run test coverage
yarn coverage

Linting:

# run ESLint
yarn lint

# fix ESLint errors
yarn lint:fix

# run prettier
yarn prettier

# fix prettier errors
yarn prettier:fix

Todo

 

  • Need to fix bug sales visitation expiry date. Sales visitation expiry date not equal to inventory expiry date

 

  • add new permission 'menu setting', 'update setting'
INSERT INTO `permissions` (`name`, `guard_name`) VALUES (`menu setting`, `api`, now(), now());

INSERT INTO `permissions` (`name`, `guard_name`) VALUES (`update setting`, `api`, now(), now());

 

  • create migration for alter sales_invoices table
ALTER TABLE `sales_invoices`
ADD `referenceable_id` int(10) unsigned NOT NULL,
ADD `referenceable_type` varchar(191) NOT NULL;

 

  • create migration for alter sales_invoice_items table
ALTER TABLE `sales_invoice_items` DROP COLUMN `delivery_note_item_id`;

ALTER TABLE `sales_invoice_items` DROP COLUMN `delivery_note_id`;

ALTER TABLE `sales_invoice_items`
  ADD `production_number` VARCHAR(191),
  ADD `expiry_date` DATETIME,
  ADD `referenceable_id` int(10) unsigned NOT NULL,
  ADD `referenceable_type` varchar(191) NOT NULL,
  ADD `item_referenceable_id` int(10) unsigned NOT NULL,
  ADD `item_referenceable_type` varchar(191) NOT NULL,
  ADD `quantity_returned` decimal(65,30) default 0.000000000000000000000000000000 AFTER `quantity`,
  ADD `quantity_remaining` decimal(65,30) default 0.000000000000000000000000000000 AFTER `quantity_returned`;

 

  • create migration to create table setting_logos
CREATE TABLE `setting_logos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `path` varchar(191) NOT NULL,
  `public_url` varchar(191) NOT NULL,
  `created_by` int(10) unsigned NOT NULL,
  `updated_by` int(10) unsigned DEFAULT NULL,
  `created_at` datetime NOT NULL,
  `updated_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

 

  • create migration for create table setting_end_notes
CREATE TABLE `setting_end_notes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `purchase_request` varchar(255) DEFAULT NULL,
  `purchase_order` varchar(255) DEFAULT NULL,
  `purchase_down_payment` varchar(255) DEFAULT NULL,
  `purchase_receive` varchar(255) DEFAULT NULL,
  `purchase_invoice` varchar(255) DEFAULT NULL,
  `purchase_return` varchar(255) DEFAULT NULL,
  `payment_order_purchase` varchar(255) DEFAULT NULL,
  `point_of_sales` varchar(255) DEFAULT NULL,
  `sales_quotation` varchar(255) DEFAULT NULL,
  `sales_order` varchar(255) DEFAULT NULL,
  `sales_down_payment` varchar(255) DEFAULT NULL,
  `sales_invoice` varchar(255) DEFAULT NULL,
  `sales_return` varchar(255) DEFAULT NULL,
  `payment_collection_sales` varchar(255) DEFAULT NULL,
  `expedition_order` varchar(255) DEFAULT NULL,
  `expedition_down_payment` varchar(255) DEFAULT NULL,
  `expedition_invoice` varchar(255) DEFAULT NULL,
  `payment_order_expedition` varchar(255) DEFAULT NULL,
  `created_by` int(10) unsigned NOT NULL,
  `updated_by` int(10) unsigned DEFAULT NULL,
  `created_at` datetime NOT NULL,
  `updated_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

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.