Drupal core 7.x

Drupal: Generate unique invoice number for unbercart order

This CodeLet generate a unique invoice number for every order placed with ubercart. The unique invice number is stored in a custom table and a function is provided to fetch the invoice number for respective order number. You can use this function in order template to display the inovice number

Drupal: Country dependant city dropdowns

This Codlet allows you to load state and city dropdown fields from country you select.
It works as follow:

1. select country, states dropdown will be loaded from country.
2. select state, city dropdown will be loaded from state you select.

Ex. selected country is 'INDIA' you get states dropdown depend on INDIA,