mirror of
https://github.com/frappe/books.git
synced 2026-08-24 10:04:45 -05:00
fix: formatted the code
This commit is contained in:
@@ -27,11 +27,6 @@ export default class SerialNumberSeries extends Doc {
|
||||
setCurrent() {
|
||||
let current = this.get('current') as number | null;
|
||||
|
||||
/**
|
||||
* Increment current if it isn't the first entry. This
|
||||
* is to prevent reassignment of NumberSeries document ids.
|
||||
*/
|
||||
|
||||
if (!current) {
|
||||
current = this.get('start') as number;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user