| 1234567891011121314151617181920212223 |
- <?php
- namespace App;
- use App\Enums\DocumentTypes;
- class GoodsIn extends Document {
- // Static methods
- /**
- * @param array $nvp
- * @return int
- * @throws \Exception
- */
- public static function count(array $nvp = []): int {
- return Document::count([
- "type" => DocumentTypes::GOODS_IN,
- "dts_deleted" => null
- ]);
- }
- }
|