Przeglądaj źródła

test docket latest number

ifah
rodzic
commit
e1a7f263ab
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2
    0
      app/Http/Controllers/Api/DocketMobile.php

+ 2
- 0
app/Http/Controllers/Api/DocketMobile.php Wyświetl plik

} }


function createDocketID($limit){ function createDocketID($limit){
info(Docket::max('id'));

$allowedNumbers = range(0, 9); $allowedNumbers = range(0, 9);
shuffle($allowedNumbers); shuffle($allowedNumbers);
$digits = array_rand($allowedNumbers, $limit); $digits = array_rand($allowedNumbers, $limit);

Ładowanie…
Anuluj
Zapisz