Giter Site home page Giter Site logo

sales_payment_utility-v1's Introduction

Sales Payment Utility

This project provides a command-line utility and a web interface for generating sales payment dates. It combines Symfony and Vue.js to offer a comprehensive solution for managing sales payment dates.

Frameworks Used

  • Symfony: A PHP framework for building web applications.
  • Vue.js: A JavaScript framework for building user interfaces.
  • Symfony Console Component: Used for creating and running console commands.
  • Symfony Process Component: Used for executing external processes from PHP.
  • Axios: A JavaScript library for making HTTP requests from the browser.

Getting Started

Prerequisites

  • PHP >= 8.0
  • Composer: Dependency manager for PHP.
  • Node.js: JavaScript runtime.
  • npm or Yarn: Package managers for JavaScript.

Installation

  1. Clone the repository :

    git clone https://github.com/SaberZermani/sales_payment_utility-V1.git
    Navigate to the server-side folder and install backend dependencies using Composer:
     cd sales_payment_utility-V1/server-side
     composer install
    
  2. Installation:

Navigate to the client-side folder and install frontend dependencies using npm or Yarn:

cd ../client-side/vue_js_app
npm install
# or
yarn install

Start the Symfony development server :

(under server-side folder)
    symfony serve  
  1. Start The Vue Js development server :

(under client-side/vue_js_app folder)

npm run serve or yarn serve

App running at:

Usage :

To generate sales payment dates using the command-line utility By UI :
 1. Access the web interface http://localhost:8080/
 2. Add Output File Path (e.g. csv_file directory is mandatory for this version, csv_file/OutPutPaymentDates.csv)
 3.Type Enter 
 Result :
 An interface will be displayed to say that :
    
    Months are already processed      
    The file does not exist 
    There are missing months (it will display the missing months and the complete list) and will update the file mentioned above.
PS : Payments Calculation just for future Months of Actual Year (Version1)

Screenshots

Capture d'écran 1

Capture d'écran 2

Capture d'écran 2

Future Enhancements and Features

I have plans to enhance and expand the Sales Payment Utility in future versions. Here are some of the planned features and improvements:

Version 2.0

1. Database Integration

In the upcoming version, we plan to introduce database integration to store payment history. This will enable users to track payment data over time and provide a historical view of payments.

2. Last Bonus Payment Calculation

To support calculating payments for the next year, I will introduce the capability to calculate payments for the next year's bonus as well. This will involve considering the 15th of January of the following year when calculating the bonus for December.

3. User Authentication and Profiles

I envision adding user authentication and profile management, allowing users to have personalized experiences and access to their payment history.

sales_payment_utility-v1's People

Contributors

saberzermani avatar

Watchers

 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.