Hi, I want to create a custom module for Drupal that can integrate with Drupal 7.
What I need?
Master Data Form Screen for:
Create/Update Customer
* This forms needs to require admin role user logged.
* Fields:
- Custumer ID - string (20) unique
- Custumer Name - string (60) unique
- Customer Phone Number - string (15)
- Customer Contact Name - string (60)
- Customer E-mail - string (120)
- Customer Account Manager User - relationship with User (just Users with Account Manager role)
* Adding a new field in User table to relationship the User with the Customer
* Adding 2 new roles called: Customer and Account Manager, to make available for users.
Create/Update Delivery Request
* This forms needs to require customer role user logged.
* Fields:
- Request Date - date
- Request Hour - time
- Notes - string
- Carrier type - could be ( car | motorcycle | truck )
- Customer - relationship with customer - this field needs to be filled automatically - this field needs to be invisible
* Actions:
- After create a new Delivery Request send an e-mail to: customer user e-mail and account manager user e-mail for notice the new delivery request, this e-mail needs to contain the fields about the delivery request.
- After update an existing Delivery Request send an e-mail to: customer user e-mail and account manager user e-mail for notice the updated delivery request, this e-mail needs to contain the fields about the old and new delivery request.
JSON method for:
Create/Update Delivery Tracking
* Fields:
- Delivery Tracking ID - integer
- Delivery Tracking # - string (20)
- Delivery Tracking Departure Date - date and time
- Delivery Tracking Registration # - string (20)
- Delivery Tracking Receiver Name - string (60)
- Delivery Tracking Status - string (60)
- Delivery Tracking Arrived Date - date and time
- Delivery Tracking Receiver Zipcode - string (20)
- Delivery Tracking Type - string (20)
- Delivery Tracking Value - decimal
- Delivery Tracking AR - image file
- Customer - relationship with customer
* Rules
- For call this JSON method it needs to send an valid admin user and password
- Need to create a logical to decide if it is update or create record, use the field Delivery Tracking ID to do that.
- If the customer choose the Monitoring by E-mail option (you can see about that below) and the field Delivery Tracking Status is changing it need to send an e-mail to customer user e-mail.
Filter and Grid Form Screen for:
Delivery Tracking
* This forms needs to require user logged.
* Filters
- Delivery Tracking Departure Date - From .. To ..
- Delivery Tracking Arrived Date - From .. To ..
- Delivery Tracking # - User can fill many Delivery Tracking #, you need to separete all these word ( " ", "-", ";", "," and "/" )
- Delivery Tracking Registration # - User can fill many Delivery Tracking Registration #, you need to separete all these word ( " ", "-", ";", "," and "/" )
- Delivery Tracking Receiver Zipcode
- Delivery Tracking Type
Important: For Users with customer role show only Delivery Tracking of this customer.
* Grid
* Columns:
- Delivery Tracking #
- Delivery Tracking Departure Date
- Delivery Tracking Registration #
- Delivery Tracking Receiver Name
- Delivery Tracking Status
- Delivery Tracking Arrived Date
- Delivery Tracking Receiver Zipcode
- Delivery Tracking Type
- Delivery Tracking Value
- Delivery Tracking AR - make a button, when click the button open the image file.
* Exporting Grid Data
- Add a column Export in grid, this column you don't need to save in the database, you'll use this just to export data.
- Add a button bellow of the grid to export all data checked to excel (xlsx) file, in this file don't need to export the column Delivery Tracking AR.
* Monitoring by E-mail
- Add a column Monitoring by E-mail in grid and make available to check and uncheck, when the user check this column need to save what the user checked that to send e-mails with update.
Beyond Industrial Project & Solution Pvt. Ltd. is an IT Company extending its services in the fields of Software Development. We Design And Develop in PHP, Wordpress, Joomla, Drupal, . We are the company that provide designed and Web Application Including Domain Registration, Web Hosting, Web Designing, Web development with the best technical features including CMS, e-Marketing, Search Engine Optimization, Developing Animations and lot many IT Enabled Services.
Operating in India