Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random ticket number #97

Closed
guestisp opened this issue Nov 8, 2018 · 7 comments
Closed

Random ticket number #97

guestisp opened this issue Nov 8, 2018 · 7 comments

Comments

@guestisp
Copy link
Contributor

guestisp commented Nov 8, 2018

Ticket number should be created randomly (or with something not easily guessable)

@freescout-helpdesk
Copy link
Contributor

This can be implemented as a global option allowing to set ticket number generation method:

  • sequential
  • random

It can be added instead of Next Conversation option:
2018-11-08_15-17-35

@guestisp
Copy link
Contributor Author

guestisp commented Nov 8, 2018

Random with letters and numbers or only numbers? I can work on this today or tomorrow

@freescout-helpdesk
Copy link
Contributor

Conversation number (as dropdown, it would allow to add other formats if needed):

  • Sequential number
  • Random number
  • Random numbers and letters

Max. 7 digits/numbers, longer ticket numbers may break the design.

Next Conversation # - keep it for now, just comment it out. Maybe somebody will need it.

@guestisp
Copy link
Contributor Author

guestisp commented Nov 8, 2018

Can we use jQuery or something similiar ?

@freescout-helpdesk
Copy link
Contributor

jQuery is already included in the project (see usage in /public/js/main.js)

@guestisp
Copy link
Contributor Author

guestisp commented Nov 8, 2018

Yes, I seen.
Just a simple question: I have to add a simple javascript to be used in general.blade.php.
With a @section('javascript') i'm able to do, but it doesn't get minified. Is this an issue or do you have a way to minify javascript when called from a single view ?

@freescout-helpdesk
Copy link
Contributor

Add function call to the bottom of the template:

@section('javascript')
    @parent
    initGeneralSettings();
@endsection

and add initGeneralSettings() function to the main.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants