Publisher
Rabin Koirala
Categories
Free
Utilities
Supported Versions
Nepali Date (BS)

Nepali Date (BS)

This Frappe application allows you to use Nepali Date on the Frappe Framework

Install Now
0 installs

License

mit# Nepali Date

This Frappe application allows you to use Nepali Date on the Frappe Framework. Detail Documentation on Wiki

Installation

To install the Nepali Date application, follow these steps:

  1. Navigate to the frappe-bench directory:
    cd frappe-bench
    
  2. Clone the repository to your local machine:

    bench get-app https://github.com/rbnkoirala/nepalidate.git
    
  3. Install the application dependencies:

    bench install-app nepalidate
    
  4. Run the Frappe development server: For Development Server

    bench start

    For Production Server
    sudo supervisorctl restart all
    
    

  5. Open your web browser and visit http://localhost:8000.

  6. Log in to the Frappe application using your credentials.

  7. To Test the search "Nepali Date Demo" doctype and try.

Usage

Check on Client Side Script Latest Code

frappe.ui.form.on("Nepali Date Demo", {
    refresh(frm) {
        add_nepali_date_picker(frm, "nepali_date");   // if you dont want to add nepali date only
        add_nepali_date_picker(frm, "nepali_date_convert", "english_date_convert");   //  if you want to add nepali date and convert to english date      
        add_nepali_date_picker(frm, "nepali_date_time_convert", "english_datetime_convert");  // convert in time field

        add_nepali_date_picker(frm, "nepali_date_convert_one", "english_date_convert_one"); 



    },
    english_date_convert(frm) {
        convert_ADBS(frm, "english_date_convert", "nepali_date_convert");  
    },
    english_datetime_convert(frm) {
        convert_ADBS(frm, "english_datetime_convert", "nepali_date_time_convert");  
    },    
    english_date_convert_one(frm) {
        convert_ADBS(frm, "english_date_convert_one", "nepali_date_convert_one");  
    },
    english_datetime_convert_one(frm) {
        convert_ADBS(frm, "english_datetime_convert_one", "nepali_date_convert_one");  
    }
});

Roadmap for Future

The following features are planned for future releases:

  1. Calender POPUP on Child Table #child table code

Screenshot

image

License

This application is licensed under the MIT License. See the LICENSE file for more information.

User Reviews

Write a review

5.0

1 rating

5.0 out of 5

5 Star

100%

4 Star

0%

3 Star

0%

2 Star

0%

1 Star

0%

Error while downloading

Doesn't work when comman is given as bench get-app and link

abc def • 3 months ago • Reply
bench get-app https://github.com/rbnkoirala/nepalidate.git
Developer