Search for new ideas!

Automobile Service Center Management System

Automobile Service Center Management System
Automobile Service Center Management System (ASCMS) is an application used for digitized the paperwork and reduce paperwork. It is a very useful software for small service centers who want to computerize their work.

Advantages of using this software:
Maintain records of customers for years
Managing Stock
Generate Invoice
Developed in PHP so accessible from anywhere around the world

Tools Required:
PHP ( Programming Language), Apache Server & MySql (Xampp)
Codeigniter Framework
Download (Open Readme.md for instructions)

Modification Required:
Automobile -> Application -> Config-> database.php (Line 51 to 54)

Why Codeigniter?
Because it is a (Model View Controller) MVC Framework and reduce development time significantly. Without going into complex definitions, you simply understand it as in MVC, projects are divided into three parts :
Model: Works with database
View:  Works with a user interface
Controller: Control everything and makes the connection between model and view

In Codeigniter, there are three different folders for each and you will start understanding it after reading tutorials or books about this framework.

Recommended Book:
CodeIgniter for Rapid PHP Application Development ( Kindle Edition for only $3 )

What is our objective?

Before beginning to develop any project, first, we need to understand our goal. In this project we will develop a PHP website where we will design customer form to get customer information, vehicle form to get details about customer vehicles. Then we will create a job order for this particular customer. After that, we will add purchases to this job order, thereafter generate invoices for that job. Meanwhile doing all the above things, we will also manage stock of the service center and for that, we will need product and vendor forms.

Database:
I have chosen Mysql as a database for this project. You can select any DB of your choice. As we know our objectives, we get a clear idea of tables required by us. First, we will need a custom table to store customer data, second employee table to store employees of the store, third for storing invoices, fourth for storing job_order for the vehicle, products for stock management, purchase details for storing purchase, vehicles, and vendors for storing their data.

So, Important tables are:
customers
employees
invoices
job_order
orderdetails
payments
products
purchasedetails
vehicles
vendors
Detail Explanation:

Our Program has used 6 Controllers:

1. auth.php
We will use Tank Auth Module (Free Download) for authentication purposes and this controller performs a function such as login, logout, redirect, etc.

2. examples.php
We will use the grocery crud Module (Free Download) for crud task and this is a controller provided by them. We customized it to use it according to our requirements. This controller helps us to do create, read, update, delete and edit our table from PHP forms.

3.form.php
Form validation

4.invoice.php
Generate invoice: Take the job order number and fetch all relevant data from the database tables to generate an invoice by giving one last option of editing it.

5.welcome.php
check whether a user is logged in if yes then redirect it to the main page.

Views and Models:
They are self-explanatory and have the same names as a controller.


Installation Guide:

Step 1. Open the Download link and copy the URL as shown in the picture from GitHub


Github Download Link


Step 2. Change the Directory to your server root folder, in case of apache it would public_html and then clone the repository
 git clone https://github.com/cgpandey/automobile.git 
git clone terminal command


Step 3. Create the database with the name "automobile"

PHPMyAdmin Database Creation

Step 4. Import automobile.sql present inside the downloaded folder from GitHub.

Automobile SQL File


Step 5. Edit config/database.php and config/config.php as per your specific configuration as shown below.
Config file showing where to edit
config.php
database file showing where to edit
database.php

I hope you would like this project!

Download (GIT HUB)

No comments :