MAJOR=4
MINOR=4
DEVNAME=tty4
  5   cˆ¾�þB gÁ 7H ?ìƒh¹ëa–Ãa¾”J_)â€nà¸Å£é      cMAJOR=4
MINOR=33
DEVNAME=tty33
  6   eˆl–Ãa¾”ªi?u8 ¸Û71hß�þZq•œp,Æ2#mÆŸîƒDÏíá¿ê c    e# Copyright (C) 2012-2026 Zammad Foundation, https://zammad-foundation.org/

class FormUpdater::Updater::Ticket::TimeAccounting < FormUpdater::Updater

  def self.required_permissions
    %w[ticket.agent]
  end

  def resolve
    if meta[:initial]
      result['accounted_time_type_id'] = accounted_time_type_options
    end

    super
  end

  def object_type
    ::Ticket
  end

  def accounted_time_type_options
    active_types = ::Ticket::TimeAccounting::Type.where(active: true).to_a

    # An empty type list would only render an empty select, so the field stays hidden until
    #   there is at least one active type to pick from. The configured default may have been
    #   deactivated in the meantime, in which case nothing gets pre-selected.
    default_type = active_types.find { |type| type.id == Setting.get('time_accounting_type_default') }

    {
      show:    Setting.get('time_accounting_types').present? && active_types.any?,
      value:   default_type&.id,
      options: active_types.map do |type|
        {
          value: type.id,
          label: type.name,
        }
      end,
    }
  end
end
  5   gˆl–Ðz¾”Ša,je@Šãb¸”Å£�þCÖnV€ë²ºá[ ?Ÿï442îÀë º    g‹      …SÁN1]YDAIP£ñdúrñæ!Ä($†EãµvL\[Ò6xòËÅÙÝ¨�pØîôMgæ½éô½A)(—JA)D3¼À¥‚_£Àƒ*þ/×Ïhr«'41ÖÍ�H­³®�š±i"Mú‘7ù@5�Idã	2g±=õ4œp¹4¤«èO¥ú¼'o 1¾1†ôg‰�Û”.H[
ƒlA†ô#áš¤`&yÆ½Ì§ñh›yú‘;4[×É†âìdUDWì‘p-®Æd"•žRÆ-Rî·¢ÈÙcîdå1j½î<�Oj#­sïª~Fµ–¨)HÆS»v0)bÈ`šàŒ¸Â:Zçl£­&o«“ðØî‘BÆ
‰Þ|äôKj
Ì–+øœîÍìGía¢�Ï¹55|,0SC]^1Ÿr\Öú®}ñ[þ5­ÌvÏšW«9øÈ'ØNÃŽë;Àa(gWq`�C�s¬ÿÝM¹‰«x8³Ú„/�î:Saur’Níñ3_à»À½_¨ªdÚtÅêÙ@üà²\.ÿ3b	6×2r`-ë[s”=:Üýþ‰ëœ!       iˆêéî677èÀë ¥    i‹      ½•[sš@†ïû+¶\ôN–ƒx
Ò1�FŒñµÆt:Î
+ì,.ëñ×ÅTÛ‰MœIsÅ²û~‡çeÙÕ?[m³?êÜ€zÿ¾	:ƒë¦m!áP5!´úV¶�%Â›– Ÿó¸ájµWªH™ûÐça�‡	gÄá¢Ë]Áø¤ïæŒO@÷1rÓ'Ð9á6ìÈÅk@§ ÒOˆ‹ÓÌñbçyâ÷‚·(‘yC9>†(I0O`3êÌv£eÚš(Áå“³üiEx(©O¨»Ùu"ÿÇªiò=šì‹ï†ÌÐ¹–( ^T8�C'¡æTH%p h&zd* ðªðÃ6Û?Säþ.ÚÐðžV…¯fµuÕ®Z‚ÑB!Ö!zYsŸjj‚ÑD	!uÉ”`÷¬¸—‰{d{>¡•i,œ8ŒÄœÐè(…)â)ªCƒ$F)«–øìT•IÜ×Ü@Îftj7­¾e?d–¸»ÇîÞõ
F1q`†NÙæÀ™ýM’øêù(ñ|. äÀ‹ÊÐÑ,¢«è”>uöEîåSî‰°Q—Ž¯“¨{›/õëµ6]¯‹¸uím7qi|«yùÞ¼üÍ÷Ð‚qqÈ)ü_´Š¤r²œSŠ@*T´< g„²¢Ý}¨-f¹¡”pžÍõúŠl;w½;©`=6›bñv4ˆé€jó…ÙðŽ¶\òš-R)§h@Q*šrÞ–¢ö±»¥»6‡ÝÍ©f2”¾wW|Î
�ò¬;>‹MGî˜êÆÆƒÑÑ–CÞÃE”>v·D*V£¨ÎÜnÜvîÇázÐ~œ˜¶?Ïke»Û‹
Jž«¶t´åÂ�7üD²
µ¢Èçw‹Xü‡-o<|ááZÒáþ*Ôav)ÿÿj4«÷       kˆêéî404èÀë ”    k‹      �’QOÛ0Çßù7?ðFTö2O�TZ¥ÒVm¦išxpm7¶HâÈ¾Ñ±O?§é“@<ÅI~÷Ëý/Ç?”Ë¢ú¾šÂ—êv«¯7óYìñÛ¤@,«r|q™�_ N˜%ê?!î÷ûl?É|¨±Z£¥¶¹ÄHÁ)Ê4i&NøðLœ ·FêtNŽ#f�6¿Àï ýOŠN›d¦¶G%•5(c41öÁ«ûáô0ÉÎqÓp«“�B¾õúqøÎÅ»�©ôÐ˜ÜÔÃ1Ndãê.gä{&¸kkˆAå�ò]Äm#»û¬v;²¡œý˜Ë»Ä!Ù¡Zp	6˜]Î>ùâj™_3±�­á(_fnGf.#AëµÛ9£_…7	.™Ø¸ß¯ËQXš¨‚ëÉùî	ÅñyTå›ØË”õcJ`ÃsjDôÿ¦!Õ?ÃX]¯§‹ªœ­Ç‘èAñÔÝþ+LGPº`ùðxL1*O»mì¯þÞÂ±ÇàjKL œÁ‹ä[âãq18V�ã¸Ò –Ž¥05    5   mˆl–ß=¿Jõ4Ÿº‚ œP\·ê˜´o�þ[”K8à#åiâH@?ðƒbïÁì ò    m
OPENJDK ASSEMBLY EXCEPTION

The OpenJDK source code made available by Oracle America, Inc. (Oracle) at
openjdk.java.net ("OpenJDK Code") is distributed under the terms of the GNU
General Public License <http://www.gnu.org/copyleft/gpl.html> version 2
only ("GPL2"), with the following clarification and special exception.

    Linking this OpenJDK Code statically or dynamically with other code
    is making a combined work based on this library.  Thus, the terms
    and conditions of GPL2 cover the whole combination.

    As a special exception, Oracle gives you permission to link this
    OpenJDK Code with certain code licensed by Oracle as indicated at
    http://openjdk.java.net/legal/exception-modules-2007-05-08.html
    ("Designated Exception Modules") to produce an executable,
    regardless of the license terms of the Designated Exception Modules,
    and to copy and distribute the resulting executable under GPL2,
    provided that the Designated Exception Modules continue to be
    governed by the licenses under which th