⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.82
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
vhosts
/
raqmix.net
/
testpos.raqmix.net
/
app
/
View File Name :
SellingPriceGroup.php
where('selling_price_groups.is_active', 1); } /** * Return list of selling price groups * * @param int $business_id * @return array */ public static function forDropdown($business_id, $with_default = true) { $price_groups = SellingPriceGroup::where('business_id', $business_id) ->active() ->get(); $dropdown = []; if ($with_default && auth()->user()->can('access_default_selling_price')) { $dropdown[0] = __('lang_v1.default_selling_price'); } foreach ($price_groups as $price_group) { if (auth()->user()->can('selling_price_group.'.$price_group->id)) { $dropdown[$price_group->id] = $price_group->name; } } return $dropdown; } /** * Counts total number of selling price groups * * @param int $business_id * @return array */ public static function countSellingPriceGroups($business_id) { $count = SellingPriceGroup::where('business_id', $business_id) ->active() ->count(); return $count; } }