mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-09 17:42:21 +03:00
Default values when creating a service
This commit is contained in:
parent
93c2eb190f
commit
32e2b2843b
1 changed files with 9 additions and 0 deletions
|
@ -102,6 +102,15 @@
|
|||
.prop('disabled', false);
|
||||
$('#filter-services button').prop('disabled', true);
|
||||
$('#filter-services .results').css('color', '#AAA');
|
||||
|
||||
// Default values
|
||||
$('#service-name').val('Service');
|
||||
$('#service-duration').val('30');
|
||||
$('#service-price').val('0');
|
||||
$('#service-currency').val('');
|
||||
$('#service-category').val('null');
|
||||
$('#service-availabilities-type').val('flexible');
|
||||
$('#service-attendants-number').val('1');
|
||||
});
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue