root 4 years ago
parent
commit
64406b9d96
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/Http/Controllers/Api/CompoundResourceController.php

+ 1
- 1
app/Http/Controllers/Api/CompoundResourceController.php View File

@@ -450,7 +450,7 @@ class CompoundResourceController extends BaseController

//compulsory increment to store new compound number, WHILE number is found, keep looping
do{
dd($compound);
(int)$num += 1;

//add 0s at the fornt if number is less than 1000

Loading…
Cancel
Save