Browse Source

test docket latest number

ifah
parent
commit
e1a7f263ab
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      app/Http/Controllers/Api/DocketMobile.php

+ 2
- 0
app/Http/Controllers/Api/DocketMobile.php View File

@@ -30,6 +30,8 @@ class DocketMobile extends BaseController
}

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

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

Loading…
Cancel
Save