Created
May 15, 2020 07:56
-
-
Save thephucit/e46c929c1ccb5c261da36c48bf5541b5 to your computer and use it in GitHub Desktop.
create code from id or No
This file contains 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 | |
$code = 'OD.' . str_pad($this->count() + 1, 10, '0', STR_PAD_LEFT); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment