public static function footer()
    {
        $code = '<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.6.4/js/bootstrap-datepicker.min.js"></script>'.chr(10);

        if (App::getLocale() != 'en') {
            $code .= '  <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.6.4/locales/bootstrap-datepicker.'.App::getLocale().'.min.js"></script>'.chr(10);
        }

        $code .= '  <script>
    $(\'input.date-field\').datepicker({
      autoclose: true,
      format: \''.self::$format.'\',
      language: \''.App::getLocale().'\',
      todayHighlight: true
    });
  </script>';

        return $code;
    }