#import "../sys/packages.typ": *
#import "../sys/sys.typ": *
#import "../sys/header.typ": *
#import "@preview/bob-draw:0.1.0": *

// Space between header
#v(150pt)

// Shows heading 
#text(size: 12pt
)[= Bank 99]

#note("Bank 99 (operator 99) is a term used in bookeeping to refer to the forms of currency that have not been loaned or deposited and is currently available for store use")

#show raw.where(lang: "bob"): it => render(it)


#grid(columns: (1fr, 1fr, 1fr),
  fill: none,
  column-gutter: 2pt, [
     #render(
    ```
 __________________________________
|            BANK TILL             |
|  ______  ______  ______  ______  |
| |      ||      ||      ||      | |
| |  __  ||  __  ||  __  ||  __  | |
| | /  \ || /  \ || /  \ || /  \ | |
| |______||______||______||______| |
|  ______  ______  ______  ______  |
| | o  o || o  o || o  o || o  o | |
| |  o   ||  o   ||  o   ||  o   | |
| |______||______||______||______| |
|__________________________________|
    ```,
    width: 90%,
)
  ],[
     #render(
    ```
 __________________________________
|    "BUSINESS CENTER - YESTERDAY" |
|  ______  ______  ______  ______  |
| |      ||      ||      ||      | |
| |  __  ||  __  ||  __  ||  __  | |
| | /  \ || /  \ || /  \ || /  \ | |
| |______||______||______||______| |
|  ______  ______  ______  ______  |
| | o  o || o  o || o  o || o  o | |
| |  o   ||  o   ||  o   ||  o   | |
| |______||______||______||______| |
|__________________________________|
    ```,
    width: 90%,
)
],[
     #render(
    ```
 __________________________________
|    "BUSINESS CENTER - NEW TILL"  |
|  ______  ______  ______  ______  |
| |      ||      ||      ||      | |
| |  __  ||  __  ||  __  ||  __  | |
| | /  \ || /  \ || /  \ || /  \ | |
| |______||______||______||______| |
|  ______  ______  ______  ______  |
| | o  o || o  o || o  o || o  o | |
| |  o   ||  o   ||  o   ||  o   | |
| |______||______||______||______| |
|__________________________________|
    ```,
    width: 90%,
)
]
)
#v(20pt)
#grid(columns: (1fr,1fr, 1fr),
  column-gutter: 2pt,[
    #pin(7)
  ],[
    #pin(8)
  ],[
    #pin(9)
  ]
)

#pinit-point-from(
pin-dx: 80pt,
pin-dy: -30pt,
offset-dx: 80pt,
offset-dy: 20pt,
body-dx: -65pt,
body-dy: 5pt,
(7))[
  This is *always* part of Bank 99\
  and is for general store use.
]

#pinit-point-from(
pin-dx: 80pt,
pin-dy: -30pt,
offset-dx: 80pt,
offset-dy: 20pt,
body-dx: -50pt,
body-dy: 5pt,
(8))[
  This is *not* part of Bank 99\
  *until* you _settle_ it. You must\
  _rebuild_ it back to \$285 for\
  subsequent use.
]


#pinit-point-from(
pin-dx: 80pt,
pin-dy: -30pt,
offset-dx: 80pt,
offset-dy: 20pt,
body-dx: -50pt,
body-dy: 5pt,
(9))[
  This *is* part of Bank 99 \
  *until* you _loan_ it to your \
  assigned operator. It\
  contains \$285.
]

#v(80pt)

== Terminology
#v(10pt)

#show "empha": text("center")

#show "decreases": text(weight: "bold")[decreases]
#show "increases": text(weight: "bold")[increases]

#stack(dir: ltr,
  "A", empha("loan", 3), "decreases the amount available in bank 99 and is typically performed when giving money to registers,",
)
#v(-10pt)
#stack(dir: ltr,
  "or other partners."
)
#stack(dir: ltr,
  "A", empha("pickup", 3), "increases the amount available in bank 99 and is typically performed to pickup money from registers,"
)
#v(-10pt)
#stack(dir: ltr,
  "business center tills, lottery, tax-exempt forms, and partner checks."
)
#stack(dir: ltr,
  "A", empha("settlement", 3), "increases the amount available in bank 99 and occurs when money is taken from a register or till"
)

#v(-10pt)
#stack(dir: ltr,
  "for the purpose of verifying that all counts are accurately represented before a pickup/rebuild is done."
)

#stack(dir: ltr,
  "A", empha("deposit", 3), "decreases the amount available in bank 99 and occurs after the pickup of lottery, tax-exempt forms,"
)
#v(-10pt)
#stack(dir: ltr,
  "partner checks, or money picked up from registers, which can then be made into bundles of $20s, $50, or $100s."
)

#important("Settlements are performed on business center tills and on registers. Both are rebuild to the amounts $285 and $1270 
respectively. Money that is deposited is taken from the store bank to an actual bank.")

