Nepalidate

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

Install Nepalidate

bench get-app https://github.com/rbnkoirala/nepalidate

Tags

  • bikram-sambat
  • bikram-samvat
  • custom-app
  • erpnext
  • erpnext-application
  • erpnext-customization
  • frappe
  • frappe-app
  • frappe-framework
  • nepal
  • nepali-calendar
  • nepali-date-converter

Add the Frappe Gems badge to your README

Maintain Nepalidate? Paste this into your README:

[![Listed on Frappe Gems](https://frappegems.com/api/method/frappe_gems.seo.badge?app=rbnkoirala%2Fnepalidate)](https://frappegems.com/gems/apps/rbnkoirala/nepalidate)

About Nepalidate

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 --site sitename 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.

Related Developer Tools apps for Frappe & ERPNext

  • Frappe — Low code web framework for real world applications, in Python and Javascript
  • Frappe Docker — Docker environment for developing, deploying, and running Frappe applications (ERPNext and custom apps) in production and development
  • Builder — Craft beautiful websites effortlessly with an intuitive visual builder and publish them instantly
  • Bench — CLI to manage Multi-tenant deployments for Frappe apps
  • Frappe Ui — A set of components and utilities for rapid UI development
  • Press — Full service cloud hosting for the Frappe stack - powers Frappe Cloud
  • Gameplan — Open Source Discussions Platform for Remote Teams
  • Doppio — A Frappe app (CLI) to magically setup single page applications and Vue/React powered desk pages on your custom Frappe apps.