This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
static function numonly($str) | |
{ | |
return preg_replace('/\D/', '', $str); | |
} | |
static function trimMobile($mobile) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$leavingDatePicker.add($returningDatePicker).pikaday({ | |
firstDay: 1, | |
minDate : moment().toDate(), | |
maxDate : moment().add(6, 'months').endOf("month").toDate(), | |
position: 'bottom right', | |
i18n : { | |
previousMonth: 'Önceki Ay', | |
nextMonth : 'Sonraki Ay', | |
months : 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split('_'), | |
weekdays : 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split('_'), |
NewerOlder