-
Order.pm
448 449 30 30 _manager_filter 31 31 _vault_filter 32 32 _postman_filter 33 _sync_filter 33 34 )]; 34 35 35 36 sub available_filters { … … 190 191 'db_type' => 'integer', 191 192 'default' => 0, 192 193 }, 194 { 195 'attr' => 'synctime', 196 'type' => 'datetime', 197 'rusname' => 'Время последней синхронизации', 198 'postshow' => 1, 199 'facilshow' => 1, 200 'db_field' => 'synctime', 201 'db_type' => 'timestamp', 202 }, 193 203 ); 194 204 195 205 # ---------------------------------------------------------------------------- … … 227 237 return &SQL::Common::_generic_int_filter('d.payment', $opts{payment}); 228 238 } 229 239 240 sub _sync_filter { 241 my ($self,%opts)=@_; 242 return undef unless ( exists $opts{sync} ); 243 return &SQL::Common::_generic_int_filter('d.syncro', $opts{sync}); 244 } 245 230 246 sub _uid_filter { 231 247 my ($self,%opts)=@_; 232 248 return undef unless ( exists $opts{uid} );