Просмотр исходного кода

Add optional reference, fleet number, meters and equipment for larger vehicles (#642)

* WIP: Reference / PO field, part 1

* Add an optional Reference / PO field to work orders and quotes

* Hold back the PO required flag while the field is off, and test the convert paths

Adds the Playwright spec for the assembled flow.

* Keep Reference / PO out of sight for workshops that have it off

The quote share page reads the switch, the portal holds a completed job that
still waits for its reference, connector settings and the settings search
follow the switch and the plan, and the model's column lists leave the two
columns out while the field is off.

* Compare the invoice's words without the codes of glyphs its font cannot name

The Reference / PO spec checks that an invoice with the reference line says
every word it said without it. The full stop of an e-mail address is read
back from the PDF as a control code, and which code depends on every other
character on the sheet, so the check failed on some days' dates and numbers.
Those codes are left out of the words on both sides.

* Add a fleet / unit number to vehicles and custom fields to vehicles and customers

A workshop can switch on a Fleet / unit number for its vehicles (Settings,
Workshop): a box in the vehicle dialog, shown on the vehicle, in the list
and on the work order, found by search, sent to the technician app, offered
to imports, and printed on invoices, quotes and work orders once a design
switches the line on. Off, which is the default, it is hidden everywhere
and what was typed is kept.

Custom fields can now be defined for vehicles and for customers as well as
for work orders and quotes. They are filled in in the vehicle's and the
customer's dialogs, read out on their pages, and print only where a design
places them; an issued invoice keeps the values it was issued with. A
required field left empty stops the save and is named under the field and
in the message, as on work orders and quotes. Their values are removed with
the vehicle or customer on every delete path.

Nothing changes for a workshop that switches nothing on and defines no such
field: no new box, no new line on any document, no new column for imports
or for the assistant.

* Keep full stops readable in every PDF, whatever the server printed first

The fonts draw a colon from the full stop's outline, and the font library
keeps one glyph object per face for as long as the server runs, remembering
the character it was first asked for. Writing a colon into a PDF fetched the
full stop's outline with no character, so when the first document a server
rendered had a colon and no full stop in some face, every later PDF drew its
full stops correctly and could not be read back: text extraction, search and
copying gave "james mitchell@gmail com" and "$500 00".

Each face is now asked for all its characters before the first render, which
settles what every glyph stands for. Every server render waits for that, and
a test fails if a new one does not.

* Compare every word of the invoice again in the Reference / PO spec

The spec left unreadable glyph codes out of its comparison to get past full
stops that came back as control codes. That was the PDF fonts losing a
character, fixed in the previous commit, so the comparison is exact again.

* Save a vehicle's and a customer's own fields with the record, all or nothing

The vehicle and customer dialogs now send their custom field values with the
record's own save. The server checks them and writes record and values in one
transaction, so a required field left empty means nothing is made or changed,
and the answer names the fields; the dialog marks each one and keeps what was
typed. A form that sends no values (a quick create from another form, or a tab
opened before this) saves exactly as before, and the full form asks for a
required field such a record is missing on its next save. Save pressed before
the fields have loaded waits for them instead of passing unchecked.

Also: the fleet / unit number settings and the custom field hint name a vessel
for a marine workshop; vehicle and customer fields stay out of the whole
definitions list on a plan without custom fields; quote documents find the
customer's fields through the vehicle's owner like the invoice does; the
vehicle pickers show the fleet number; the work order shows it under the
vehicle name; a fleet number over 40 characters is refused by the form and the
action and reported on its row by the importer instead of being cut; and the
signed-in layout reads the plan once, alongside its other queries.

* Add meters besides the odometer, read on vehicles and work orders

A workshop can define its own meters in Settings, Custom Fields, by name and
unit, with Engine hours and PTO hours one click away in its own language (a
boat's engine hours are its odometer already, so that one is not offered and
the odometer's name is refused). Each vehicle gets the meters it has, with a
first reading; readings take decimals and print in the workshop's number
format with the meter's unit. A reading below the last one is saved and said.
A reading can be marked as wrong (it stays in the history and no longer
counts), and a replaced meter keeps a running total across the change.

A work order takes this job's reading of each meter, saved on its own the way
the Reference / PO box is. Invoices, work orders and quotes, their share pages
and the portal print the readings only where a design places the new line in
the vehicle block, off everywhere until then; issued invoices keep the
readings they were issued with. The technician app reads and writes a job's
readings (vehicle-meters). Meters travel in backups with the custom fields,
Ask AI is told a vehicle's readings, and everything about them stays hidden
for a workshop that has defined none or whose plan has no custom fields.

Also lets the custom field filters wrap on a phone, so Add Field stays in view.

* Keep meter readings with the right vehicle, job and backup

A job moved to another vehicle no longer prints the old vehicle's readings:
its readings stay in that vehicle's history but are unlinked from the job in
the same save, and every reader by job also asks for the job's current
vehicle. A job's reading is dated by the job as it is now, so a rescheduled
job carries its readings, and readings of the same moment keep the order they
were typed in.

Backups carry each vehicle's meters with the vehicles, and a file that
replaces the vehicles without meters keeps and re-attaches the readings the
workshop has. The technician app's readings are checked first and written in
one transaction, audited once; readings typed on the web are audited too.
A reading is a well-formed number with up to two decimals however it is sent,
a reading date is a real day, a job's reading marked wrong respects the
invoice lock, removing or deleting meters needs the plan like adding them,
the odometer's name is refused in every language the app ships and a name
that differs only by case or spacing is a duplicate, and the fleet number
limit is said in the person's language. The reading dialogs' labels are tied
to their fields.

* Ask before saving a meter reading far above the last one

A meter reading on the work order or the vehicle now asks the same question
the odometer does when it is far above the last reading, with the meter's own
unit in both numbers, and holds the reading back until it is answered. The
work order's box shows a mark once its reading is saved.

* Compare the reference sheet with a saved design in its spec

A workshop that never saved a design prints the classic letterhead, and its
first save changes the header by itself. The spec now saves the design with
the field off before measuring, so the comparison measures the field alone.

* Set the checkout spec's own tax and hand it back

The amounts the spec pays are worked out with a 25% tax, which it took from
whatever an earlier spec in its shard left behind. It now sets that tax
before the job takes it and puts the workshop's tax settings back after.

* Record equipment fitted to vehicles

A workshop can keep a list of the kinds of equipment it fits or services,
in Settings, Custom Fields: added, renamed, put in order and hidden. Adding
the first one turns equipment on; until then, and on a plan without custom
fields, nothing about it shows or is read anywhere, and after a downgrade it
is hidden and kept.

A vehicle lists its equipment with type, make, model, serial number, year or
date of manufacture, install date, rated capacity, last and next examination,
certificate reference, notes and an examination report file, and shows an
examination that is overdue or due soon. An item can have its own meters. It
can be moved to another vehicle, taking its meters, readings and history,
and the old vehicle's history says where it went; a removed item keeps its
removed date and can be put back.

A work order or quote picks the items it works on, several at once, and a
quote carries them to its work order. The job reads the meters of every item
it works on; dropping an item, moving the job or moving the item takes those
readings off the job and leaves them in the item's history.

Invoices, quotes and work orders can print an Equipment table, off in every
design until switched on, listing the job's items or everything on the
vehicle with the columns the design chooses. Issued invoices keep it frozen.
The technician app gets the equipment and its meters on a job and can set
what the job works on. Backups carry equipment and report files and never
drop what a file cannot put back, deletes release report files, Ask AI knows
a vehicle's equipment, search finds a vehicle by serial number, and every
change is in the audit log. A work order's meter reading is now audited too.

* Cut long tables between rows on the on-screen sheet

The share pages, the portal and the preview moved a block that did not fit
whole to the next page, leaving the page above empty, and let one taller than
a page run off its foot. A table taller than 300 points that does not fit is
now cut between its rows, as the PDF cuts it: the first piece keeps its
heading, each later piece starts a page under the column headings again, and
banding carries on. Shorter blocks still move whole, and the designer canvas
and the PDF lay out as before. The equipment table's column headings now also
print again at the top of each PDF page it runs onto.

* Give the designer's sample equipment makes that fit any kind

The sample listed a crane maker's name and model under whatever the workshop
called its first kind of equipment, so a workshop whose first type was a tail
lift saw a crane on it. The sample items now carry made-up makes, models and
capacities that belong to no kind in particular.

* Add a setup checklist for fleets and heavy vehicles

Asked for from the search palette, or from one line at the foot of Settings,
Custom Fields, a checklist opens at the top of that page with the five
optional parts a fleet or heavy vehicle workshop turns on: Reference / PO,
fleet or unit number, custom fields, meters and equipment. Each step says
whether it is on and links straight to its switch, and the guide in the docs
is one click away. It stays until put away and can be opened again. A
workshop that never asks sees nothing of it but that one line, and on a plan
without custom fields asking for it shows the upgrade dialog.

* Let a job keep the equipment it worked on

Moving or removing a piece of equipment no longer rewrites the jobs that
worked on it: an old job still shows and prints the item and its readings
after the item went to another vehicle, locked or not, and the job's picker
lists it as moved or taken off, to unpick but not to pick anew. The vehicle
check is made when an item is picked. A job that moves to another vehicle
still drops the old one's equipment. Deleting an item says how many work
orders lose it.

Also: a vehicle's equipment history says moved, and where to, for an item
that later came back. Saving what a job or quote works on reads and writes
under the record's lock, so two saves at once cannot mix. A meter asks before
a reading far above the last one with the limit for its unit: the odometer's
for distance, the hours limit for hours, nothing for other units. A report
uploaded and then cancelled is released. The checkout spec hands back every
tax setting exactly as it found it.

* Tell the technician app why a job is locked and when to ask

Additive answers for the app: a locked document's 409 carries its reason,
the job says whether it is locked and why, every meter carries the limit
above the last reading at which to ask before saving (or none), a refused
meter reading names the meter and the reason, and saving what a job works on
answers with the job's meters. The job is looked up once.

* Print the vehicle's photo on documents when the design asks

The vehicle section of invoice, quote and work order designs gets a choice:
off, the photo beside the vehicle's details, or a faded background behind
the vehicle block only. It is off in every default, starting point and saved
design. The faded copy is blurred and lightened on the server, just enough
that every line of the block keeps the contrast it had on the plain sheet,
and is cached. A vehicle without a photo, or one that is missing, too large
or unreadable, prints as before, and reading it never holds up a document.
Images travel inside the printed sheet only, so share pages and the portal
get a photo only where the design prints it. An issued invoice keeps the
photo it was issued with.

* Walk the vehicle photo through the invoice in a spec

Off until the design asks, beside the details and as a faded background each
put the vehicle's photo on the invoice, and a vehicle without a photo prints
as if the option were off.

* Make the faded vehicle photo strong enough to recognise

Over a faded photo the vehicle block now prints its detail lines in its dark
title ink rather than the grey detail ink, and its label in the title ink
whenever its own colour would hold the photo under a third of its strength.
The photo is toned for those inks, so every line keeps AA and the photo keeps
about half its range instead of almost none. The designer previews it at
that strength.

* Offer the setup checklist only to who may change settings

The search palette command and the line at the foot of Settings, Custom
Fields now show only to someone who may change settings, which opening the
checklist does, and only they can put it away. The guide link and the meters
step have their boat wording.

* Keep a moved quote off the old vehicle's equipment, and bound photo work

A quote moved to another vehicle now drops its links to the old vehicle's
equipment in the same save, so it never prints another customer's crane.

Vehicle photos: documents asking for the same photo share one decode, a photo
that fails is remembered and not tried on every render, at most two decode at
once, photos over 40 megapixels print nothing, and JPEG and WebP decode
straight at the reduced size. The process-wide sharp setting that slowed
every other image task is gone. Issuing an invoice waits up to 15 seconds
for the photo it freezes.

The equipment report dialog cannot be closed while it saves, so a report is
never discarded under a save that is about to use it. The vehicle photo spec
now proves the default design prints no photo, and removes its upload.

* Check a moved item's meter by its history in the equipment spec

A job's reading is dated by the job, so after a move the item's meter may
read the later first reading; the spec now checks that the meter went along
with both readings, which is what the step is about.

* Keep the owner's custom fields off the vehicle's details

* Offer only the other vehicles when moving equipment

* Leave the work order out of the reading question on the vehicle page

* Draw sheet box colours with the longhand so the photo toggle stays quiet

* Line up the mileage, Work on and meter fields on the work order

* Use mock functions instead of empty bodies in the new tests

* Keep the sheet renderer's comments free of document words

* Keep a meter reading at its job's date when the job lets it go

* Read each meter type's meters and each equipment type's items in pages in the backup

* Leave the reference and fleet number out of the technician app's job while the workshop does not use them

* Say when a work order keeps its own Reference / PO over the quote's

* Take a removed reference off the QuickBooks invoice where the connector wrote it

* Take the date a piece of equipment was made as the workshop writes dates

* Offer no invoice on the portal vehicle page for a job held for its reference

A finished job of a customer who needs a reference / PO, never issued and
without one, is held from the portal's invoice list and its page, but the
vehicle page still listed it with its number, price, View and Download
(both links answered not found). It now shows as finished work only.

* Test that a text or WhatsApp link to an invoice waiting for its reference is refused

* Keep long equipment values inside their column on the printed sheet

A 60-character serial number ran across the next columns and off the page,
and a model that filled its column printed flush against the year beside it.
The equipment table now keeps a gap between its columns and wraps a long
word inside its own column without adding a hyphen. The parts and labour
tables print as before.

* Keep a long equipment column heading inside its column

The Norwegian heading over the year, "Produksjonsår", printed across the
serial number's heading. Headings of the equipment table now wrap inside a
column of fixed width when a word does not fit, and the Norwegian heading is
"År", as the English is "Year".

* Let a job release only its own meter readings

Taking an item off one job's Work on, deleting a job or moving a job to
another vehicle looked up the readings to release with the job filter
replaced by "any job", so the readings of every other job were released
too: taking the crane off one job detached the crane hours another job had
taken. The lookup now keeps the caller's condition.

* Show a meter reading typed on a job on that job open elsewhere

A reading typed in a job's meter box, and the equipment a job or quote works
on, are now announced as a change of that job or quote, like its parts and
labour.

* Follow a job's meter reading changed elsewhere in its box

The work order's meter boxes kept what they showed at load, so a reading
typed on the same job in another tab or in the technician app did not
appear when the page refreshed. They now follow the job, unless the box
holds a reading not yet saved, as the Reference / PO box does.

* Show which setup step has the keyboard focus

The checklist's steps marked focus only with the faint fill a mouse hover
gives, which is hard to see in light and invisible in dark. They now draw
the focus ring, and the card takes the focus when it has just been opened
instead of leaving it on the page.

* Write the equipment card's dates in the workshop's date format

* Keep the vehicle photo tests' files in the system temp folder

* Name only a year or a full date when the Manufactured field refuses what was typed

* Hold the equipment dialogs' fields still while a save is under way

* Keep the reference on an issued invoice after the plan loses the field

* Show the vehicle's fleet number beside the plate on the inspection report

For a workshop that has the fleet / unit number switched on, an inspection's
built-in report prints it on one line under the licence plate: in the PDF the
workshop downloads, in the PDF the customer gets, on the page the customer
opens by link, and on the inspection in the customer portal. A designed
certificate is unchanged. With the switch off, on a plan without custom
fields, or for a vehicle without a number, nothing changes and the shared
page sends no fleet number.

* Offer the fleet number on the inspection certificate design

The certificate designer's vehicle block now offers the Fleet / unit number
line, as the invoice designer does, to a workshop that has the field
switched on. It is off in the default certificate, every starting point and
every saved design. Once a design switches it on, it prints on the
certificate PDF, the customer's copy and the shared page, for a workshop on
a plan with custom fields and a vehicle that has a number.

* Keep a long unbroken fleet number inside the inspection report's vehicle box

A fleet number with a run of more than 30 characters and no space prints
smaller on the built-in report PDF instead of running past the box.

* Check the certificate designer offers the fleet number switched off

* Show meters, equipment and the fleet setup on the Custom Fields tab the settings menu opens

* Scroll the settings menu to the page that is open

* Put the Reference / PO and fleet number switches on the Custom Fields tab

Settings, Invoice & Quotes, Custom Fields now holds everything a fleet or
heavy vehicle workshop turns on, in four sections: the ready-made fields
(Reference / PO and Fleet / unit number, each saved as soon as it is
switched), your own fields, meters and equipment, with a link to the guide
at the top. Settings, Workshop is back to what it was before these
switches.

The setup checklist and the line that opened it are gone. The search
palette's "Set up for fleets and heavy vehicles" now opens the guide. The
settings search finds the two switches on the tab, and finds all five
parts by heavy vehicle words. The general settings save refuses the two
switches on a plan without custom fields, as the new action does.

* Describe all four sections under the Custom Fields tab and keep the field hints readable

* Reach the Custom Fields tab through the settings menu in the end-to-end tests

* Refuse to complete a job or hand over its invoice while a required meter has no reading

A meter can now be required on work orders (off for every meter until a
workshop switches it on). Completing the job from the work order, the work
orders list, a save or the technician app, and sending, sharing or taking
payment on an invoice not yet issued, is refused naming the meters, until
the job has its own reading of each. The technician API says which meters
are required and answers 409 meters_required.

* Add and edit meters in one dialog, with a Required on work orders switch

The Add meter button and the suggestions open the same dialog as the pencil,
a suggestion filled in, so a meter can be made required before it exists.
Required meters carry a Required badge in the list.

* Mark required meters on the work order and take you to the empty box when completing is refused

A required meter's box carries the required mark. When completing the job,
sending or paying its invoice is refused, the message names the meters, the
empty boxes are marked and the first one takes the focus.

* Take payments and marking paid as before when a required meter has no reading

Money is never turned away, as for the customer's Reference / PO: a payment
recorded at the desk, or marking the invoice paid, is recorded and issues the
invoice as it always has. Completing the job, sending the invoice and making
its share link still wait for the readings.

* Show the reference, fleet number and meter readings on documents by default once a workshop switches them on

The three lines are behind a workshop switch, so a design now shows them unless it stores them as off: in the default layouts and starting points, in a saved design that never mentioned them, and where a section has no field list. The vehicle photo stays opt-in. Certificates keep them off unless their own design asks, and an issued invoice whose frozen design predates them prints none.

* Keep every other line of an issued invoice whose block never listed its lines

* Open the edit form on the detail you click on the vehicle page, and offer to add a missing fleet number

* Lay custom fields out in columns in the vehicle and customer dialogs

* Fix a type error in the quote test for default-on fields

* Expect the reference and meter readings on the invoice by default in the end-to-end tests

* Add search to the document designer

A search box at the top of the section list finds sections, fields, the workshop's custom fields and the document styling groups. Choosing a result opens the section, marks the field's row and puts the keyboard on its switch; nothing is switched. A field the workshop has not switched on in settings is still found and says where to switch it on.

The rules for which rows a section shows move to Lib/sectionFields.ts, read by both the inspector and the search, so a field added later is searchable without touching the search.

* Measure wrapped table text the way the PDF draws it

* Ask for the new vehicle's required readings when a save moves a completed job

* Move the cursor to a missing reading only for what the person did, once dialogs have closed

* Keep a stage picked while a refused completion was saving

* Test a completed job moved to another vehicle against a real database

* Add the Bulgarian strings for the optional vehicle details
Bernt Christian Egeland 6 дней назад
Родитель
Сommit
43763e0bb6
100 измененных файлов с 4734 добавлено и 76 удалено
  1. 167 0
      e2e/specs/invoices/vehicle-photo.spec.ts
  2. 20 3
      e2e/specs/payments/checkout.spec.ts
  3. 233 0
      e2e/specs/vehicles/equipment.spec.ts
  4. 187 0
      e2e/specs/vehicles/fleet-number-custom-fields.spec.ts
  5. 221 0
      e2e/specs/vehicles/meters.spec.ts
  6. 373 0
      e2e/specs/work-orders/reference-po.spec.ts
  7. 70 0
      e2e/support/db.ts
  8. 76 0
      e2e/support/settings.ts
  9. 37 2
      messages/bg/audit.json
  10. 3 0
      messages/bg/customers.json
  11. 3 0
      messages/bg/dataImport.json
  12. 114 0
      messages/bg/equipment.json
  13. 11 0
      messages/bg/integrations.json
  14. 16 1
      messages/bg/pdf.json
  15. 3 0
      messages/bg/portal.json
  16. 3 2
      messages/bg/quotes.json
  17. 12 3
      messages/bg/service.json
  18. 184 4
      messages/bg/settings.json
  19. 8 0
      messages/bg/setup.json
  20. 69 4
      messages/bg/vehicles.json
  21. 37 2
      messages/de/audit.json
  22. 3 0
      messages/de/customers.json
  23. 3 0
      messages/de/dataImport.json
  24. 114 0
      messages/de/equipment.json
  25. 11 0
      messages/de/integrations.json
  26. 16 1
      messages/de/pdf.json
  27. 3 0
      messages/de/portal.json
  28. 1 0
      messages/de/quotes.json
  29. 9 0
      messages/de/service.json
  30. 185 5
      messages/de/settings.json
  31. 8 0
      messages/de/setup.json
  32. 66 1
      messages/de/vehicles.json
  33. 37 2
      messages/en/audit.json
  34. 3 0
      messages/en/customers.json
  35. 3 0
      messages/en/dataImport.json
  36. 114 0
      messages/en/equipment.json
  37. 11 0
      messages/en/integrations.json
  38. 16 1
      messages/en/pdf.json
  39. 3 0
      messages/en/portal.json
  40. 1 0
      messages/en/quotes.json
  41. 9 0
      messages/en/service.json
  42. 185 5
      messages/en/settings.json
  43. 8 0
      messages/en/setup.json
  44. 66 1
      messages/en/vehicles.json
  45. 37 2
      messages/es/audit.json
  46. 3 0
      messages/es/customers.json
  47. 3 0
      messages/es/dataImport.json
  48. 114 0
      messages/es/equipment.json
  49. 11 0
      messages/es/integrations.json
  50. 16 1
      messages/es/pdf.json
  51. 3 0
      messages/es/portal.json
  52. 1 0
      messages/es/quotes.json
  53. 9 0
      messages/es/service.json
  54. 185 5
      messages/es/settings.json
  55. 8 0
      messages/es/setup.json
  56. 66 1
      messages/es/vehicles.json
  57. 37 2
      messages/fr/audit.json
  58. 3 0
      messages/fr/customers.json
  59. 3 0
      messages/fr/dataImport.json
  60. 114 0
      messages/fr/equipment.json
  61. 11 0
      messages/fr/integrations.json
  62. 16 1
      messages/fr/pdf.json
  63. 3 0
      messages/fr/portal.json
  64. 1 0
      messages/fr/quotes.json
  65. 9 0
      messages/fr/service.json
  66. 185 5
      messages/fr/settings.json
  67. 8 0
      messages/fr/setup.json
  68. 66 1
      messages/fr/vehicles.json
  69. 37 2
      messages/it/audit.json
  70. 3 0
      messages/it/customers.json
  71. 3 0
      messages/it/dataImport.json
  72. 114 0
      messages/it/equipment.json
  73. 11 0
      messages/it/integrations.json
  74. 16 1
      messages/it/pdf.json
  75. 3 0
      messages/it/portal.json
  76. 1 0
      messages/it/quotes.json
  77. 9 0
      messages/it/service.json
  78. 185 5
      messages/it/settings.json
  79. 8 0
      messages/it/setup.json
  80. 66 1
      messages/it/vehicles.json
  81. 37 2
      messages/lt/audit.json
  82. 3 0
      messages/lt/customers.json
  83. 3 0
      messages/lt/dataImport.json
  84. 114 0
      messages/lt/equipment.json
  85. 11 0
      messages/lt/integrations.json
  86. 16 1
      messages/lt/pdf.json
  87. 3 0
      messages/lt/portal.json
  88. 1 0
      messages/lt/quotes.json
  89. 9 0
      messages/lt/service.json
  90. 185 5
      messages/lt/settings.json
  91. 8 0
      messages/lt/setup.json
  92. 66 1
      messages/lt/vehicles.json
  93. 37 2
      messages/nb/audit.json
  94. 3 0
      messages/nb/customers.json
  95. 3 0
      messages/nb/dataImport.json
  96. 114 0
      messages/nb/equipment.json
  97. 11 0
      messages/nb/integrations.json
  98. 16 1
      messages/nb/pdf.json
  99. 3 0
      messages/nb/portal.json
  100. 1 0
      messages/nb/quotes.json

+ 167 - 0
e2e/specs/invoices/vehicle-photo.spec.ts

@@ -0,0 +1,167 @@
+import { existsSync, readFileSync, unlinkSync } from 'node:fs'
+import path from 'node:path'
+import { expect, type Page, test } from '@playwright/test'
+import { Client } from 'pg'
+import {
+  type InvoiceDesignState,
+  invoiceDesignState,
+  ownerOrganizationId,
+  restoreInvoiceDesignState,
+} from '../../support/db'
+import { settle } from '../../support/hydration'
+import { addLabor, newWorkOrder, saveWorkOrder, seededVehicleUrl } from '../../support/work-order'
+
+/**
+ * The vehicle's photo on the invoice, with every piece assembled.
+ *
+ * Off until a design asks: the vehicle has a photo, and the invoice prints as
+ * it did. The designer's vehicle block offers it beside the details or as a
+ * faded background, and the invoice then carries one picture more. A vehicle
+ * without a photo prints as if the option were off.
+ */
+
+test.describe.configure({ mode: 'serial' })
+
+const stamp = Date.now()
+const DESIGN_NAME = `E2E vehicle photo design ${stamp}`
+let jobUrl = ''
+let vehicleId = ''
+let photoBefore: string | null = null
+let uploadedUrl = ''
+let restoreTo: InvoiceDesignState
+let imagesWithout = 0
+
+async function withDb<T>(fn: (db: Client) => Promise<T>): Promise<T> {
+  const url = process.env.E2E_DATABASE_URL
+  if (!url) throw new Error('E2E_DATABASE_URL is not set. See e2e/README.md.')
+  const db = new Client({ connectionString: url })
+  await db.connect()
+  try {
+    return await fn(db)
+  } finally {
+    await db.end()
+  }
+}
+
+async function setPhoto(url: string | null): Promise<void> {
+  const organizationId = await ownerOrganizationId()
+  await withDb((db) =>
+    db.query(`update vehicles set "imageUrl" = $3 where id = $1 and "organizationId" = $2`, [
+      vehicleId,
+      organizationId,
+      url,
+    ])
+  )
+}
+
+/** How many pictures the invoice PDF draws. */
+async function invoiceImages(page: Page): Promise<number> {
+  const id = jobUrl.split('/').pop()
+  const response = await page.request.get(`/api/protected/services/${id}/pdf`, { timeout: 60_000 })
+  expect(response.status()).toBe(200)
+  const body = (await response.body()).toString('latin1')
+  return (body.match(/\/Subtype\s*\/Image/g) ?? []).length
+}
+
+async function chooseInDesigner(page: Page, choice: string): Promise<void> {
+  await page.goto('/invoice-designer')
+  const carryOn = page.getByRole('button', { name: /continue with my current layout/i })
+  if (await carryOn.isVisible({ timeout: 10_000 }).catch(() => false)) await carryOn.click()
+  await expect(page.getByTestId('rail-header')).toBeVisible({ timeout: 30_000 })
+  await settle(page)
+  await expect(async () => {
+    await page.getByTestId('rail-vehicle').click()
+    await expect(page.getByText('Section settings', { exact: true })).toBeVisible({
+      timeout: 2_000,
+    })
+  }).toPass({ timeout: 30_000 })
+  await page.getByRole('button', { name: choice, exact: true }).click()
+  const button = page.getByRole('button', { name: /save design/i }).first()
+  const dialog = page.getByRole('dialog').filter({ hasText: 'Save this design' })
+  const toast = page.locator('[data-sonner-toast]').filter({ hasText: 'Saved' }).first()
+  await expect(async () => {
+    await button.click()
+    await expect(dialog.or(toast).first()).toBeVisible({ timeout: 3_000 })
+  }).toPass({ timeout: 30_000 })
+  if (await dialog.isVisible().catch(() => false)) {
+    await dialog.getByPlaceholder('Design name').fill(DESIGN_NAME)
+    await dialog.getByRole('button', { name: /^(save|update) design$/i }).click()
+  }
+  await expect(toast).toBeVisible({ timeout: 30_000 })
+}
+
+test.beforeAll(async ({ browser }) => {
+  restoreTo = await invoiceDesignState()
+  const page = await browser.newPage({ storageState: 'e2e/.auth/owner.json' })
+  const vehicleUrl = await seededVehicleUrl(page)
+  vehicleId = vehicleUrl.split('/').pop() ?? ''
+  photoBefore = await withDb(async (db) => {
+    const result = await db.query<{ imageUrl: string | null }>(
+      `select "imageUrl" from vehicles where id = $1`,
+      [vehicleId]
+    )
+    return result.rows[0]?.imageUrl ?? null
+  })
+  jobUrl = await newWorkOrder(page, vehicleUrl, `E2E vehicle photo ${stamp}`)
+  await addLabor(page, { description: 'Service', hours: 1, rate: 100 })
+  await saveWorkOrder(page)
+  // A photo on the vehicle, uploaded the way the vehicle form uploads one.
+  const upload = await page.request.post('/api/protected/upload', {
+    multipart: {
+      file: {
+        name: 'vehicle.png',
+        mimeType: 'image/png',
+        buffer: readFileSync('e2e/fixtures/email-logo.png'),
+      },
+    },
+  })
+  expect(upload.status()).toBe(200)
+  uploadedUrl = (await upload.json()).url
+  await setPhoto(uploadedUrl)
+  await page.close()
+})
+
+/**
+ * Where the app keeps the uploaded photo, when the suite shares its disk:
+ * the app server inherits this environment, so the same DATA_ROOT.
+ */
+function uploadedFile(): string | null {
+  const name = uploadedUrl.split('/').pop()
+  if (!name) return null
+  const root = process.env.DATA_ROOT || path.join(process.cwd(), 'data')
+  return path.join(root, 'uploads', uploadedUrl.split('/').at(-3) ?? '', 'vehicles', name)
+}
+
+test.afterAll(async () => {
+  await setPhoto(photoBefore)
+  await restoreInvoiceDesignState(restoreTo)
+  // The photo this spec uploaded; nothing points at it now. A suite that
+  // runs against a server on another disk leaves it to that server's data.
+  const file = uploadedFile()
+  if (file && existsSync(file)) unlinkSync(file)
+})
+
+test('a vehicle with a photo prints as before until the design asks', async ({ page }) => {
+  // The workshop's own design, before this spec changes it: the invoice
+  // draws exactly as many pictures with the vehicle's photo as without it.
+  const withPhoto = await invoiceImages(page)
+  await setPhoto(null)
+  imagesWithout = await invoiceImages(page)
+  await setPhoto(uploadedUrl)
+  expect(withPhoto).toBe(imagesWithout)
+})
+
+test('photo beside the details: the invoice carries the photo', async ({ page }) => {
+  await chooseInDesigner(page, 'Photo beside the details')
+  expect(await invoiceImages(page)).toBe(imagesWithout + 1)
+})
+
+test('faded background: the invoice carries the faded photo instead', async ({ page }) => {
+  await chooseInDesigner(page, 'Faded background')
+  expect(await invoiceImages(page)).toBe(imagesWithout + 1)
+})
+
+test('a vehicle without a photo prints as if the option were off', async ({ page }) => {
+  await setPhoto(null)
+  expect(await invoiceImages(page)).toBe(imagesWithout)
+})

+ 20 - 3
e2e/specs/payments/checkout.spec.ts

@@ -1,6 +1,14 @@
 import { expect, type Page, test } from '@playwright/test'
+import { setTax } from '../../support/settings'
 import Stripe from 'stripe'
-import { forgetConnections, ownerOrganizationId, paymentsFor } from '../../support/db'
+import {
+  forgetConnections,
+  ownerOrganizationId,
+  paymentsFor,
+  restoreTaxSettings,
+  type TaxSettingsState,
+  taxSettingsState,
+} from '../../support/db'
 import { settle } from '../../support/hydration'
 import {
   clearPaymentSink,
@@ -31,8 +39,10 @@ import {
  * a spec pays on. What it records is how the amount charged is checked against
  * the amount the invoice showed.
  *
- * Pinned on the seeded workshop's 25% exclusive tax in dollars: one part at
- * 800 makes a total of 1,000.00. 400 is paid by card, then 600 through PayPal.
+ * Pinned on a 25% exclusive tax in dollars, which this spec sets itself and
+ * hands back after: the seed's 25% is switched off by specs that run before
+ * this one in some shards. One part at 800 makes a total of 1,000.00. 400 is
+ * paid by card, then 600 through PayPal.
  */
 
 test.describe.configure({ mode: 'serial' })
@@ -96,6 +106,8 @@ function stripeNotification(session: unknown, secret = WEBHOOK_SECRET) {
   return { payload, signature }
 }
 
+let taxBefore: TaxSettingsState | undefined
+
 test.beforeAll(async ({ browser }) => {
   await clearPaymentSink()
   // A spec that failed halfway must not leave a connection behind, and this
@@ -103,7 +115,11 @@ test.beforeAll(async ({ browser }) => {
   await forgetConnections(['stripe', 'paypal'])
   organizationId = await ownerOrganizationId()
 
+  // The tax the amounts below are worked out with, set before the job takes
+  // it and handed back after: the other specs expect the workshop's own.
+  taxBefore = await taxSettingsState()
   const page = await browser.newPage({ storageState: 'e2e/.auth/owner.json' })
+  await setTax(page, { enabled: true, rate: 25, inclusive: false, label: '' })
   const vehicleUrl = await seededVehicleUrl(page)
   jobUrl = await newWorkOrder(page, vehicleUrl, `E2E paid online ${stamp}`)
   jobId = jobUrl.split('/').pop() ?? ''
@@ -116,6 +132,7 @@ test.afterAll(async () => {
   // Every other spec shares invoices, and a connected vendor would put a pay
   // button on all of them.
   await forgetConnections(['stripe', 'paypal'])
+  if (taxBefore) await restoreTaxSettings(taxBefore)
 })
 
 test.describe('connecting a vendor', () => {

+ 233 - 0
e2e/specs/vehicles/equipment.spec.ts

@@ -0,0 +1,233 @@
+import { expect, type Page, test } from '@playwright/test'
+import { Client } from 'pg'
+import { ownerOrganizationId } from '../../support/db'
+import { settle } from '../../support/hydration'
+import { addMeter, openCustomFieldsTab } from '../../support/settings'
+import { pdfContent } from '../../support/pdf'
+import { addLabor, newWorkOrder, saveWorkOrder, seededVehicleUrl } from '../../support/work-order'
+
+/**
+ * Equipment fitted to a vehicle, with every piece assembled.
+ *
+ * First the opt-out: a workshop that has defined no kind of equipment has
+ * nothing about it on the vehicle or the work order. Then the flow a heavy
+ * vehicle workshop runs: kinds of equipment defined and put in order in
+ * Settings, a crane added to a truck with its year of manufacture and an
+ * examination that is overdue, a meter of its own read on a work order that
+ * works on it, the invoice printing none of it until its design asks, and the
+ * crane moved to another truck, taking its history along and leaving a line
+ * in the first truck's history.
+ */
+
+test.describe.configure({ mode: 'serial' })
+
+const stamp = Date.now()
+const CRANE = `E2E crane ${stamp}`
+const TAIL_LIFT = `E2E tail lift ${stamp}`
+const HOURS = `E2E crane hours ${stamp}`
+const SERIAL = `SN-${stamp}`
+let vehicleUrl = ''
+let otherVehicleUrl = ''
+let jobUrl = ''
+
+async function withDb<T>(fn: (db: Client) => Promise<T>): Promise<T> {
+  const url = process.env.E2E_DATABASE_URL
+  if (!url) throw new Error('E2E_DATABASE_URL is not set. See e2e/README.md.')
+  const db = new Client({ connectionString: url })
+  await db.connect()
+  try {
+    return await fn(db)
+  } finally {
+    await db.end()
+  }
+}
+
+/** Every type, item and meter this spec made (items before their types, which refuse to go first). */
+async function leaveNoTrace(): Promise<void> {
+  const organizationId = await ownerOrganizationId()
+  await withDb(async (db) => {
+    await db.query(
+      `delete from equipment_items where "organizationId" = $1 and "typeId" in
+        (select id from equipment_types where "organizationId" = $1 and name like 'E2E %')`,
+      [organizationId]
+    )
+    await db.query(
+      `delete from equipment_types where "organizationId" = $1 and name like 'E2E %'`,
+      [organizationId]
+    )
+    await db.query(
+      `delete from meter_types where "organizationId" = $1 and name like 'E2E crane hours %'`,
+      [organizationId]
+    )
+  })
+}
+
+function equipment(page: Page) {
+  return page.getByTestId('vehicle-equipment')
+}
+
+async function invoiceText(page: Page): Promise<string> {
+  const id = jobUrl.split('/').pop()
+  const response = await page.request.get(`/api/protected/services/${id}/pdf`, { timeout: 60_000 })
+  expect(response.status()).toBe(200)
+  return (await pdfContent(await response.body())).flat
+}
+
+test.beforeAll(async ({ browser }) => {
+  await leaveNoTrace()
+  const page = await browser.newPage({ storageState: 'e2e/.auth/owner.json' })
+  otherVehicleUrl = await seededVehicleUrl(page, 'Mixer')
+  vehicleUrl = await seededVehicleUrl(page)
+  jobUrl = await newWorkOrder(page, vehicleUrl, `E2E equipment ${stamp}`)
+  await addLabor(page, { description: 'Service the crane', hours: 1, rate: 100 })
+  await saveWorkOrder(page)
+  await page.close()
+})
+
+test.afterAll(async () => {
+  await leaveNoTrace()
+})
+
+test.describe('equipment', () => {
+  test('a workshop with no kind of equipment has nothing about it', async ({ page }) => {
+    await page.goto(vehicleUrl)
+    await settle(page)
+    await expect(equipment(page)).toHaveCount(0)
+    await page.goto(jobUrl)
+    await expect(page.getByTestId('job-facts')).toBeVisible()
+    await expect(page.getByTestId('work-on')).toHaveCount(0)
+  })
+
+  test('kinds of equipment are defined and put in order in Settings, Custom Fields', async ({
+    page,
+  }) => {
+    await openCustomFieldsTab(page)
+    const manager = page.getByTestId('equipment-types-manager')
+    for (const name of [CRANE, TAIL_LIFT]) {
+      await manager.locator('#equipment-type-name').fill(name)
+      await manager.getByRole('button', { name: 'Add type' }).click()
+      await expect(manager.getByText(name, { exact: true })).toBeVisible({ timeout: 30_000 })
+    }
+    // The tail lift first: every list and document follows this order.
+    await manager.getByRole('button', { name: `Move ${TAIL_LIFT} up` }).click()
+    await expect(manager.locator('li').filter({ hasText: 'E2E ' }).first()).toContainText(
+      TAIL_LIFT,
+      { timeout: 30_000 }
+    )
+    await page.reload()
+    await expect(
+      page.getByTestId('equipment-types-manager').locator('li').filter({ hasText: 'E2E ' }).first()
+    ).toContainText(TAIL_LIFT)
+
+    // A meter for the crane to have.
+    await addMeter(page, { name: HOURS, unit: 'hrs' })
+  })
+
+  test('a crane is added with its year of manufacture and an overdue examination', async ({
+    page,
+  }) => {
+    await page.goto(vehicleUrl)
+    await settle(page)
+    await expect(async () => {
+      await equipment(page).getByRole('button', { name: 'Add equipment' }).click()
+      await expect(page.getByTestId('equipment-dialog')).toBeVisible({ timeout: 3_000 })
+    }).toPass({ timeout: 30_000 })
+    const dialog = page.getByTestId('equipment-dialog')
+    await dialog.locator('#equipment-type').click()
+    await page.getByRole('option', { name: CRANE, exact: true }).click()
+    await dialog.locator('#equipment-make').fill('HIAB')
+    await dialog.locator('#equipment-model').fill('X-HiPro 192')
+    await dialog.locator('#equipment-serial').fill(SERIAL)
+    // The year alone, as the plate gives it.
+    await dialog.locator('#equipment-manufacture').fill('2019')
+    await dialog.locator('#equipment-next-examination').fill('2020-01-15')
+    await dialog.locator('#equipment-next-examination').press('Tab')
+    await dialog.getByRole('button', { name: 'Save' }).click()
+    await expect(dialog).toBeHidden({ timeout: 30_000 })
+
+    const row = equipment(page).locator('li', { hasText: CRANE })
+    await expect(row).toContainText(`S/N ${SERIAL}`, { timeout: 30_000 })
+    await expect(row.getByTestId('equipment-examination')).toContainText('overdue')
+
+    // Its own meter, from its details.
+    await row.getByRole('button', { name: /Show details/ }).click()
+    const itemMeters = row.getByTestId('equipment-meters')
+    await itemMeters.getByRole('button', { name: 'Add meter' }).click()
+    const add = page.getByRole('dialog')
+    await add.getByRole('radio', { name: HOURS, exact: true }).click()
+    await add.locator('#meter-first-reading').fill('812,5')
+    await add.getByRole('button', { name: 'Add meter' }).click()
+    await expect(add).toBeHidden({ timeout: 30_000 })
+    await expect(itemMeters.getByText('812.5 hrs')).toBeVisible({ timeout: 30_000 })
+  })
+
+  test('the work order works on it, and reads its meter on its own', async ({ page }) => {
+    await page.goto(jobUrl)
+    const workOn = page.getByTestId('work-on')
+    await expect(workOn).toBeVisible({ timeout: 30_000 })
+    await workOn.getByRole('combobox').click()
+    await page.getByRole('option', { name: new RegExp(CRANE) }).click()
+    await page.keyboard.press('Escape')
+    await expect(workOn).toContainText(CRANE, { timeout: 30_000 })
+
+    // The job now reads the crane's meter, named with the crane.
+    const box = page.getByTestId('job-meters').getByLabel(new RegExp(HOURS))
+    await expect(box).toBeVisible({ timeout: 30_000 })
+    await box.fill('820')
+    await box.press('Enter')
+    await expect(page.getByTestId('job-meter-saved')).toBeVisible({ timeout: 30_000 })
+    await expect(async () => {
+      await page.reload()
+      await expect(page.getByTestId('work-on')).toContainText(CRANE, { timeout: 5_000 })
+      await expect(page.getByTestId('job-meters').getByLabel(new RegExp(HOURS))).toHaveValue(
+        '820',
+        { timeout: 5_000 }
+      )
+    }).toPass({ timeout: 30_000 })
+    await expect(page.getByText('Unsaved changes')).toHaveCount(0)
+  })
+
+  test('the invoice prints none of it until its design asks', async ({ page }) => {
+    const text = await invoiceText(page)
+    expect(text).not.toContain(SERIAL)
+    expect(text).not.toContain(CRANE)
+  })
+
+  test('moved to another truck, it takes its history and leaves a line behind', async ({
+    page,
+  }) => {
+    await page.goto(vehicleUrl)
+    await settle(page)
+    const row = equipment(page).locator('li', { hasText: CRANE })
+    await row.getByRole('button', { name: /^More for/ }).click()
+    await page.getByRole('menuitem', { name: 'Move to another vehicle' }).click()
+    const dialog = page.getByRole('dialog')
+    await dialog.getByRole('combobox').click()
+    await page.keyboard.type('Mixer')
+    await page.getByRole('option', { name: /Mixer/ }).first().click()
+    await dialog.getByRole('button', { name: 'Move', exact: true }).click()
+    await expect(dialog).toBeHidden({ timeout: 30_000 })
+
+    await expect(equipment(page).locator('li', { hasText: CRANE })).toHaveCount(0, {
+      timeout: 30_000,
+    })
+    await equipment(page)
+      .getByRole('button', { name: /Earlier equipment/ })
+      .click()
+    await expect(equipment(page).getByTestId('equipment-history')).toContainText(/Moved to/)
+
+    await page.goto(otherVehicleUrl)
+    await settle(page)
+    const moved = equipment(page).locator('li', { hasText: CRANE })
+    await expect(moved).toBeVisible({ timeout: 30_000 })
+    // Its meter went with it, with every reading, the one taken on the job too.
+    await moved.getByRole('button', { name: /Show details/ }).click()
+    const meter = moved.getByTestId('equipment-meters')
+    await expect(meter).toContainText(HOURS)
+    await meter.getByRole('button', { name: /more/ }).click()
+    await page.getByRole('menuitem', { name: 'History' }).click()
+    const history = page.getByTestId('meter-history')
+    await expect(history).toContainText('820')
+    await expect(history).toContainText('812.5')
+  })
+})

+ 187 - 0
e2e/specs/vehicles/fleet-number-custom-fields.spec.ts

@@ -0,0 +1,187 @@
+import { expect, type Page, test } from '@playwright/test'
+import { Client } from 'pg'
+import { ownerOrganizationId } from '../../support/db'
+import { settle } from '../../support/hydration'
+import { openCustomFieldsTab, setReadyMadeField } from '../../support/settings'
+import { seededVehicleUrl } from '../../support/work-order'
+
+/**
+ * The vehicle's fleet / unit number and the workshop's own fields on a
+ * vehicle, with every piece assembled.
+ *
+ * Both are opt-in, so the first thing held here is the opt-out: a workshop
+ * that asked for neither has no box for either in the vehicle dialog. Then
+ * what only breaks once the form, the action, the column and the page are
+ * wired together: the number typed in the dialog is on the vehicle after a
+ * reload and finds it in the list; a required field of the workshop's own
+ * left empty stops the save and says which, under the field and in the
+ * message, with the cursor in it; filled in, it is saved and read out on the
+ * vehicle. Switched off again, the number is hidden and kept.
+ */
+
+test.describe.configure({ mode: 'serial' })
+
+const stamp = Date.now()
+const FLEET_NUMBER = `T-${String(stamp).slice(-6)}`
+const FIELD_LABEL = `E2E depot ${stamp}`
+const FIELD_NAME = `e2e_depot_${stamp}`
+const SETTING = 'vehicle.fleetNumberEnabled'
+
+let vehicleUrl = ''
+let vehicleId = ''
+
+async function withDb<T>(fn: (db: Client) => Promise<T>): Promise<T> {
+  const url = process.env.E2E_DATABASE_URL
+  if (!url) throw new Error('E2E_DATABASE_URL is not set. See e2e/README.md.')
+  const db = new Client({ connectionString: url })
+  await db.connect()
+  try {
+    return await fn(db)
+  } finally {
+    await db.end()
+  }
+}
+
+/** Leaves the workshop as the rest of the suite expects it: switch off, no field, no number. */
+async function leaveNoTrace(): Promise<void> {
+  const organizationId = await ownerOrganizationId()
+  await withDb(async (db) => {
+    await db.query(`delete from app_settings where "organizationId" = $1 and key = $2`, [
+      organizationId,
+      SETTING,
+    ])
+    // Its values go with it by cascade.
+    await db.query(
+      `delete from custom_field_definitions where "organizationId" = $1 and name like 'e2e_depot_%'`,
+      [organizationId]
+    )
+    if (vehicleId) {
+      await db.query(`update vehicles set "fleetNumber" = null where id = $1`, [vehicleId])
+    }
+  })
+}
+
+/** A required text field on vehicles, as Settings, Custom Fields would make it. */
+async function defineRequiredVehicleField(): Promise<void> {
+  const organizationId = await ownerOrganizationId()
+  await withDb(async (db) => {
+    await db.query(
+      `insert into custom_field_definitions
+         (id, name, label, "fieldType", required, "entityType", "sortOrder", "isActive",
+          "createdAt", "updatedAt", "userId", "organizationId")
+       select $1, $2, $3, 'text', true, 'vehicle', 0, true, now(), now(), m."userId", $4
+       from organization_members m where m."organizationId" = $4 limit 1`,
+      [`e2e${stamp}`, FIELD_NAME, FIELD_LABEL, organizationId]
+    )
+  })
+}
+
+async function openEditDialog(page: Page) {
+  await page.goto(vehicleUrl)
+  await settle(page)
+  const dialog = page.getByRole('dialog').filter({ hasText: 'Edit Vehicle' })
+  await expect(async () => {
+    await page.getByRole('button', { name: 'Edit Vehicle' }).first().click()
+    await expect(dialog).toBeVisible({ timeout: 3_000 })
+  }).toPass({ timeout: 30_000 })
+  return dialog
+}
+
+test.beforeAll(async ({ browser }) => {
+  const page = await browser.newPage({ storageState: 'e2e/.auth/owner.json' })
+  vehicleUrl = await seededVehicleUrl(page)
+  vehicleId = new URL(vehicleUrl).pathname.split('/').pop() ?? ''
+  await page.close()
+  await leaveNoTrace()
+})
+
+test.afterAll(async () => {
+  await leaveNoTrace()
+})
+
+test.describe('the fleet number and a vehicle’s own fields', () => {
+  test('a workshop that asked for neither has no box for either', async ({ page }) => {
+    const dialog = await openEditDialog(page)
+    await expect(dialog.locator('#fleetNumber')).toHaveCount(0)
+    await expect(dialog.getByText('Fleet / unit number')).toHaveCount(0)
+    await expect(dialog.getByTestId('custom-fields-vehicle')).toHaveCount(0)
+  })
+
+  test('the fleet number is switched on in Settings, Invoice & Quotes, Custom Fields', async ({
+    page,
+  }) => {
+    await openCustomFieldsTab(page)
+    await expect(page.locator('#fleetNumberEnabled')).toHaveAttribute('aria-checked', 'false')
+    await setReadyMadeField(page, 'fleetNumberEnabled', true)
+
+    await page.reload()
+    await expect(page.locator('#fleetNumberEnabled')).toHaveAttribute('aria-checked', 'true')
+  })
+
+  test('a number typed in the vehicle dialog is on the vehicle after a reload', async ({
+    page,
+  }) => {
+    const dialog = await openEditDialog(page)
+    await dialog.locator('#fleetNumber').fill(FLEET_NUMBER)
+    await dialog.getByRole('button', { name: 'Save Changes' }).click()
+    await expect(dialog).toBeHidden({ timeout: 30_000 })
+
+    await page.reload()
+    await expect(page.getByText(FLEET_NUMBER).filter({ visible: true }).first()).toBeVisible()
+    // And the dialog opens on it again: the read that feeds the form has it.
+    const again = await openEditDialog(page)
+    await expect(again.locator('#fleetNumber')).toHaveValue(FLEET_NUMBER)
+  })
+
+  test('the vehicles list finds the vehicle by its fleet number', async ({ page }) => {
+    await page.goto(`/vehicles?search=${encodeURIComponent(FLEET_NUMBER)}`)
+    // Lists keep a hidden copy for the other width: the one on screen is asked for.
+    await expect(page.getByText(FLEET_NUMBER).filter({ visible: true }).first()).toBeVisible()
+    await expect(page.getByText(/Camry/).filter({ visible: true }).first()).toBeVisible()
+  })
+
+  test('a required field of the workshop’s own stops the save and says which', async ({ page }) => {
+    await defineRequiredVehicleField()
+    const dialog = await openEditDialog(page)
+    const fields = dialog.getByTestId('custom-fields-vehicle')
+    await expect(fields).toBeVisible({ timeout: 30_000 })
+    const box = fields.getByLabel(FIELD_LABEL)
+    await expect(box).toHaveValue('')
+
+    await dialog.getByRole('button', { name: 'Save Changes' }).click()
+
+    await expect(fields.getByRole('alert')).toHaveText(`${FIELD_LABEL} is required`)
+    await expect(
+      page.locator('[data-sonner-toast]').filter({ hasText: `Not saved. Fill in: ${FIELD_LABEL}` })
+    ).toBeVisible()
+    await expect(box).toBeFocused()
+    await expect(dialog).toBeVisible()
+
+    await box.fill('North yard')
+    await dialog.getByRole('button', { name: 'Save Changes' }).click()
+    await expect(dialog).toBeHidden({ timeout: 30_000 })
+
+    await page.reload()
+    await expect(page.getByText(FIELD_LABEL).filter({ visible: true }).first()).toBeVisible()
+    await expect(page.getByText('North yard').filter({ visible: true }).first()).toBeVisible()
+  })
+
+  test('switched off again, the number is hidden and kept', async ({ page }) => {
+    const organizationId = await ownerOrganizationId()
+    await withDb((db) =>
+      db.query(`delete from app_settings where "organizationId" = $1 and key = $2`, [
+        organizationId,
+        SETTING,
+      ])
+    )
+    await page.goto(vehicleUrl)
+    await settle(page)
+    await expect(page.getByText(FLEET_NUMBER)).toHaveCount(0)
+    const kept = await withDb((db) =>
+      db.query<{ fleetNumber: string | null }>(`select "fleetNumber" from vehicles where id = $1`, [
+        vehicleId,
+      ])
+    )
+    expect(kept.rows[0]?.fleetNumber).toBe(FLEET_NUMBER)
+  })
+})

+ 221 - 0
e2e/specs/vehicles/meters.spec.ts

@@ -0,0 +1,221 @@
+import { expect, type Page, test } from '@playwright/test'
+import { Client } from 'pg'
+import { ownerOrganizationId } from '../../support/db'
+import { settle } from '../../support/hydration'
+import { addMeter, openCustomFieldsTab, setMeterRequired } from '../../support/settings'
+import { pdfContent } from '../../support/pdf'
+import { addLabor, newWorkOrder, saveWorkOrder, seededVehicleUrl } from '../../support/work-order'
+
+/**
+ * Meters besides the odometer, with every piece assembled.
+ *
+ * First the opt-out: a workshop that has defined no meter has nothing about
+ * meters on the vehicle or the work order. Then the flow a heavy-vehicle
+ * workshop runs: a meter defined in Settings, fitted to a vehicle with a
+ * first reading in decimals, a lower reading saved with a notice, marked as
+ * wrong from the history and no longer counted, a reading taken on a work
+ * order that saves on its own and is there after a reload, and the invoice
+ * printing it only once the design asks for it. Last, the meter made
+ * required in Settings: a job on the vehicle saves and moves along without
+ * its reading, is not completed until the reading is typed, and says which
+ * meter it waits for.
+ */
+
+test.describe.configure({ mode: 'serial' })
+
+const stamp = Date.now()
+const METER = `E2E engine hours ${stamp}`
+let vehicleUrl = ''
+let jobUrl = ''
+
+async function withDb<T>(fn: (db: Client) => Promise<T>): Promise<T> {
+  const url = process.env.E2E_DATABASE_URL
+  if (!url) throw new Error('E2E_DATABASE_URL is not set. See e2e/README.md.')
+  const db = new Client({ connectionString: url })
+  await db.connect()
+  try {
+    return await fn(db)
+  } finally {
+    await db.end()
+  }
+}
+
+/** Every meter this spec made, with each vehicle's meter and readings (they cascade). */
+async function leaveNoTrace(): Promise<void> {
+  const organizationId = await ownerOrganizationId()
+  await withDb((db) =>
+    db.query(
+      `delete from meter_types where "organizationId" = $1 and name like 'E2E engine hours %'`,
+      [organizationId]
+    )
+  )
+}
+
+function meters(page: Page) {
+  return page.getByTestId('vehicle-meters')
+}
+
+async function invoiceText(page: Page): Promise<string> {
+  const id = jobUrl.split('/').pop()
+  const response = await page.request.get(`/api/protected/services/${id}/pdf`, { timeout: 60_000 })
+  expect(response.status()).toBe(200)
+  return (await pdfContent(await response.body())).flat
+}
+
+test.beforeAll(async ({ browser }) => {
+  await leaveNoTrace()
+  const page = await browser.newPage({ storageState: 'e2e/.auth/owner.json' })
+  vehicleUrl = await seededVehicleUrl(page)
+  jobUrl = await newWorkOrder(page, vehicleUrl, `E2E meters ${stamp}`)
+  await addLabor(page, { description: 'Service', hours: 1, rate: 100 })
+  await saveWorkOrder(page)
+  await page.close()
+})
+
+test.afterAll(async () => {
+  await leaveNoTrace()
+})
+
+test.describe('meters', () => {
+  test('a workshop with no meter has nothing about meters', async ({ page }) => {
+    await page.goto(vehicleUrl)
+    await settle(page)
+    await expect(meters(page)).toHaveCount(0)
+    await page.goto(jobUrl)
+    await expect(page.getByTestId('job-facts')).toBeVisible()
+    await expect(page.getByTestId('job-meters')).toHaveCount(0)
+  })
+
+  test('a meter is defined in Settings, Custom Fields', async ({ page }) => {
+    await openCustomFieldsTab(page)
+    await expect(page.getByTestId('meters-manager')).toBeVisible()
+    await addMeter(page, { name: METER, unit: 'hrs' })
+    // Not required until somebody says so.
+    await expect(
+      page.getByTestId('meters-manager').getByText('Required', { exact: true })
+    ).toHaveCount(0)
+  })
+
+  test('is fitted to a vehicle with a first reading in decimals', async ({ page }) => {
+    await page.goto(vehicleUrl)
+    await settle(page)
+    await expect(async () => {
+      await meters(page).getByRole('button', { name: 'Add meter' }).click()
+      await expect(page.getByRole('dialog')).toBeVisible({ timeout: 3_000 })
+    }).toPass({ timeout: 30_000 })
+    const dialog = page.getByRole('dialog')
+    await dialog.getByRole('radio', { name: METER, exact: true }).click()
+    await dialog.locator('#meter-first-reading').fill('4256,7')
+    await dialog.getByRole('button', { name: 'Add meter' }).click()
+    await expect(dialog).toBeHidden({ timeout: 30_000 })
+    await expect(meters(page).getByText('4,256.7 hrs')).toBeVisible({ timeout: 30_000 })
+  })
+
+  test('a lower reading is saved with a notice, then marked as wrong and no longer counts', async ({
+    page,
+  }) => {
+    await page.goto(vehicleUrl)
+    await settle(page)
+    const row = meters(page).locator('li', { hasText: METER })
+    await row.getByRole('button', { name: /more/ }).click()
+    await page.getByRole('menuitem', { name: 'Add reading' }).click()
+    const dialog = page.getByRole('dialog')
+    await dialog.locator('#meter-reading').fill('4200')
+    await expect(dialog.locator('#meter-reading-lower')).toContainText('4,256.7')
+    await dialog.getByRole('button', { name: 'Save reading' }).click()
+    await expect(dialog).toBeHidden({ timeout: 30_000 })
+    await expect(row.getByText('4,200 hrs')).toBeVisible({ timeout: 30_000 })
+
+    await row.getByRole('button', { name: /more/ }).click()
+    await page.getByRole('menuitem', { name: 'History' }).click()
+    const history = page.getByRole('dialog')
+    await history
+      .locator('li', { hasText: '4,200' })
+      .getByRole('button', { name: 'Mark as wrong' })
+      .click()
+    await expect(history.getByText('Wrong', { exact: true })).toBeVisible({ timeout: 30_000 })
+    await page.keyboard.press('Escape')
+    await page.reload()
+    await expect(
+      meters(page).locator('li', { hasText: METER }).getByText('4,256.7 hrs')
+    ).toBeVisible({
+      timeout: 30_000,
+    })
+  })
+
+  test('a reading taken on the work order saves on its own and stays', async ({ page }) => {
+    await page.goto(jobUrl)
+    const box = page.getByTestId('job-meters').getByLabel(METER)
+    await expect(box).toBeVisible({ timeout: 30_000 })
+    await box.fill('4290.5')
+    // It saves as it loses focus, and shows a mark once it has.
+    await box.press('Enter')
+    await expect(page.getByTestId('job-meter-saved')).toBeVisible({ timeout: 30_000 })
+    await expect(async () => {
+      await page.reload()
+      await expect(page.getByTestId('job-meters').getByLabel(METER)).toHaveValue('4290.5', {
+        timeout: 5_000,
+      })
+    }).toPass({ timeout: 30_000 })
+    // Its own save: the page's form has nothing unsaved.
+    await expect(page.getByText('Unsaved changes')).toHaveCount(0)
+  })
+
+  test('the invoice prints the reading without a visit to the designer', async ({ page }) => {
+    // A workshop that defined a meter wants it on its paper: the line is on
+    // in every design until one switches it off.
+    expect(await invoiceText(page)).toContain(METER)
+  })
+
+  test('a meter made required in Settings says so in the list', async ({ page }) => {
+    await openCustomFieldsTab(page)
+    await setMeterRequired(page, METER, true)
+    await expect(
+      page.getByTestId('meters-manager').locator('[data-testid^="meter-type-"]', { hasText: METER })
+    ).toContainText('Required', { timeout: 30_000 })
+  })
+
+  test('a job is saved and moved along without the reading, and not completed until it is typed', async ({
+    page,
+  }) => {
+    const url = await newWorkOrder(page, vehicleUrl, `E2E required meter ${stamp}`)
+    await addLabor(page, { description: 'Service', hours: 1, rate: 100 })
+    await saveWorkOrder(page)
+    const box = page.getByTestId('job-meters').getByRole('textbox', { name: new RegExp(METER) })
+    await expect(box).toHaveAttribute('aria-required', 'true')
+    await setStage(page, 'In Progress')
+
+    // Completing it is refused, naming the meter, and the box is marked.
+    await expect(async () => {
+      await stage(page, 'Completed').click()
+      await expect(page.getByText(`Not completed. Fill in: ${METER}`)).toBeVisible({
+        timeout: 3_000,
+      })
+    }).toPass({ timeout: 30_000 })
+    await expect(box).toHaveAttribute('aria-invalid', 'true')
+    await expect(box).toBeFocused()
+    await expect(stage(page, 'In Progress')).toHaveAttribute('aria-current', 'step')
+
+    // Typed where the message was read, it completes.
+    await box.fill('4310')
+    await box.press('Enter')
+    await expect(page.getByTestId('job-meter-saved')).toBeVisible({ timeout: 30_000 })
+    await setStage(page, 'Completed')
+    await page.goto(url)
+    await settle(page)
+    await expect(stage(page, 'Completed')).toHaveAttribute('aria-current', 'step')
+  })
+})
+
+/** The status stepper in the page header: one button per stage. */
+function stage(page: Page, name: string) {
+  return page.getByTestId('status-stepper').getByRole('button', { name: new RegExp(name) })
+}
+
+/** Moves the job to a stage. A click before hydration does nothing, so it is repeated. */
+async function setStage(page: Page, name: string): Promise<void> {
+  await expect(async () => {
+    await stage(page, name).click()
+    await expect(stage(page, name)).toHaveAttribute('aria-current', 'step', { timeout: 2_000 })
+  }).toPass({ timeout: 30_000 })
+}

+ 373 - 0
e2e/specs/work-orders/reference-po.spec.ts

@@ -0,0 +1,373 @@
+import { expect, type Page, test } from '@playwright/test'
+import { Client } from 'pg'
+import {
+  type InvoiceDesignState,
+  invoiceDesignState,
+  ownerOrganizationId,
+  restoreInvoiceDesignState,
+} from '../../support/db'
+import { settle } from '../../support/hydration'
+import { type PdfContent, pdfContent } from '../../support/pdf'
+import { openCustomFieldsTab, setReadyMadeField } from '../../support/settings'
+import {
+  addLabor,
+  newWorkOrder,
+  saveWorkOrder,
+  seededVehicleUrl,
+  shareLink,
+} from '../../support/work-order'
+
+/**
+ * The customer's reference / PO, from the switch to the paper.
+ *
+ * An opt-in field, so the first thing held here is the opt-out: a workshop
+ * that has not switched it on has no box for it, and a design made before it
+ * existed prints the same invoice with a reference on the job as without.
+ * Then the flow a fleet workshop runs every day: the customer is marked "PO
+ * required", the invoice is held while the job has no reference and says
+ * why, the reference is typed in, the invoice goes out, and the number is on
+ * the sheet once the design asks for it. Last, the part that only shows with
+ * every piece assembled: a reference typed after the invoice was issued is on
+ * the issued invoice at once.
+ */
+
+test.describe.configure({ mode: 'serial' })
+
+const stamp = Date.now()
+const REFERENCE = `PO-${stamp}`
+const LATE_REFERENCE = `PO-LATE-${stamp}`
+const DESIGN_NAME = `E2E reference design ${stamp}`
+const SETTING = 'documents.customerReferenceEnabled'
+const HELD = /needs a reference or PO number on their invoices/
+
+let jobUrl = ''
+let customerId = ''
+let restoreTo: InvoiceDesignState
+let withoutField: PdfContent
+
+async function withDb<T>(fn: (db: Client) => Promise<T>): Promise<T> {
+  const url = process.env.E2E_DATABASE_URL
+  if (!url) throw new Error('E2E_DATABASE_URL is not set. See e2e/README.md.')
+  const db = new Client({ connectionString: url })
+  await db.connect()
+  try {
+    return await fn(db)
+  } finally {
+    await db.end()
+  }
+}
+
+/** The customer the job's vehicle belongs to, whose invoices will need a PO. */
+async function customerOfJob(jobId: string): Promise<string> {
+  return withDb(async (db) => {
+    const result = await db.query<{ customerId: string }>(
+      `select v."customerId" from service_records s join vehicles v on v.id = s."vehicleId" where s.id = $1`,
+      [jobId]
+    )
+    const id = result.rows[0]?.customerId
+    if (!id) throw new Error('the seeded vehicle has no customer')
+    return id
+  })
+}
+
+/** Leaves the workshop as the rest of the suite expects it: field off, nobody needing a PO. */
+async function switchEverythingOff(): Promise<void> {
+  const organizationId = await ownerOrganizationId()
+  await withDb(async (db) => {
+    await db.query(`delete from app_settings where "organizationId" = $1 and key = $2`, [
+      organizationId,
+      SETTING,
+    ])
+    await db.query(`update customers set "poRequired" = false where "organizationId" = $1`, [
+      organizationId,
+    ])
+  })
+}
+
+function referenceField(page: Page) {
+  return page.locator('#customerReference')
+}
+
+async function invoicePdf(page: Page): Promise<PdfContent> {
+  const id = jobUrl.split('/').pop()
+  const response = await page.request.get(`/api/protected/services/${id}/pdf`, { timeout: 60_000 })
+  expect(response.status()).toBe(200)
+  return pdfContent(await response.body())
+}
+
+/** Types the reference and waits until the row has it: the box saves on its own. */
+async function typeReference(page: Page, value: string): Promise<void> {
+  await referenceField(page).fill(value)
+  await referenceField(page).blur()
+  await expect(async () => {
+    await page.reload()
+    await expect(referenceField(page)).toHaveValue(value, { timeout: 5_000 })
+  }).toPass({ timeout: 30_000 })
+}
+
+async function openDesigner(page: Page) {
+  await page.goto('/invoice-designer')
+  const carryOn = page.getByRole('button', { name: /continue with my current layout/i })
+  const gallery = await carryOn
+    .waitFor({ state: 'visible', timeout: 10_000 })
+    .then(() => true)
+    .catch(() => false)
+  if (gallery) await carryOn.click()
+  await expect(page.getByTestId('rail-header')).toBeVisible({ timeout: 30_000 })
+  await settle(page)
+}
+
+async function selectCustomerBlock(page: Page) {
+  await expect(async () => {
+    await page.getByTestId('rail-customer').click()
+    await expect(page.getByText('Section settings', { exact: true })).toBeVisible({
+      timeout: 2_000,
+    })
+  }).toPass({ timeout: 30_000 })
+}
+
+async function saveDesign(page: Page) {
+  const button = page.getByRole('button', { name: /save design/i }).first()
+  await expect(button, 'the designer has something to save').toBeVisible({ timeout: 30_000 })
+  const dialog = page.getByRole('dialog').filter({ hasText: 'Save this design' })
+  const toast = page.locator('[data-sonner-toast]').filter({ hasText: 'Saved' }).first()
+  await expect(async () => {
+    await button.click()
+    await expect(dialog.or(toast).first()).toBeVisible({ timeout: 3_000 })
+  }).toPass({ timeout: 30_000 })
+  if (await dialog.isVisible().catch(() => false)) {
+    await dialog.getByPlaceholder('Design name').fill(DESIGN_NAME)
+    await dialog.getByRole('button', { name: /^(save|update) design$/i }).click()
+  }
+  await expect(toast).toBeVisible({ timeout: 30_000 })
+}
+
+test.beforeAll(async ({ browser }) => {
+  restoreTo = await invoiceDesignState()
+  await switchEverythingOff()
+
+  const page = await browser.newPage({ storageState: 'e2e/.auth/owner.json' })
+  const vehicleUrl = await seededVehicleUrl(page)
+  jobUrl = await newWorkOrder(page, vehicleUrl, `E2E reference ${stamp}`)
+  await addLabor(page, { description: 'Inspect and report', hours: 1, rate: 100 })
+  await saveWorkOrder(page)
+  customerId = await customerOfJob(jobUrl.split('/').pop() ?? '')
+  await page.close()
+})
+
+test.afterAll(async () => {
+  await switchEverythingOff()
+  await restoreInvoiceDesignState(restoreTo)
+})
+
+test.describe('the customer reference / PO', () => {
+  test('a workshop that has not switched it on sees no trace of it', async ({ page }) => {
+    await page.goto(jobUrl)
+    await expect(page.getByTestId('job-facts')).toBeVisible()
+    await expect(referenceField(page)).toHaveCount(0)
+    await expect(page.getByText('Reference / PO')).toHaveCount(0)
+
+    await page.goto(`/customers/${customerId}`)
+    await page.getByRole('button', { name: 'Edit Customer' }).first().click()
+    const dialog = page.getByRole('dialog', { name: 'Edit Customer' })
+    await expect(dialog).toBeVisible()
+    await expect(dialog.getByText('PO required')).toHaveCount(0)
+  })
+
+  test('is switched on in Settings, Invoice & Quotes, Custom Fields', async ({ page }) => {
+    await openCustomFieldsTab(page)
+    await expect(page.locator('#customerReferenceEnabled')).toHaveAttribute('aria-checked', 'false')
+    await setReadyMadeField(page, 'customerReferenceEnabled', true)
+
+    await page.reload()
+    await expect(page.locator('#customerReferenceEnabled')).toHaveAttribute('aria-checked', 'true')
+  })
+
+  test('the work order gets the field, and asks for nothing yet', async ({ page }) => {
+    await page.goto(jobUrl)
+    await expect(referenceField(page)).toBeVisible()
+    await expect(referenceField(page)).toHaveValue('')
+    // Nobody has said this customer needs one.
+    await expect(page.getByTestId('customer-reference-required')).toHaveCount(0)
+  })
+
+  test('a customer is marked as PO required', async ({ page }) => {
+    await page.goto(`/customers/${customerId}`)
+    await settle(page)
+    await page.getByRole('button', { name: 'Edit Customer' }).first().click()
+    const dialog = page.getByRole('dialog', { name: 'Edit Customer' })
+    const toggle = dialog.locator('#poRequired')
+    await expect(toggle).toHaveAttribute('aria-checked', 'false')
+    await toggle.click()
+    await expect(toggle).toHaveAttribute('aria-checked', 'true')
+    await dialog.getByRole('button', { name: 'Save Changes' }).click()
+    await expect(page.getByTestId('po-required-badge')).toBeVisible()
+
+    // Saved, not just shown: the form opens with it on.
+    await page.reload()
+    await page.getByRole('button', { name: 'Edit Customer' }).first().click()
+    await expect(
+      page.getByRole('dialog', { name: 'Edit Customer' }).locator('#poRequired')
+    ).toHaveAttribute('aria-checked', 'true')
+  })
+
+  test('the invoice is held, with the reason, while the job has no reference', async ({ page }) => {
+    await page.goto(jobUrl)
+    await settle(page)
+    await expect(page.getByTestId('customer-reference-required')).toBeVisible()
+
+    // Sharing is how an invoice goes out: refused, in words, and no dialog opens.
+    await page.getByRole('button', { name: 'Share', exact: true }).click()
+    await expect(page.locator('[data-sonner-toast]').filter({ hasText: HELD })).toBeVisible()
+    await expect(page.getByRole('dialog', { name: 'Share Invoice' })).toHaveCount(0)
+
+    // Nothing was issued and no link was made behind the refusal.
+    const { issued, shared } = await withDb(async (db) => {
+      const result = await db.query<{ issued: boolean; shared: boolean }>(
+        `select "issuedAt" is not null as issued, "publicToken" is not null as shared from service_records where id = $1`,
+        [jobUrl.split('/').pop()]
+      )
+      return result.rows[0]
+    })
+    expect(issued).toBe(false)
+    expect(shared).toBe(false)
+  })
+
+  test('working on the job is never held: it still saves without a reference', async ({ page }) => {
+    await page.goto(jobUrl)
+    await addLabor(page, { description: 'Second look', hours: 0.5, rate: 100 })
+    await saveWorkOrder(page)
+  })
+
+  test('typing the reference saves it on its own and lifts the hold', async ({ page }) => {
+    await page.goto(jobUrl)
+    await settle(page)
+    await typeReference(page, REFERENCE)
+    await expect(page.getByTestId('customer-reference-required')).toHaveCount(0)
+    // The box is not part of the work order's own save.
+    await expect(page.getByText('Unsaved changes')).toHaveCount(0)
+  })
+
+  test('the work order list finds the job by its reference', async ({ page }) => {
+    await page.goto(`/work-orders?search=${encodeURIComponent(REFERENCE)}`)
+    await expect(page.getByTestId('row-reference').filter({ visible: true }).first()).toHaveText(
+      REFERENCE
+    )
+  })
+
+  test('the invoice prints the reference without a visit to the designer', async ({ page }) => {
+    // Switching the field on is asking for it on the paper: the line is on in
+    // every design until one switches it off.
+    await page.goto(jobUrl)
+    const unasked = await invoicePdf(page)
+    expect(unasked.flat).toContain(`Your reference / PO: ${REFERENCE}`)
+  })
+
+  test('a design saved with the field off prints no reference', async ({ page }) => {
+    // Saved first, so the sheet measured here and the one after the switch
+    // come from the same designer layout. A workshop that never saved a design
+    // prints the classic letterhead, and its first save changes the header on
+    // its own ("Due:" becomes a "Due Date" cell): that is the designer, not
+    // this field, and it must not be what the comparison below measures.
+    // The field arrives switched on; switching it off is the change saved.
+    await openDesigner(page)
+    await selectCustomerBlock(page)
+    const toggle = page.getByTestId('field-customer_reference')
+    await expect(toggle).toHaveAttribute('aria-checked', 'true')
+    await expect(async () => {
+      await toggle.click()
+      await expect(toggle).toHaveAttribute('aria-checked', 'false', { timeout: 2_000 })
+    }).toPass({ timeout: 30_000 })
+    await saveDesign(page)
+    await page.goto(jobUrl)
+    withoutField = await invoicePdf(page)
+    expect(withoutField.pages).toBeGreaterThan(0)
+    expect(withoutField.flat, 'the reference is on the job, not on the sheet').not.toContain(
+      REFERENCE
+    )
+    expect(withoutField.flat).not.toContain('Your reference')
+  })
+
+  test('switched back on in the customer block, the sample sheet shows it', async ({ page }) => {
+    await openDesigner(page)
+    await selectCustomerBlock(page)
+    const toggle = page.getByTestId('field-customer_reference')
+    await expect(toggle).toHaveAttribute('aria-checked', 'false')
+    await expect(async () => {
+      await toggle.click()
+      await expect(toggle).toHaveAttribute('aria-checked', 'true', { timeout: 2_000 })
+    }).toPass({ timeout: 30_000 })
+    // The sample sheet shows what it will print.
+    await expect(
+      page
+        .getByText(/Your reference \/ PO: PO-48213/)
+        .filter({ visible: true })
+        .first()
+    ).toBeVisible()
+    await saveDesign(page)
+  })
+
+  test('the invoice then prints it, and nothing else on the sheet moves', async ({ page }) => {
+    await page.goto(jobUrl)
+    const withField = await invoicePdf(page)
+    expect(withField.flat).toContain(`Your reference / PO: ${REFERENCE}`)
+    // The same sheet with one line more: every word it said before is still there.
+    const added = withField.flat.replace(`Your reference / PO: ${REFERENCE}`, '')
+    for (const word of withoutField.flat.split(' ').filter((w) => w.length > 3)) {
+      expect(added, `the sheet still says "${word}"`).toContain(word)
+    }
+    expect(withField.pages).toBe(withoutField.pages)
+  })
+
+  test('with its reference the invoice goes out, and the customer reads it on the link', async ({
+    page,
+  }) => {
+    await page.goto(jobUrl)
+    await settle(page)
+    const url = await shareLink(page)
+    const [, orgId, token] = new URL(url).pathname.match(/\/share\/invoice\/([^/]+)\/([^/]+)/) ?? []
+    expect(token, 'the share link carries a token').toBeTruthy()
+
+    const response = await page.request.get(`/api/public/share/invoice/${orgId}/${token}/pdf`)
+    expect(response.status()).toBe(200)
+    const shared = await pdfContent(await response.body())
+    expect(shared.flat).toContain(`Your reference / PO: ${REFERENCE}`)
+  })
+
+  test('a reference typed after the invoice was issued is on the issued invoice at once', async ({
+    page,
+  }) => {
+    await page.goto(jobUrl)
+    await settle(page)
+    // Issued by the share above; the box is still there to type in.
+    await expect(referenceField(page)).toBeEnabled()
+    await typeReference(page, LATE_REFERENCE)
+
+    const reissued = await invoicePdf(page)
+    expect(reissued.flat).toContain(`Your reference / PO: ${LATE_REFERENCE}`)
+    expect(reissued.flat).not.toContain(REFERENCE)
+  })
+
+  test('switched off again, it is hidden everywhere and kept', async ({ page }) => {
+    await openCustomFieldsTab(page)
+    await setReadyMadeField(page, 'customerReferenceEnabled', false)
+
+    await page.goto(jobUrl)
+    await expect(page.getByTestId('job-facts')).toBeVisible()
+    await expect(referenceField(page)).toHaveCount(0)
+
+    // The design still has the field switched on; the value never reaches it.
+    const hidden = await invoicePdf(page)
+    expect(hidden.flat).not.toContain(LATE_REFERENCE)
+    expect(hidden.flat).not.toContain('Your reference')
+
+    const kept = await withDb(async (db) => {
+      const result = await db.query<{ customerReference: string | null }>(
+        `select "customerReference" from service_records where id = $1`,
+        [jobUrl.split('/').pop()]
+      )
+      return result.rows[0]?.customerReference
+    })
+    expect(kept).toBe(LATE_REFERENCE)
+  })
+})

+ 70 - 0
e2e/support/db.ts

@@ -103,6 +103,76 @@ export async function restoreInvoiceDesignState(state: InvoiceDesignState): Prom
   })
 }
 
+/**
+ * Every setting Settings > Tax saves (`setTax` in support/settings.ts goes
+ * through that page), by its key in SETTING_KEYS: the tax keys, the default
+ * rate, which is not named `workshop.tax…`, and whether invoice lines show
+ * prices with tax.
+ */
+const TAX_SETTING_KEYS = [
+  'workshop.taxEnabled',
+  'workshop.defaultTaxRate',
+  'workshop.taxInclusive',
+  'workshop.taxLabel',
+  'workshop.taxMode',
+  'workshop.taxComponents',
+  'workshop.taxSelective',
+  'workshop.taxAppliesToParts',
+  'workshop.taxAppliesToLabor',
+  'workshop.taxAppliesToShopFee',
+  'invoice.lineItemsInclTax',
+] as const
+
+/** The workshop's tax settings, for a spec that sets its own and must hand them back. */
+export interface TaxSettingsState {
+  organizationId: string
+  /** The rows as they were, whole: a key missing here had no row. */
+  settings: { id: string; key: string; value: string; userId: string }[]
+}
+
+export async function taxSettingsState(): Promise<TaxSettingsState> {
+  const organizationId = await ownerOrganizationId()
+  return withDb(async (db) => {
+    const settings = await db.query<{ id: string; key: string; value: string; userId: string }>(
+      `select id, key, value, "userId" from app_settings
+        where "organizationId" = $1 and key = any($2::text[])`,
+      [organizationId, [...TAX_SETTING_KEYS]]
+    )
+    return { organizationId, settings: settings.rows }
+  })
+}
+
+/**
+ * Puts the tax settings back exactly as `taxSettingsState` found them: a row
+ * the spec added is deleted, a row it changed gets its value back, and a row
+ * it deleted is put back as it was, id and owner included.
+ */
+export async function restoreTaxSettings(state: TaxSettingsState): Promise<void> {
+  const kept = state.settings.map((row) => row.key)
+  await withDb(async (db) => {
+    await db.query('begin')
+    try {
+      await db.query(
+        `delete from app_settings
+          where "organizationId" = $1 and key = any($2::text[]) and not (key = any($3::text[]))`,
+        [state.organizationId, [...TAX_SETTING_KEYS], kept]
+      )
+      for (const row of state.settings) {
+        await db.query(
+          `insert into app_settings (id, key, value, "userId", "organizationId")
+           values ($1, $2, $3, $4, $5)
+           on conflict ("organizationId", key) do update set value = excluded.value`,
+          [row.id, row.key, row.value, row.userId, state.organizationId]
+        )
+      }
+      await db.query('commit')
+    } catch (error) {
+      await db.query('rollback')
+      throw error
+    }
+  })
+}
+
 /**
  * Addresses of the seeded workshop's own records, for the tests that check a
  * different workshop cannot reach them. Read straight from the database

+ 76 - 0
e2e/support/settings.ts

@@ -300,3 +300,79 @@ export async function setWarrantyDefaults(page: Page, warranty: WarrantySetup):
   await page.getByRole('button', { name: 'Save warranty settings', exact: true }).click()
   await expect(page.getByText('Warranty settings saved', { exact: true })).toBeVisible()
 }
+
+/**
+ * Settings, Invoice & Quotes, Custom Fields, reached the way a person gets
+ * there: the sidebar, the settings menu, then the tab. Opening it by address
+ * would not notice a page the menu no longer leads to.
+ */
+export async function openCustomFieldsTab(page: Page): Promise<void> {
+  await page.goto('/')
+  await settle(page)
+  await page.getByRole('link', { name: 'Settings', exact: true }).first().click()
+  await page.waitForURL(/\/settings/)
+  await settle(page)
+  await page
+    .getByRole('link', { name: /^Invoice & Quotes/ })
+    .first()
+    .click()
+  await page.waitForURL(/\/settings\/invoice/)
+  await settle(page)
+  await page.getByRole('button', { name: 'Custom Fields', exact: true }).click()
+  await page.waitForURL(/tab=customFields/)
+  await expect(page.getByTestId('ready-made-fields')).toBeVisible()
+}
+
+/**
+ * One of the ready-made fields on that tab (`customerReferenceEnabled` or
+ * `fleetNumberEnabled`), switched and saved: the switch saves on its own.
+ */
+export async function setReadyMadeField(page: Page, id: string, on: boolean): Promise<void> {
+  const toggle = page.locator(`#${id}`)
+  await expect(toggle).toBeVisible()
+  if ((await toggle.getAttribute('aria-checked')) === String(on)) return
+  await expect(async () => {
+    if ((await toggle.getAttribute('aria-checked')) === String(on)) return
+    await toggle.click()
+    await expect(toggle).toHaveAttribute('aria-checked', String(on), { timeout: 2_000 })
+  }).toPass({ timeout: 30_000 })
+  await expect(page.getByText('Settings saved').first()).toBeVisible()
+}
+
+/**
+ * Settings, Custom Fields, Meters (the tab open): a meter added through its
+ * dialog, required on work orders when asked. The dialog is the one way in,
+ * for a typed meter and for a suggestion alike.
+ */
+export async function addMeter(
+  page: Page,
+  meter: { name: string; unit: string; required?: boolean }
+): Promise<void> {
+  const manager = page.getByTestId('meters-manager')
+  const dialog = page.getByRole('dialog')
+  await expect(async () => {
+    await manager.getByRole('button', { name: 'Add meter', exact: true }).click()
+    await expect(dialog).toBeVisible({ timeout: 3_000 })
+  }).toPass({ timeout: 30_000 })
+  await dialog.getByLabel('Name').fill(meter.name)
+  await dialog.getByLabel('Unit').fill(meter.unit)
+  if (meter.required) {
+    await setSwitch(dialog.getByRole('switch', { name: 'Required on work orders' }), true)
+  }
+  await dialog.getByRole('button', { name: 'Add meter' }).click()
+  await expect(dialog).toBeHidden({ timeout: 30_000 })
+  await expect(manager.getByText(meter.name, { exact: true })).toBeVisible({ timeout: 30_000 })
+}
+
+/** The same tab: an existing meter made required on work orders, or not, through its dialog. */
+export async function setMeterRequired(page: Page, name: string, on: boolean): Promise<void> {
+  const manager = page.getByTestId('meters-manager')
+  const dialog = page.getByRole('dialog')
+  await expect(async () => {
+    await manager.getByRole('button', { name: `Edit ${name}`, exact: true }).click()
+    await expect(dialog).toBeVisible({ timeout: 3_000 })
+  }).toPass({ timeout: 30_000 })
+  await setSwitch(dialog.getByRole('switch', { name: 'Required on work orders' }), on)
+  await dialog.getByRole('button', { name: 'Save' }).click()
+  await expect(dialog).toBeHidden({ timeout: 30_000 })
+}

+ 37 - 2
messages/bg/audit.json

@@ -212,7 +212,24 @@
     "integration_backup_run": "Стартирано архивиране",
     "integration_backup_restore": "Възстановен архив",
     "shareLink_expiry": "Променен е срокът на валидност на връзка за споделяне",
-    "shareLink_revoke": "Премахнати са връзки за споделяне"
+    "shareLink_revoke": "Премахнати са връзки за споделяне",
+    "meterType_create": "Създаден брояч",
+    "meterType_update": "Обновен брояч",
+    "meterType_delete": "Изтрит брояч",
+    "vehicleMeter_remove": "Премахнат брояч от превозно средство",
+    "vehicleMeter_replace": "Сменен брояч на превозно средство",
+    "meterReading_markWrong": "Показание на брояч отбелязано като грешно",
+    "meterReading_restore": "Показание на брояч отново се отчита",
+    "equipmentType_create": "Създаден вид оборудване",
+    "equipmentType_update": "Обновен вид оборудване",
+    "equipmentType_reorder": "Пренареден ред на видовете оборудване",
+    "equipmentType_delete": "Изтрит вид оборудване",
+    "equipment_add": "Добавено оборудване",
+    "equipment_update": "Обновено оборудване",
+    "equipment_move": "Преместено оборудване",
+    "equipment_remove": "Премахнато оборудване",
+    "equipment_refit": "Върнато оборудване",
+    "equipment_delete": "Изтрито оборудване"
   },
   "summary": {
     "auth_twoFactorEnabled": "Двуфакторното удостоверяване е включено",
@@ -383,6 +400,24 @@
     "share_link_expiry_workshop": "Зададено е връзката за споделяне да следва настройката на сервиза",
     "share_link_expiry_never": "Зададено е връзката за споделяне да няма срок на валидност",
     "share_link_expiry_date": "Зададено е изтичане на връзка за споделяне на {date}",
-    "share_link_revoke_bulk": "Премахнати са {count, plural, one {# връзка за споделяне} other {# връзки за споделяне}}"
+    "share_link_revoke_bulk": "Премахнати са {count, plural, one {# връзка за споделяне} other {# връзки за споделяне}}",
+    "meterType_create": "Създаден е броячът „{name}“",
+    "meterType_update": "Обновен е броячът „{name}“",
+    "meterType_delete": "Изтрит е броячът „{name}“",
+    "vehicleMeter_remove": "Броячът „{name}“ е премахнат от превозно средство",
+    "vehicleMeter_replace": "Сменен е броячът „{name}“: старият е спрял на {oldEnd}, новият е започнал от {newStart}",
+    "meterReading_markWrong": "Показанието {value} на {name} е отбелязано като грешно",
+    "meterReading_restore": "Показанието {value} на {name} отново се отчита",
+    "equipmentType_create": "Създаден е видът оборудване „{name}“",
+    "equipmentType_update": "Обновен е видът оборудване „{name}“",
+    "equipmentType_reorder": "Пренареден е редът на видовете оборудване",
+    "equipmentType_delete": "Изтрит е видът оборудване „{name}“",
+    "equipment_add": "Добавено е {name} към {vehicle}",
+    "equipment_update": "Обновено е {name} на {vehicle}",
+    "equipment_move": "{name} е преместено от {from} на {vehicle}",
+    "equipment_remove": "{name} е премахнато от {vehicle}",
+    "equipment_refit": "{name} е върнато на {vehicle}",
+    "equipment_delete": "{name} е изтрито от {vehicle}",
+    "equipment_meter": "Добавен е броячът {meter} към {name} на {vehicle}"
   }
 }

+ 3 - 0
messages/bg/customers.json

@@ -104,6 +104,9 @@
     "invoiceDesignHint": "Фактурите за този клиент се отпечатват с този дизайн вместо с дизайна по подразбиране на сервиза. Отделна фактура все пак може да използва собствен дизайн.",
     "reminderOptOut": "Без напомняния",
     "reminderOptOutHint": "Не включвайте този клиент в напомняния за инспекции или други кампании.",
+    "poRequired": "Изисква се № на поръчка",
+    "poRequiredHint": "Фактурите за този клиент изчакват, докато в работната поръчка не бъде попълнено полето „Референция / № на поръчка“.",
+    "poRequiredBadge": "Изисква се № на поръчка",
     "bookAppointment": "Запазване на час"
   },
   "serviceRequests": {

+ 3 - 0
messages/bg/dataImport.json

@@ -192,6 +192,7 @@
       "engineCode": "Код на двигателя",
       "hsn": "HSN (ключ на производителя)",
       "tsn": "TSN (ключ на типа)",
+      "fleetNumber": "Гаражен / инвентарен номер",
       "purchaseDate": "Дата на покупка",
       "purchasePrice": "Покупна цена"
     },
@@ -202,6 +203,7 @@
       "total": "Обща сума",
       "mileage": "Пробег при обслужването",
       "invoiceNumber": "Номер на фактурата",
+      "customerReference": "Референция / № на поръчка",
       "notes": "Бележки към обслужването",
       "technician": "Техник"
     }
@@ -211,6 +213,7 @@
     "invalid_email": "Имейл адресът „{value}“ е невалиден и е пропуснат",
     "invalid_vin": "VIN „{value}“ не съдържа 17 знака и е запазен във въведения вид",
     "invalid_type_key": "{field} „{value}“ не е валиден HSN или TSN и е пропуснат",
+    "fleet_number_too_long": "Гаражният / инвентарният номер „{value}“ е по-дълъг от 40 знака; пропуснат е",
     "vehicle_make_model_required": "Липсват марка и модел",
     "vehicle_year_required": "Липсва година",
     "vehicle_year_invalid": "„{value}“ не е валидна година",

+ 114 - 0
messages/bg/equipment.json

@@ -0,0 +1,114 @@
+{
+  "types": {
+    "title": "Оборудване",
+    "description": "Видовете оборудване, които монтирате или обслужвате на превозни средства, например кран, падащ борд или мултилифт. Добавете първия вид, за да записвате оборудване в превозните средства и работните поръчки. Дотогава оборудване не се показва никъде.",
+    "descriptionMarine": "Видовете оборудване, които монтирате или обслужвате на плавателни съдове, например кран, шлюпбалка или лебедка. Добавете първия вид, за да записвате оборудване в плавателните съдове и работните поръчки. Дотогава оборудване не се показва никъде.",
+    "name": "Вид",
+    "namePlaceholder": "напр. Кран",
+    "add": "Добави вид",
+    "created": "Добавено: {name}",
+    "updated": "Запазено: {name}",
+    "deleted": "Изтрито: {name}",
+    "saveError": "Видът оборудване не можа да бъде запазен",
+    "duplicateName": "Вече има вид с това име",
+    "hasItems": "Към този вид има оборудване. Скрийте го вместо това, за да запази оборудването своя вид.",
+    "hidden": "Скрито",
+    "inUse": "Предлагай {name} за ново оборудване",
+    "inUseShort": "Използва се",
+    "itemCount": "{count, plural, =0 {Още няма оборудване} one {# бр. на превозни средства} other {# бр. на превозни средства}}",
+    "itemCountMarine": "{count, plural, =0 {Още няма оборудване} one {# бр. на плавателни съдове} other {# бр. на плавателни съдове}}",
+    "moveUp": "Премести {name} нагоре",
+    "moveDown": "Премести {name} надолу",
+    "rename": "Преименувай {name}",
+    "renameTitle": "Преименуване на вид оборудване",
+    "renameHint": "Оборудването от този вид и все още неиздадените документи показват новото име.",
+    "deleteNamed": "Изтрий {name}",
+    "deleteTitle": "Да се изтрие ли {name}?",
+    "deleteHint": "Към него няма оборудване, затова нищо друго не се променя.",
+    "delete": "Изтрий"
+  },
+  "vehicle": {
+    "title": "Оборудване",
+    "add": "Добави оборудване",
+    "empty": "Няма оборудване на това превозно средство.",
+    "emptyMarine": "Няма оборудване на този плавателен съд.",
+    "serial": "Сер. № {serial}",
+    "examinationDue": "Преглед до {date}",
+    "examinationSoon": "Наближава преглед: {date}",
+    "examinationOverdue": "Прегледът е просрочен от {date}",
+    "showDetails": "Покажи подробности за {name}",
+    "hideDetails": "Скрий подробностите за {name}",
+    "more": "Още за {name}",
+    "edit": "Редактирай",
+    "move": "Премести на друго превозно средство",
+    "moveMarine": "Премести на друг плавателен съд",
+    "remove": "Премахни",
+    "removeTitle": "Да се премахне ли {name}?",
+    "removeHint": "Премахва се от това превозно средство и остава в историята му, заедно с броячите, показанията и протокола. Можете да го върнете.",
+    "removeHintMarine": "Премахва се от този плавателен съд и остава в историята му, заедно с броячите, показанията и протокола. Можете да го върнете.",
+    "removed": "Премахнато: {name}",
+    "delete": "Изтрий",
+    "deleteTitle": "Да се изтрие ли {name} окончателно?",
+    "deleteHint": "Историята, броячите, показанията и файлът с протокола също се изтриват. За да ги запазите, по-добре го премахнете.",
+    "deleteJobs": "{count, plural, one {# работна поръчка се отнася до него и вече няма да го показва.} other {# работни поръчки се отнасят до него и вече няма да го показват.}} Издадените фактури запазват отпечатаното си копие.",
+    "deleted": "Изтрито: {name}",
+    "history": "{count, plural, one {Предишно оборудване (#)} other {Предишно оборудване (#)}}",
+    "movedTo": "Преместено на <vehicle></vehicle> на {date}",
+    "movedOn": "Преместено на {date}",
+    "removedOn": "Премахнато на {date}",
+    "refit": "Върни",
+    "refitted": "{name} е върнато",
+    "saveError": "Оборудването не можа да бъде запазено"
+  },
+  "form": {
+    "addTitle": "Добавяне на оборудване",
+    "editTitle": "Редактиране на оборудване",
+    "type": "Вид",
+    "make": "Марка",
+    "model": "Модел",
+    "serialNumber": "Сериен номер",
+    "manufacture": "Произведено",
+    "manufacturePlaceholder": "2019 или {date}",
+    "manufactureHint": "Само година, например 2019, или пълна дата, например {date}.",
+    "manufactureInvalid": "Въведете година, например 2019, или пълна дата, например {date}.",
+    "manufactureFuture": "Годината на производство е в бъдещето.",
+    "installDate": "Монтирано",
+    "ratedCapacity": "Номинална товароподемност",
+    "ratedCapacityPlaceholder": "напр. 8 t",
+    "lastExaminedAt": "Последен преглед",
+    "nextExaminationDue": "Следващ преглед до",
+    "certificateReference": "Номер на сертификата",
+    "report": "Протокол от прегледа",
+    "attachReport": "Прикачи протокол",
+    "uploading": "Качва се…",
+    "uploadError": "Файлът не можа да бъде качен",
+    "removeReport": "Премахни {name}",
+    "notes": "Бележки",
+    "added": "Оборудването е добавено",
+    "updated": "Оборудването е запазено",
+    "saveError": "Оборудването не можа да бъде запазено"
+  },
+  "move": {
+    "title": "Преместване на {name}",
+    "hint": "Премества се заедно с броячите, показанията, протокола и историята на работата си. В историята на това превозно средство се вижда къде е отишло.",
+    "hintMarine": "Премества се заедно с броячите, показанията, протокола и историята на работата си. В историята на този плавателен съд се вижда къде е отишло.",
+    "to": "Към превозно средство",
+    "toMarine": "Към плавателен съд",
+    "pick": "Изберете превозно средство",
+    "pickMarine": "Изберете плавателен съд",
+    "noVehicles": "Няма намерени превозни средства.",
+    "noVehiclesMarine": "Няма намерени плавателни съдове.",
+    "confirm": "Премести",
+    "moved": "Преместено: {name}",
+    "saveError": "Оборудването не можа да бъде преместено"
+  },
+  "workOn": {
+    "label": "Работа по",
+    "none": "Не е избрано оборудване",
+    "search": "Търсене на оборудване",
+    "noMatch": "Няма съвпадащо оборудване",
+    "saveError": "Не можа да се запази по какво се работи",
+    "moved": "Преместено междувременно",
+    "removed": "Премахнато междувременно"
+  }
+}

+ 11 - 0
messages/bg/integrations.json

@@ -731,6 +731,13 @@
         "startDateHelp": "Оставете празно, за да изпратите всички издадени фактури. Използвайте датата, от която счетоводството ви е преминало към QuickBooks, за да не бъдат въведени по-старите фактури два пъти.",
         "includeVehicle": "Посочвай превозното средство във фактурата",
         "includeVehicleHelp": "Над начисленията се добавя текстов ред с година, марка, модел, регистрационен номер и пробег, така че в счетоводството да е ясно за кое превозно средство е фактурата.",
+        "customerReference": "Референция на клиента / № на поръчка",
+        "customerReferenceHelp": "Къде във фактурата в QuickBooks отива „Референция / № на поръчка“ от работната поръчка. QuickBooks няма собствен номер на поръчка във фактурата, затова референцията може да стои в началото на съобщението, което клиентът чете, или да попълни едно от вашите персонализирани полета във формулярите за продажба. Засегнати са само работните поръчки, които имат референция.",
+        "customerReferenceNone": "Не се изпраща",
+        "customerReferenceMemo": "В съобщението във фактурата",
+        "customerReferenceCustomField": "В персонализирано поле",
+        "customerReferenceField": "Персонализирано поле за референцията",
+        "customerReferenceFieldHelp": "Персонализираните полета, включени за формулярите за продажба в QuickBooks (Account and settings, Sales, Sales form content). Първо създайте или включете там поле, например P.O. Number. Изпращат се първите 31 знака от референцията, а референция, премахната тук по-късно, остава във вече изпратената фактура.",
         "laborItemId": "Артикул за редовете за труд",
         "laborItemIdHelp": "Оставете празно и при първото изпращане под сметката за приходи ще бъде създаден артикул с име „Labour“.",
         "partsItemId": "Артикул за редовете за резервни части",
@@ -783,6 +790,7 @@
         "referenceVehicle": "Превозно средство и регистрационен номер",
         "referenceTitle": "Наименование на работата",
         "referenceInvoiceNumber": "Номер на фактурата в Torqvoice",
+        "referenceCustomerReference": "Референция / № на поръчка от работната поръчка (превозното средство и регистрационният номер, ако няма такава)",
         "referenceNone": "Без референция",
         "includeVehicle": "Включване на превозното средство във фактурата",
         "includeVehicleHelp": "Текстов ред над сумите с година, марка, модел, регистрационен номер и пробег.",
@@ -877,6 +885,7 @@
         "referenceVehicle": "Превозно средство и регистрационен номер",
         "referenceTitle": "Наименование на работата",
         "referenceInvoiceNumber": "Номер на фактурата в Torqvoice",
+        "referenceCustomerReference": "Референция / № на поръчка от работната поръчка (превозното средство и регистрационният номер, ако няма такава)",
         "referenceNone": "Без референция",
         "includeVehicle": "Включване на превозното средство във фактурата",
         "includeVehicleHelp": "Година, марка, модел, регистрационен номер и пробег, поставени заедно с бележките за клиента.",
@@ -955,6 +964,8 @@
         "startDateHelp": "Оставете празно, за да изпратите всички издадени фактури. Използвайте датата, от която счетоводството ви е преминало към Fiken, за да не бъдат въведени по-старите фактури два пъти.",
         "attachPdf": "Прикачвай PDF файла на фактурата",
         "attachPdfHelp": "Фактурата се записва във Fiken като продажба (Annet salg) с нейния номер от Torqvoice. При включена настройка PDF файлът, получен от клиента, се добавя към продажбата като счетоводен документ.",
+        "customerReferenceInText": "Постави референцията на клиента / № на поръчка в текста на продажбата",
+        "customerReferenceInTextHelp": "Продажбата във Fiken няма поле за референция, затова „Референция / № на поръчка“ от работната поръчка се поставя пред първия ред като Deres ref. Fiken не може да промени продажба, след като е въведена: референция, добавена след изпращането на фактурата, не се изпраща.",
         "laborAccount": "Сметка за приходи от труд",
         "laborAccountHelp": "Оставете празно, за да използвате 3000.",
         "partsAccount": "Сметка за приходи от резервни части",

+ 16 - 1
messages/bg/pdf.json

@@ -227,6 +227,8 @@
     "signature": "Подпис",
     "signedBy": "Подписано от",
     "signatureDate": "Дата",
+    "customerReference": "Ваша референция / № на поръчка",
+    "fleetNumber": "Гаражен №",
     "conditionMapTitle": "Състояние на превозното средство",
     "conditionMapNo": "№",
     "conditionMapArea": "Зона",
@@ -238,7 +240,20 @@
     "serviceTypeUpgrade": "Подобрение",
     "serviceTypeInspection": "Инспекция",
     "customFieldYes": "Да",
-    "customFieldNo": "Не"
+    "customFieldNo": "Не",
+    "equipmentTitle": "Оборудване",
+    "equipmentType": "Вид",
+    "equipmentMake": "Марка",
+    "equipmentModel": "Модел",
+    "equipmentManufactureYear": "Година",
+    "equipmentSerialNumber": "Сер. №",
+    "equipmentInstallDate": "Монтирано",
+    "equipmentRatedCapacity": "Номинална товароподемност",
+    "equipmentLastExamined": "Последен преглед",
+    "equipmentNextExamination": "Следващ преглед",
+    "equipmentCertificateReference": "Сертификат",
+    "equipmentMeters": "Показания на броячи",
+    "equipmentNotes": "Бележки"
   },
   "workOrder": {
     "title": "РАБОТНА ПОРЪЧКА",

+ 3 - 0
messages/bg/portal.json

@@ -364,6 +364,7 @@
     "summaryPaid": "Платено",
     "summaryLeft": "Остава за плащане",
     "summaryDue": "Падеж",
+    "summaryReference": "Ваша референция / № на поръчка",
     "summaryDate": "Дата",
     "fullInvoice": "Пълна фактура"
   },
@@ -420,6 +421,7 @@
     "vin": "VIN: {vin}",
     "vinMarine": "HIN: {vin}",
     "typeKey": "HSN/TSN: {typeKey}",
+    "fleetNumber": "Гаражен №: {fleetNumber}",
     "distanceKm": "{value} km",
     "distanceMi": "{value} mi",
     "engineHours": "{value} моточаса",
@@ -598,6 +600,7 @@
     "number": "Номер на офертата",
     "date": "Дата",
     "validUntil": "Валидна до",
+    "reference": "Ваша референция / № на поръчка",
     "vehicle": "Превозно средство",
     "fullQuote": "Пълна оферта",
     "answerTitle": "Сервизът очаква вашия отговор",

+ 3 - 2
messages/bg/quotes.json

@@ -75,6 +75,7 @@
         "mileage": "{count} {unit}"
       }
     },
+    "convertReferenceKept": "Работната поръчка запази собствената си референция / № на поръчка, {job}. Тази от офертата, {quote}, не беше копирана в нея.",
     "convert": "Преобразувай",
     "convertToWorkOrder": "Преобразувай в работна поръчка",
     "cancel": "Отказ",
@@ -89,9 +90,9 @@
       "images": "Изображения",
       "documents": "Документи"
     },
-    "customFieldsSaveFailed": "Персонализираните полета не можаха да бъдат запазени",
     "customFieldsMissing": "Не е запазено. Попълнете: {fields}",
-    "customFieldsNotValid": "Не е запазено. Проверете: {fields}"
+    "customFieldsNotValid": "Не е запазено. Проверете: {fields}",
+    "customFieldsSaveFailed": "Персонализираните полета не можаха да бъдат запазени"
   },
   "form": {
     "newQuote": "Нова оферта",

+ 12 - 3
messages/bg/service.json

@@ -15,6 +15,8 @@
     "datesExpiredCustomize": "Избери датите ръчно",
     "datesExpiredBack": "Назад",
     "datesExpiredSetToday": "Задай днешната дата",
+    "customFieldsMissing": "Не е запазено. Попълнете: {fields}",
+    "customFieldsNotValid": "Не е запазено. Проверете: {fields}",
     "customFieldsSaveFailed": "Персонализираните полета не можаха да бъдат запазени",
     "problems": {
       "title": "Задачата трябва да има заглавие, преди да бъде запазена.",
@@ -22,9 +24,7 @@
       "partName": "Всяка резервна част с цена трябва да има име.",
       "laborDescription": "Всяка позиция за труд с часове или ставка трябва да има описание.",
       "concernCondition": "Проблем, за който са попълнени причина, корекция или потвърждение, трябва да има и попълнено състояние."
-    },
-    "customFieldsMissing": "Не е запазено. Попълнете: {fields}",
-    "customFieldsNotValid": "Не е запазено. Проверете: {fields}"
+    }
   },
   "header": {
     "tabs": {
@@ -761,6 +761,15 @@
     "fromQuote": "От оферта {ref}",
     "startInspection": "Започни инспекция"
   },
+  "reference": {
+    "label": "Референция / № на поръчка",
+    "placeholder": "№ на поръчка или референция",
+    "requiredNotice": "Този клиент изисква референция или номер на поръчка във фактурите си. Попълнете го, преди фактурата да бъде изпратена.",
+    "requiredToInvoice": "Този клиент изисква референция или номер на поръчка във фактурите си. Попълнете „Референция / № на поръчка“ в работната поръчка и след това изпратете фактурата.",
+    "saveFailed": "Референцията не можа да бъде запазена",
+    "saved": "Запазено",
+    "notSwitchedOn": "Полето „Референция / № на поръчка“ е изключено за този сервиз. Включете го от Настройки, Фактури и оферти, Персонализирани полета."
+  },
   "photoHandoff": {
     "button": "Добави от телефон",
     "dialogTitle": "Добавяне на снимки и документи от телефон",

+ 184 - 4
messages/bg/settings.json

@@ -754,7 +754,8 @@
       "concerns": "Оплаквания на клиента",
       "job_description": "Заявена работа",
       "work_checklist": "Контролен списък за работата",
-      "condition_map": "Състояние на превозното средство"
+      "condition_map": "Състояние на превозното средство",
+      "equipment": "Оборудване"
     },
     "fields": {
       "customer_name": "Име на клиента",
@@ -763,11 +764,13 @@
       "customer_email": "Имейл на клиента",
       "customer_phone": "Телефон на клиента",
       "customer_tax_id": "Данъчен номер на клиента",
+      "customer_reference": "Ваша референция / № на поръчка",
       "vehicle_name": "Превозно средство",
       "vin": "VIN",
       "license_plate": "Регистрационен номер",
       "mileage": "Пробег",
       "hsn_tsn": "HSN/TSN",
+      "fleet_number": "Гаражен / инвентарен номер",
       "service_title": "Заглавие на обслужването",
       "service_type": "Вид обслужване",
       "tech_name": "Техник",
@@ -817,7 +820,22 @@
       "customer_line": "Ред за подпис на клиента",
       "legend": "Легенда",
       "previous_marks": "Предишни означения",
-      "blank_sheet": "Празен лист за попълване на ръка"
+      "blank_sheet": "Празен лист за попълване на ръка",
+      "meter_readings": "Показания на броячи",
+      "vehicle_photo": "Снимка на превозното средство",
+      "vehicle_photoMarine": "Снимка на плавателния съд",
+      "equipment_type": "Вид",
+      "equipment_make": "Марка",
+      "equipment_model": "Модел",
+      "equipment_manufacture_year": "Година на производство",
+      "equipment_serial_number": "Сериен номер",
+      "equipment_install_date": "Монтирано",
+      "equipment_rated_capacity": "Номинална товароподемност",
+      "equipment_last_examined": "Последен преглед",
+      "equipment_next_examination": "Следващ преглед до",
+      "equipment_certificate_reference": "Номер на сертификата",
+      "equipment_meters": "Показания на броячи",
+      "equipment_notes": "Бележки"
     },
     "presetsTitle": "Започнете от оформление",
     "presetsHint": "Заменя оформлението по-долу. Нищо не се запазва, докато не натиснете „Запази“.",
@@ -1152,6 +1170,11 @@
     "filterAll": "Всички",
     "serviceRecord": "Сервизен запис",
     "quote": "Оферта",
+    "vehicle": "Превозно средство",
+    "vehicleMarine": "Плавателен съд",
+    "customer": "Клиент",
+    "recordPlacementHint": "Показва се в превозното средство или клиента и в техните формуляри. За да го отпечатате във фактури, оферти или работни поръчки, добавете го към блок в дизайнера на документи.",
+    "recordPlacementHintMarine": "Показва се в плавателния съд или клиента и в техните формуляри. За да го отпечатате във фактури, оферти или работни поръчки, добавете го към блок в дизайнера на документи.",
     "emptyState": "Все още няма дефинирани персонализирани полета. Щракнете върху „Добави поле“, за да създадете.",
     "required": "Задължително",
     "inactive": "Неактивно",
@@ -1202,7 +1225,30 @@
     "dateError": "Стойността на „{label}“ трябва да е валидна дата.",
     "optionError": "Стойността на „{label}“ трябва да е една от зададените опции.",
     "checkboxError": "Полето „{label}“ трябва да има зададена стойност (отметнато или неотметнато).",
-    "tooLongError": "Полето „{label}“ може да съдържа най-много {max} знака."
+    "tooLongError": "Полето „{label}“ може да съдържа най-много {max} знака.",
+    "notSavedMissing": "Не е запазено. Попълнете: {fields}",
+    "notSavedInvalid": "Не е запазено. Проверете: {fields}",
+    "valueYes": "Да",
+    "valueNo": "Не",
+    "readyMade": {
+      "title": "Готови полета",
+      "description": "Полета, които идват с Torqvoice. Всяко е изключено, докато не го включите.",
+      "customerReferenceTitle": "Референция / № на поръчка",
+      "customerReferenceEnabled": "Записвай референция на клиента или номер на поръчка в работните поръчки и офертите",
+      "customerReferenceHint": "Добавя поле „Референция / № на поръчка“ към работните поръчки, продажбите на място и офертите, за номера на поръчката или референцията, които клиентът ви дава. Може да се отпечатва във фактури, оферти и работни поръчки от дизайнера на документи, да се намира чрез търсенето и да се изпраща към счетоводната ви система. Клиент може да бъде отбелязан с „Изисква се № на поръчка“ и тогава фактурите му изчакват, докато референцията бъде попълнена. Изключването го скрива отново и запазва въведеното.",
+      "fleetNumberTitle": "Гаражен / инвентарен номер",
+      "fleetNumberEnabled": "Записвай гаражен или инвентарен номер на превозните средства",
+      "fleetNumberEnabledMarine": "Записвай гаражен или инвентарен номер на плавателните съдове",
+      "fleetNumberHint": "Добавя поле „Гаражен / инвентарен номер“ към превозните средства, за номера, под който клиентът познава превозното средство в собствения си автопарк. Показва се в превозното средство и в работната поръчка, превозните средства могат да се намират по него чрез търсенето и може да се отпечатва във фактури, оферти и работни поръчки от дизайнера на документи. Изключването го скрива отново и запазва въведеното.",
+      "fleetNumberHintMarine": "Добавя поле „Гаражен / инвентарен номер“ към плавателните съдове, за номера, под който клиентът познава плавателния съд в собствения си флот. Показва се в плавателния съд и в работната поръчка, плавателните съдове могат да се намират по него чрез търсенето и може да се отпечатва във фактури, оферти и работни поръчки от дизайнера на документи. Изключването го скрива отново и запазва въведеното.",
+      "saved": "Настройките са запазени",
+      "failedSave": "Настройките не можаха да бъдат запазени"
+    },
+    "ownFields": {
+      "title": "Ваши собствени полета",
+      "description": "Полета, които определяте сами, в работните поръчки, офертите, превозните средства и клиентите.",
+      "descriptionMarine": "Полета, които определяте сами, в работните поръчки, офертите, плавателните съдове и клиентите."
+    }
   },
   "workshop": {
     "title": "Настройки на сервиза по подразбиране",
@@ -2632,7 +2678,98 @@
     "conditionMapViewsSides": "Само отстрани",
     "conditionMapWidthHint": "Празна стойност заема целия ред. Задайте точки, за да намалите чертежа; той се разполага според подравняването, а легендата запазва пълната ширина.",
     "conditionMapDense": "Плътна таблица",
-    "conditionMapDenseHint": "Намалява разстоянието между редовете на таблицата под чертежа, за да заема по-малко място."
+    "conditionMapDenseHint": "Намалява разстоянието между редовете на таблицата под чертежа, за да заема по-малко място.",
+    "equipmentList": "Кое оборудване",
+    "equipmentListVehicle": "На превозното средство",
+    "equipmentListVehicleMarine": "На плавателния съд",
+    "equipmentListJob": "По което се работи",
+    "equipmentListHint": "„На превозното средство“ показва всичко, монтирано на него в момента. „По което се работи“ показва само оборудването, по което се работи в задачата или офертата. Полетата по-долу определят колоните и реда им.",
+    "equipmentListHintMarine": "„На плавателния съд“ показва всичко, монтирано на него в момента. „По което се работи“ показва само оборудването, по което се работи в задачата или офертата. Полетата по-долу определят колоните и реда им.",
+    "equipmentNoneHint": "Добавете видове оборудване от Настройки, Фактури и оферти, Персонализирани полета, за да отпечатате тук оборудването на превозното средство.",
+    "equipmentNoneHintMarine": "Добавете видове оборудване от Настройки, Фактури и оферти, Персонализирани полета, за да отпечатате тук оборудването на плавателния съд.",
+    "vehiclePhoto": "Снимка на превозното средство",
+    "vehiclePhotoMarine": "Снимка на плавателния съд",
+    "vehiclePhotoOff": "Изключено",
+    "vehiclePhotoBeside": "Снимка до данните",
+    "vehiclePhotoFaded": "Избледнял фон",
+    "vehiclePhotoHint": "Отпечатва снимката, запазена в превозното средство. „Избледнял фон“ я избелва само зад този блок, достатъчно светло, за да остане текстът четим. Превозно средство без снимка се отпечатва както досега.",
+    "vehiclePhotoHintMarine": "Отпечатва снимката, запазена в плавателния съд. „Избледнял фон“ я избелва само зад този блок, достатъчно светло, за да остане текстът четим. Плавателен съд без снимка се отпечатва както досега.",
+    "equipmentTitle": "Заглавие",
+    "equipmentTitleHint": "Оставете празно, за да се отпечата заглавието по подразбиране на езика на документа, или напишете свое, например „Данни за монтираното оборудване“.",
+    "search": {
+      "label": "Търсене в дизайнера",
+      "placeholder": "Намерете раздел или поле",
+      "clear": "Изчисти търсенето",
+      "results": "Резултати от търсенето",
+      "count": "{count, plural, one {# резултат} other {# резултата}}",
+      "emptySpoken": "Няма резултати",
+      "emptyTitle": "Нищо в този документ не съвпада с „{query}“",
+      "emptyHint": "Търсенето намира раздели и техните полета, включително вашите персонализирани полета.",
+      "groups": {
+        "fields": "Полета",
+        "sections": "Раздели",
+        "styling": "Оформление на документа"
+      },
+      "state": {
+        "shown": "Показва се",
+        "off": "Изключено",
+        "hiddenSection": "Скрит раздел",
+        "needsSetting": "Изисква настройка",
+        "notPlaced": "Не е поставено"
+      },
+      "needsSettingLine": "{section} · Не е включено в Настройки",
+      "needsSettingNote": "Не е включено за този сервиз, затова все още не може да се отпечатва. Включете го от Настройки, Персонализирани полета и то ще се появи в този списък.",
+      "openSettings": "Отвори Настройки",
+      "keys": {
+        "move": "Придвижване",
+        "go": "Отиди",
+        "close": "Затвори"
+      },
+      "aliases": {
+        "customer_reference": "номер на поръчка, поръчка, заявка, референция, референция на клиента, възлагане, po, purchase order",
+        "fleet_number": "гаражен номер, инвентарен номер, автопарк, флот, номер на камиона, номер на актива, fleet, unit",
+        "meter_readings": "брояч, броячи, моточасове, часове, часомер, наработка, вом, pto",
+        "mileage": "километраж, одометър, км, мили, разстояние, километри",
+        "odometer": "пробег, километраж, км, мили, разстояние, километри",
+        "license_plate": "номер, рег. номер, регистрация, табела, регистрационна табела",
+        "vin": "номер на шасито, номер на рамата, сериен номер, рама",
+        "hsn_tsn": "ключ на типа, kba, hsn, tsn",
+        "vehicle_photo": "снимка, изображение, картинка",
+        "customer_tax_id": "ддс номер, ддс, данъчен номер, еик, булстат",
+        "customer_address": "улица, пощенски код, град",
+        "customer_phone": "телефон, мобилен, gsm",
+        "customer_email": "имейл, поща, e-mail",
+        "company_org_number": "еик, булстат, фирмен номер, ддс номер, регистрационен номер",
+        "company_phone": "телефон, мобилен",
+        "company_email": "имейл, поща, e-mail",
+        "logo": "марка, знак, изображение, картинка",
+        "portal_link": "клиентски портал, връзка, линк, url",
+        "footer_note": "текст в долния колонтитул, долен текст",
+        "invoice_number": "№ на фактура, номер на документ, номер на оферта",
+        "due_date": "падеж, краен срок, плащане до",
+        "payment_terms": "условия, срок за плащане, дни отсрочка",
+        "tech_name": "механик, техник, служител, изпълнено от",
+        "section_bank_account": "плащане, данни за плащане, банка, iban, банкова сметка, номер на сметка",
+        "section_items_table": "редове, позиции, продукти, услуги",
+        "section_parts_table": "части, резервни части, материали",
+        "section_labor_table": "труд, работа, часове, време",
+        "section_totals": "сума, общо, междинна сума, данък, ддс, стойност",
+        "section_header": "бланка, фирма, горна част",
+        "section_footer": "долна част, колонтитул",
+        "section_document_title": "заглавие, наименование, номер, дата",
+        "section_signature": "подпис, подписано, подписване",
+        "section_telegram_qr": "qr код, чат",
+        "section_job_qr": "qr код, телефон, мобилен",
+        "section_condition_map": "щети, вдлъбнатини, драскотини, схема на купето",
+        "section_notes": "коментари, забележки, съобщение",
+        "styling_headerStyle": "бланка, оформление, банер, рамка",
+        "styling_colors": "цветове, цвят, основен, акцент, фон, тема",
+        "styling_typography": "шрифт, гарнитура, размер на текста, размер на шрифта",
+        "styling_page": "полета, височина на реда, ивици, редуване, разстояние",
+        "styling_frame": "граница, рамка, сянка, заобляне на ъглите",
+        "styling_orgNumberLabel": "еик, булстат, ддс номер, фирмен номер, надпис за номера"
+      }
+    }
   },
   "preview": {
     "title": "Обслужване на спирачките и смяна на масло",
@@ -2788,6 +2925,10 @@
         "label": "Заглавие на документа",
         "description": "Заглавието на задачата или документа."
       },
+      "customer_reference": {
+        "label": "Референция / № на поръчка",
+        "description": "Референцията или номерът на поръчка, които клиентът е дал за задачата. Празно, ако няма такива."
+      },
       "total": {
         "label": "Общо",
         "description": "Общата сума на документа в съответната валута."
@@ -3220,5 +3361,44 @@
       "bulkRevoked": "Премахнати са {count, plural, one {# връзка} other {# връзки}}",
       "bulkRevokeFailed": "Връзките не можаха да бъдат премахнати. Опитайте отново."
     }
+  },
+  "meters": {
+    "title": "Броячи",
+    "description": "Броячи, които отчитате на превозните средства освен километража, например моточасове или моточасове ВОМ. За всяко превозно средство изберете кои от тях има; показанията се въвеждат в превозното средство и в работните поръчки и могат да се отпечатват във фактури, оферти и работни поръчки от дизайнера на документи.",
+    "descriptionMarine": "Броячи, които отчитате на плавателните съдове освен моточасовете, например моточасове ВОМ или моточасове на генератора. За всеки плавателен съд изберете кои от тях има; показанията се въвеждат в плавателния съд и в работните поръчки и могат да се отпечатват във фактури, оферти и работни поръчки от дизайнера на документи.",
+    "name": "Име",
+    "namePlaceholder": "напр. Моточасове",
+    "unit": "Единица",
+    "unitPlaceholder": "напр. ч",
+    "add": "Добави брояч",
+    "addTitle": "Добавяне на брояч",
+    "requiredBadge": "Задължително",
+    "options": {
+      "required": "Задължително в работните поръчки",
+      "requiredHint": "Иска се при приключване на задачата и преди изпращане на фактурата ѝ."
+    },
+    "suggestions": "Предложения:",
+    "suggestEngineHours": "Моточасове",
+    "suggestPtoHours": "Моточасове ВОМ",
+    "hoursUnit": "ч",
+    "hidden": "Скрито",
+    "inUse": "Използвай {name}",
+    "inUseShort": "Използва се",
+    "onVehicles": "{count, plural, =0 {Още не е на превозни средства} one {На # превозно средство} other {На # превозни средства}}",
+    "onVehiclesMarine": "{count, plural, =0 {Още не е на плавателни съдове} one {На # плавателен съд} other {На # плавателни съда}}",
+    "edit": "Редактирай {name}",
+    "editTitle": "Редактиране на брояч",
+    "editHint": "Новото име или единица се показват навсякъде, където е броячът, включително в документите, отпечатани отсега нататък. Вече издадените фактури запазват отпечатаното.",
+    "delete": "Изтрий брояча",
+    "deleteNamed": "Изтрий {name}",
+    "deleteTitle": "Да се изтрие ли {name}?",
+    "deleteHint": "{count, plural, =0 {Още не е на нито едно превозно средство.} one {На # превозно средство е и показанията му там се изтриват заедно с него.} other {На # превозни средства е и показанията им се изтриват заедно с него.}} За да запазите показанията, вместо това го спрете от използване.",
+    "deleteHintMarine": "{count, plural, =0 {Още не е на нито един плавателен съд.} one {На # плавателен съд е и показанията му там се изтриват заедно с него.} other {На # плавателни съда е и показанията им се изтриват заедно с него.}} За да запазите показанията, вместо това го спрете от използване.",
+    "created": "{name} е добавен",
+    "updated": "{name} е запазен",
+    "deleted": "{name} е изтрит",
+    "saveError": "Броячът не можа да бъде запазен",
+    "duplicateName": "Вече има брояч с това име.",
+    "odometerName": "„{name}“ е километражът, който всяко превозно средство вече има. Дайте друго име на брояча."
   }
 }

+ 8 - 0
messages/bg/setup.json

@@ -0,0 +1,8 @@
+{
+  "heavyVehicles": {
+    "command": "Настройка за автопаркове и тежкотоварни превозни средства",
+    "commandMarine": "Настройка за флотове и търговски плавателни съдове",
+    "docs": "Прочетете ръководството за автопаркове и тежкотоварни превозни средства",
+    "docsMarine": "Прочетете ръководството за флотове и търговски плавателни съдове"
+  }
+}

+ 69 - 4
messages/bg/vehicles.json

@@ -36,7 +36,8 @@
     "inspectionDue30": "След 30 дни",
     "inspectionDue90": "След 90 дни",
     "inspectionDue": "Инспекция: {date}",
-    "remindCustomers": "Напомни на тези клиенти"
+    "remindCustomers": "Напомни на тези клиенти",
+    "fleetNumber": "Гаражен / инвентарен номер"
   },
   "detail": {
     "vehicleArchived": "Това превозно средство е архивирано",
@@ -102,6 +103,7 @@
     "inspectionCheckedAt": "Проверено в регистъра на {date}",
     "notRegistered": "Нерегистрирано",
     "soldReported": "Клиентът е съобщил за продажба на {date}",
+    "fleetNumber": "Гаражен №",
     "typeKey": "HSN/TSN",
     "addPhoto": "Добавяне на снимка",
     "changePhoto": "Смяна на снимката",
@@ -401,6 +403,9 @@
     "hsn": "HSN",
     "tsn": "TSN",
     "typeKey": "HSN/TSN",
+    "fleetNumber": "Гаражен / инвентарен номер",
+    "fleetNumberPlaceholder": "напр. T-208",
+    "fleetNumberTooLong": "Гаражният / инвентарният номер може да е най-много {max} знака",
     "typeKeyHint": "От германско свидетелство за регистрация: HSN е поле 2.1, а TSN са първите три знака от поле 2.2.",
     "hsnInvalid": "HSN се състои от четири цифри от поле 2.1 на свидетелството за регистрация.",
     "tsnInvalid": "TSN се състои от три букви или цифри в началото на поле 2.2 на свидетелството за регистрация.",
@@ -461,8 +466,6 @@
     "deleteVehicleMarine": "Изтриване на лодката",
     "editMileage": "Промяна на пробега",
     "editMileageMarine": "Промяна на моточасовете",
-    "bookAppointment": "Запазване на час",
-    "addTitleMarine": "Добавяне на плавателен съд",
     "lowerReading": "Показанието е по-ниско от последното ({reading}). Можете все пак да го запазите.",
     "lowerReadingMarine": "Новото показание за моточасовете е по-ниско от последното ({hours}). Можете все пак да го запазите.",
     "muchHigherReading": "Показанието е значително по-високо от последното ({reading}). Проверете дали няма грешка при въвеждането. Можете все пак да го запазите.",
@@ -473,7 +476,9 @@
     "readingConfirmYes": "Да, показанието е правилно",
     "readingConfirmChange": "Променете го",
     "readingConfirmHeld": "Показанието ще бъде запазено, след като отговорите. Останалата част от работната поръчка се запазва както обикновено.",
-    "readingConfirmWaiting": "Показанието все още не е запазено. Първо отговорете на въпроса под него."
+    "readingConfirmWaiting": "Показанието все още не е запазено. Първо отговорете на въпроса под него.",
+    "bookAppointment": "Запазване на час",
+    "addTitleMarine": "Добавяне на плавателен съд"
   },
   "archiveDialog": {
     "title": "Архивиране на превозно средство",
@@ -679,5 +684,65 @@
     "refreshed": "Данните за безопасност са обновени",
     "openSite": "Отвори в {source}",
     "errorLoad": "Данните за безопасност не можаха да бъдат заредени"
+  },
+  "meters": {
+    "title": "Броячи",
+    "addMeter": "Добави брояч",
+    "addMeterTitle": "Добавяне на брояч",
+    "addMeterHint": "Кои от броячите на сервиза има това превозно средство. Първо показание може да се въведе сега или по-късно.",
+    "addMeterHintMarine": "Кои от броячите на сервиза има този плавателен съд. Първо показание може да се въведе сега или по-късно.",
+    "meter": "Брояч",
+    "firstReading": "Първо показание (по избор)",
+    "noMeters": "Това превозно средство още няма нито един от броячите на сервиза.",
+    "noMetersMarine": "Този плавателен съд още няма нито един от броячите на сервиза.",
+    "readOn": "Отчетено на {date}",
+    "total": "Общо {total}",
+    "meterActions": "{name}: още",
+    "addReading": "Добави показание",
+    "addReadingTitle": "Ново показание за {name}",
+    "currentIs": "Последно показание: {reading}",
+    "reading": "Показание",
+    "readingDate": "Дата на отчитане",
+    "saveReading": "Запази показанието",
+    "readingSaved": "Показанието за {name} е запазено",
+    "lowerReading": "По-ниско е от последното показание, {last}. Въпреки това се запазва.",
+    "savedLower": "Показанието за {name} е запазено. То е по-ниско от последното показание, {last}.",
+    "invalidReading": "Въведете показанието като число, с до два знака след десетичната запетая.",
+    "saveError": "Показанието не можа да бъде запазено",
+    "requiredMark": "задължително",
+    "requiredMissing": "Задължително преди приключване на задачата.",
+    "requiredNotCompleted": "Не е приключено. Попълнете: {meters}",
+    "requiredNotMoved": "Не е преместено. Приключената задача изисква показания на новото превозно средство: {meters}. Отворете задачата отново, за да я преместите.",
+    "requiredNotSent": "Не е изпратено. Попълнете: {meters}",
+    "requiredNotShared": "Не е създадена връзка. Попълнете: {meters}",
+    "history": "История",
+    "historyTitle": "История на {name}",
+    "historyHint": "Показание, отбелязано като грешно, остава тук, но вече не се отчита.",
+    "noReadings": "Още няма показания.",
+    "markWrong": "Отбележи като грешно",
+    "countAgain": "Отчитай отново",
+    "wrongBadge": "Грешно",
+    "replacedBadge": "Сменен брояч",
+    "replacedLine": "Старият брояч е спрял на {oldEnd}, новият е започнал от {newStart}",
+    "fromApp": "от приложението за техници",
+    "close": "Затвори",
+    "replace": "Сменен брояч",
+    "replaceTitle": "Сменен брояч {name}",
+    "replaceHint": "Какво е показвал старият брояч при демонтажа и какво е показвал новият при монтажа. Общата стойност продължава след смяната.",
+    "oldEnd": "Последно показание на стария брояч",
+    "newStart": "Първо показание на новия брояч",
+    "replacedOn": "Дата на смяна",
+    "replaceSave": "Запази",
+    "replacedSaved": "Смяната на {name} е запазена",
+    "remove": "Премахни от това превозно средство",
+    "removeMarine": "Премахни от този плавателен съд",
+    "removeTitle": "Да се премахне ли {name} от това превозно средство?",
+    "removeTitleMarine": "Да се премахне ли {name} от този плавателен съд?",
+    "removeHint": "Показанията му се запазват и се връщат, ако броячът бъде добавен отново.",
+    "removed": "{name} е премахнат",
+    "added": "{name} е добавен",
+    "itemTitle": "Броячи",
+    "noItemMeters": "Няма броячи на това оборудване.",
+    "addItemMeterHint": "Броячът следва това оборудване, където и да е монтирано."
   }
 }

+ 37 - 2
messages/de/audit.json

@@ -212,7 +212,24 @@
     "integration_backup_run": "Sicherung gestartet",
     "integration_backup_restore": "Sicherung wiederhergestellt",
     "shareLink_expiry": "Ablauf des Freigabelinks geändert",
-    "shareLink_revoke": "Freigabelinks entfernt"
+    "shareLink_revoke": "Freigabelinks entfernt",
+    "meterType_create": "Zähler erstellt",
+    "meterType_update": "Zähler aktualisiert",
+    "meterType_delete": "Zähler gelöscht",
+    "vehicleMeter_remove": "Fahrzeugzähler entfernt",
+    "vehicleMeter_replace": "Fahrzeugzähler ersetzt",
+    "meterReading_markWrong": "Zählerstand als falsch markiert",
+    "meterReading_restore": "Zählerstand wieder gezählt",
+    "equipmentType_create": "Ausrüstungstyp erstellt",
+    "equipmentType_update": "Ausrüstungstyp aktualisiert",
+    "equipmentType_reorder": "Ausrüstungstypen neu sortiert",
+    "equipmentType_delete": "Ausrüstungstyp gelöscht",
+    "equipment_add": "Ausrüstung hinzugefügt",
+    "equipment_update": "Ausrüstung aktualisiert",
+    "equipment_move": "Ausrüstung umgesetzt",
+    "equipment_remove": "Ausrüstung abgebaut",
+    "equipment_refit": "Ausrüstung wieder angebaut",
+    "equipment_delete": "Ausrüstung gelöscht"
   },
   "summary": {
     "auth_twoFactorEnabled": "Zwei-Faktor-Anmeldung aktiviert",
@@ -383,6 +400,24 @@
     "share_link_expiry_workshop": "Freigabelink auf die Werkstatteinstellung gesetzt",
     "share_link_expiry_never": "Freigabelink auf nie ablaufen gesetzt",
     "share_link_expiry_date": "Freigabelink auf Ablauf am {date} gesetzt",
-    "share_link_revoke_bulk": "{count, plural, one {# Freigabelink} other {# Freigabelinks}} entfernt"
+    "share_link_revoke_bulk": "{count, plural, one {# Freigabelink} other {# Freigabelinks}} entfernt",
+    "meterType_create": "Zähler \"{name}\" erstellt",
+    "meterType_update": "Zähler \"{name}\" aktualisiert",
+    "meterType_delete": "Zähler \"{name}\" gelöscht",
+    "vehicleMeter_remove": "Zähler \"{name}\" von einem Fahrzeug entfernt",
+    "vehicleMeter_replace": "Zähler \"{name}\" ersetzt: alter endete bei {oldEnd}, neuer begann bei {newStart}",
+    "meterReading_markWrong": "Stand {value} von {name} als falsch markiert",
+    "meterReading_restore": "Stand {value} von {name} wieder gezählt",
+    "equipmentType_create": "Ausrüstungstyp \"{name}\" erstellt",
+    "equipmentType_update": "Ausrüstungstyp \"{name}\" aktualisiert",
+    "equipmentType_reorder": "Ausrüstungstypen neu sortiert",
+    "equipmentType_delete": "Ausrüstungstyp \"{name}\" gelöscht",
+    "equipment_add": "{name} an {vehicle} hinzugefügt",
+    "equipment_update": "{name} an {vehicle} aktualisiert",
+    "equipment_move": "{name} von {from} auf {vehicle} umgesetzt",
+    "equipment_remove": "{name} von {vehicle} abgebaut",
+    "equipment_refit": "{name} wieder an {vehicle} angebaut",
+    "equipment_delete": "{name} von {vehicle} gelöscht",
+    "equipment_meter": "Zähler {meter} zu {name} an {vehicle} hinzugefügt"
   }
 }

+ 3 - 0
messages/de/customers.json

@@ -104,6 +104,9 @@
     "invoiceDesignHint": "Rechnungen für diesen Kunden werden mit diesem Design statt dem Werkstatt-Standard gedruckt. Eine Rechnung kann trotzdem ein eigenes wählen.",
     "reminderOptOut": "Keine Erinnerungen",
     "reminderOptOutHint": "Diesen Kunden nicht in HU-Erinnerungen oder andere Kampagnen aufnehmen.",
+    "poRequired": "Bestellnr. erforderlich",
+    "poRequiredHint": "Rechnungen für diesen Kunden warten, bis Referenz / Bestellnr. am Arbeitsauftrag ausgefüllt ist.",
+    "poRequiredBadge": "Bestellnr. Pflicht",
     "bookAppointment": "Termin buchen"
   },
   "serviceRequests": {

+ 3 - 0
messages/de/dataImport.json

@@ -192,6 +192,7 @@
       "engineCode": "Motorcode",
       "hsn": "HSN (Herstellerschlüsselnummer)",
       "tsn": "TSN (Typschlüsselnummer)",
+      "fleetNumber": "Fuhrpark- / Fahrzeugnummer",
       "purchaseDate": "Kaufdatum",
       "purchasePrice": "Kaufpreis"
     },
@@ -202,6 +203,7 @@
       "total": "Gesamtbetrag",
       "mileage": "Kilometerstand beim Service",
       "invoiceNumber": "Rechnungsnummer",
+      "customerReference": "Referenz / Bestellnr.",
       "notes": "Servicenotizen",
       "technician": "Techniker"
     }
@@ -211,6 +213,7 @@
     "invalid_email": "E-Mail \"{value}\" ist ungültig und wurde weggelassen",
     "invalid_vin": "FIN \"{value}\" hat nicht 17 Zeichen; wie eingegeben übernommen",
     "invalid_type_key": "{field} \"{value}\" ist keine gültige HSN oder TSN und wurde ausgelassen",
+    "fleet_number_too_long": "Fuhrpark- / Fahrzeugnummer \"{value}\" ist länger als 40 Zeichen und wurde ausgelassen",
     "vehicle_make_model_required": "Marke und Modell fehlen",
     "vehicle_year_required": "Baujahr fehlt",
     "vehicle_year_invalid": "Baujahr \"{value}\" ist kein gültiges Jahr",

+ 114 - 0
messages/de/equipment.json

@@ -0,0 +1,114 @@
+{
+  "types": {
+    "title": "Ausrüstung",
+    "description": "Die Arten von Ausrüstung, die Sie an Fahrzeugen montieren oder warten, etwa Kran, Ladebordwand oder Abrollkipper. Fügen Sie die erste hinzu, um Ausrüstung an Fahrzeugen und Arbeitsaufträgen zu erfassen. Bis dahin wird Ausrüstung nirgends angezeigt.",
+    "descriptionMarine": "Die Arten von Ausrüstung, die Sie an Booten montieren oder warten, etwa Kran, Davit oder Winde. Fügen Sie die erste hinzu, um Ausrüstung an Booten und Arbeitsaufträgen zu erfassen. Bis dahin wird Ausrüstung nirgends angezeigt.",
+    "name": "Typ",
+    "namePlaceholder": "z. B. Kran",
+    "add": "Typ hinzufügen",
+    "created": "{name} hinzugefügt",
+    "updated": "{name} gespeichert",
+    "deleted": "{name} gelöscht",
+    "saveError": "Der Ausrüstungstyp konnte nicht gespeichert werden",
+    "duplicateName": "Es gibt bereits einen Typ mit diesem Namen",
+    "hasItems": "Diesem Typ ist Ausrüstung zugeordnet. Blenden Sie ihn stattdessen aus, damit die Einträge ihren Typ behalten.",
+    "hidden": "Ausgeblendet",
+    "inUse": "{name} für neue Ausrüstung anbieten",
+    "inUseShort": "In Gebrauch",
+    "itemCount": "{count, plural, =0 {Noch keine Einträge} one {# Eintrag an Fahrzeugen} other {# Einträge an Fahrzeugen}}",
+    "itemCountMarine": "{count, plural, =0 {Noch keine Einträge} one {# Eintrag an Booten} other {# Einträge an Booten}}",
+    "moveUp": "{name} nach oben verschieben",
+    "moveDown": "{name} nach unten verschieben",
+    "rename": "{name} umbenennen",
+    "renameTitle": "Ausrüstungstyp umbenennen",
+    "renameHint": "Einträge dieses Typs und noch nicht ausgestellte Dokumente zeigen den neuen Namen.",
+    "deleteNamed": "{name} löschen",
+    "deleteTitle": "{name} löschen?",
+    "deleteHint": "Er hat keine Einträge, daher ändert sich sonst nichts.",
+    "delete": "Löschen"
+  },
+  "vehicle": {
+    "title": "Ausrüstung",
+    "add": "Ausrüstung hinzufügen",
+    "empty": "Keine Ausrüstung an diesem Fahrzeug.",
+    "emptyMarine": "Keine Ausrüstung an diesem Boot.",
+    "serial": "S/N {serial}",
+    "examinationDue": "Prüfung fällig am {date}",
+    "examinationSoon": "Prüfung bald fällig: {date}",
+    "examinationOverdue": "Prüfung überfällig seit {date}",
+    "showDetails": "Details zu {name} anzeigen",
+    "hideDetails": "Details zu {name} ausblenden",
+    "more": "Mehr zu {name}",
+    "edit": "Bearbeiten",
+    "move": "Auf anderes Fahrzeug umsetzen",
+    "moveMarine": "Auf anderes Boot umsetzen",
+    "remove": "Abbauen",
+    "removeTitle": "{name} abbauen?",
+    "removeHint": "Sie wird von diesem Fahrzeug genommen und mit ihren Zählern, Ständen und ihrem Bericht im Verlauf behalten. Sie können sie wieder anbauen.",
+    "removeHintMarine": "Sie wird von diesem Boot genommen und mit ihren Zählern, Ständen und ihrem Bericht im Verlauf behalten. Sie können sie wieder anbauen.",
+    "removed": "{name} abgebaut",
+    "delete": "Löschen",
+    "deleteTitle": "{name} endgültig löschen?",
+    "deleteHint": "Verlauf, Zähler, Stände und Berichtsdatei werden ebenfalls gelöscht. Um sie zu behalten, bauen Sie die Ausrüstung stattdessen ab.",
+    "deleteJobs": "{count, plural, one {# Arbeitsauftrag arbeitet daran und zeigt sie dann nicht mehr an.} other {# Arbeitsaufträge arbeiten daran und zeigen sie dann nicht mehr an.}} Ausgestellte Rechnungen behalten ihre gedruckte Kopie.",
+    "deleted": "{name} gelöscht",
+    "history": "{count, plural, one {Frühere Ausrüstung (#)} other {Frühere Ausrüstung (#)}}",
+    "movedTo": "Am {date} umgesetzt auf <vehicle></vehicle>",
+    "movedOn": "Am {date} umgesetzt",
+    "removedOn": "Abgebaut am {date}",
+    "refit": "Wieder anbauen",
+    "refitted": "{name} wieder angebaut",
+    "saveError": "Die Ausrüstung konnte nicht gespeichert werden"
+  },
+  "form": {
+    "addTitle": "Ausrüstung hinzufügen",
+    "editTitle": "Ausrüstung bearbeiten",
+    "type": "Typ",
+    "make": "Hersteller",
+    "model": "Modell",
+    "serialNumber": "Seriennummer",
+    "manufacture": "Baujahr",
+    "manufacturePlaceholder": "2019 oder {date}",
+    "manufactureHint": "Nur ein Jahr, etwa 2019, oder ein vollständiges Datum, etwa {date}.",
+    "manufactureInvalid": "Geben Sie ein Jahr ein, etwa 2019, oder ein vollständiges Datum, etwa {date}.",
+    "manufactureFuture": "Das Baujahr liegt in der Zukunft.",
+    "installDate": "Montiert",
+    "ratedCapacity": "Nenntragfähigkeit",
+    "ratedCapacityPlaceholder": "z. B. 8 t",
+    "lastExaminedAt": "Zuletzt geprüft",
+    "nextExaminationDue": "Nächste Prüfung fällig",
+    "certificateReference": "Prüfbescheinigung Nr.",
+    "report": "Prüfbericht",
+    "attachReport": "Bericht anhängen",
+    "uploading": "Wird hochgeladen…",
+    "uploadError": "Die Datei konnte nicht hochgeladen werden",
+    "removeReport": "{name} entfernen",
+    "notes": "Notizen",
+    "added": "Ausrüstung hinzugefügt",
+    "updated": "Ausrüstung gespeichert",
+    "saveError": "Die Ausrüstung konnte nicht gespeichert werden"
+  },
+  "move": {
+    "title": "{name} umsetzen",
+    "hint": "Zähler, Stände, Bericht und Arbeitsverlauf gehen mit. Der Verlauf dieses Fahrzeugs zeigt, wohin sie gegangen ist.",
+    "hintMarine": "Zähler, Stände, Bericht und Arbeitsverlauf gehen mit. Der Verlauf dieses Boots zeigt, wohin sie gegangen ist.",
+    "to": "Auf Fahrzeug",
+    "toMarine": "Auf Boot",
+    "pick": "Fahrzeug auswählen",
+    "pickMarine": "Boot auswählen",
+    "noVehicles": "Keine Fahrzeuge gefunden.",
+    "noVehiclesMarine": "Keine Boote gefunden.",
+    "confirm": "Umsetzen",
+    "moved": "{name} umgesetzt",
+    "saveError": "Die Ausrüstung konnte nicht umgesetzt werden"
+  },
+  "workOn": {
+    "label": "Arbeiten an",
+    "none": "Keine Ausrüstung gewählt",
+    "search": "Ausrüstung suchen",
+    "noMatch": "Keine passende Ausrüstung",
+    "saveError": "Konnte nicht speichern, woran der Auftrag arbeitet",
+    "moved": "Seitdem umgesetzt",
+    "removed": "Seitdem abgebaut"
+  }
+}

+ 11 - 0
messages/de/integrations.json

@@ -731,6 +731,13 @@
         "startDateHelp": "Leer lassen, um jede ausgestellte Rechnung zu senden. Nutze das Datum, an dem deine Bücher zu QuickBooks gewechselt sind, damit ältere Rechnungen nicht doppelt erfasst werden.",
         "includeVehicle": "Fahrzeug auf der Rechnung nennen",
         "includeVehicleHelp": "Eine Textzeile über den Positionen mit Baujahr, Marke, Modell, Kennzeichen und Kilometerstand, damit die Buchhaltung weiß, um welches Auto es geht.",
+        "customerReference": "Kundenreferenz / Bestellnr.",
+        "customerReferenceHelp": "Wo die Referenz / Bestellnr. aus dem Arbeitsauftrag auf der QuickBooks-Rechnung landet. QuickBooks hat auf Rechnungen kein eigenes Feld für die Bestellnummer, daher kann sie der Nachricht an deinen Kunden vorangestellt werden oder eines deiner benutzerdefinierten Felder in Verkaufsformularen füllen. Betroffen sind nur Arbeitsaufträge mit einer Referenz.",
+        "customerReferenceNone": "Nicht senden",
+        "customerReferenceMemo": "In der Nachricht auf der Rechnung",
+        "customerReferenceCustomField": "In einem benutzerdefinierten Feld",
+        "customerReferenceField": "Benutzerdefiniertes Feld für die Referenz",
+        "customerReferenceFieldHelp": "Die benutzerdefinierten Felder, die in QuickBooks für Verkaufsformulare eingeschaltet sind (Account and settings, Sales, Sales form content). Lege dort zuerst ein Feld wie P.O. Number an oder schalte es ein. Gesendet werden die ersten 31 Zeichen der Referenz, und eine später hier entfernte Referenz bleibt auf einer bereits übertragenen Rechnung stehen.",
         "laborItemId": "Artikel für Arbeitspositionen",
         "laborItemIdHelp": "Leer lassen, dann wird beim ersten Mal ein Artikel namens Labour unter deinem Ertragskonto angelegt.",
         "partsItemId": "Artikel für Teilepositionen",
@@ -783,6 +790,7 @@
         "referenceVehicle": "Fahrzeug und Kennzeichen",
         "referenceTitle": "Auftragstitel",
         "referenceInvoiceNumber": "Torqvoice-Rechnungsnummer",
+        "referenceCustomerReference": "Referenz / Bestellnr. aus dem Arbeitsauftrag (sonst Fahrzeug und Kennzeichen)",
         "referenceNone": "Nichts",
         "includeVehicle": "Fahrzeug auf der Rechnung nennen",
         "includeVehicleHelp": "Eine Textzeile über den Positionen mit Baujahr, Marke, Modell, Kennzeichen und Kilometerstand.",
@@ -877,6 +885,7 @@
         "referenceVehicle": "Fahrzeug und Kennzeichen",
         "referenceTitle": "Auftragstitel",
         "referenceInvoiceNumber": "Torqvoice-Rechnungsnummer",
+        "referenceCustomerReference": "Referenz / Bestellnr. aus dem Arbeitsauftrag (sonst Fahrzeug und Kennzeichen)",
         "referenceNone": "Nichts",
         "includeVehicle": "Fahrzeug auf der Rechnung nennen",
         "includeVehicleHelp": "Baujahr, Marke, Modell, Kennzeichen und Kilometerstand, zusammen mit den Hinweisen an den Kunden.",
@@ -955,6 +964,8 @@
         "startDateHelp": "Leer lassen, um jede ausgestellte Rechnung zu senden. Nutze das Datum, an dem deine Bücher zu Fiken gewechselt sind, damit ältere Rechnungen nicht doppelt erfasst werden.",
         "attachPdf": "Rechnungs-PDF anhängen",
         "attachPdfHelp": "Eine Rechnung geht als Verkauf (Annet salg) mit ihrer Torqvoice-Nummer nach Fiken. Ist dies an, wird das PDF, das der Kunde erhalten hat, als Beleg am Verkauf abgelegt.",
+        "customerReferenceInText": "Kundenreferenz / Bestellnr. in den Text des Verkaufs schreiben",
+        "customerReferenceInTextHelp": "Ein Verkauf in Fiken hat kein Feld für eine Referenz, daher wird die Referenz / Bestellnr. aus dem Arbeitsauftrag als Deres ref. vor die erste Zeile gesetzt. Fiken kann einen erfassten Verkauf nicht mehr ändern: Eine Referenz, die nach der Übertragung der Rechnung hinzukommt, wird nicht gesendet.",
         "laborAccount": "Erlöskonto für Arbeit",
         "laborAccountHelp": "Leer lassen, um 3000 zu verwenden.",
         "partsAccount": "Erlöskonto für Teile",

+ 16 - 1
messages/de/pdf.json

@@ -227,6 +227,8 @@
     "signature": "Unterschrift",
     "signedBy": "Unterzeichnet von",
     "signatureDate": "Datum",
+    "customerReference": "Ihre Referenz / Bestellnr.",
+    "fleetNumber": "Fuhrpark-Nr.",
     "conditionMapTitle": "Fahrzeugzustand",
     "conditionMapNo": "Nr.",
     "conditionMapArea": "Bereich",
@@ -238,7 +240,20 @@
     "serviceTypeUpgrade": "Verbesserung",
     "serviceTypeInspection": "Überprüfung",
     "customFieldYes": "Ja",
-    "customFieldNo": "Nein"
+    "customFieldNo": "Nein",
+    "equipmentTitle": "Ausrüstung",
+    "equipmentType": "Typ",
+    "equipmentMake": "Hersteller",
+    "equipmentModel": "Modell",
+    "equipmentManufactureYear": "Baujahr",
+    "equipmentSerialNumber": "Serien-Nr.",
+    "equipmentInstallDate": "Montiert",
+    "equipmentRatedCapacity": "Tragfähigkeit",
+    "equipmentLastExamined": "Zuletzt geprüft",
+    "equipmentNextExamination": "Nächste Prüfung",
+    "equipmentCertificateReference": "Prüfbescheinigung",
+    "equipmentMeters": "Zählerstände",
+    "equipmentNotes": "Notizen"
   },
   "workOrder": {
     "title": "ARBEITSAUFTRAG",

+ 3 - 0
messages/de/portal.json

@@ -364,6 +364,7 @@
     "summaryPaid": "Bezahlt",
     "summaryLeft": "Noch offen",
     "summaryDue": "Fälligkeitsdatum",
+    "summaryReference": "Ihre Referenz / Bestellnr.",
     "summaryDate": "Datum",
     "fullInvoice": "Die vollständige Rechnung"
   },
@@ -420,6 +421,7 @@
     "vin": "VIN: {vin}",
     "vinMarine": "HIN: {vin}",
     "typeKey": "HSN/TSN: {typeKey}",
+    "fleetNumber": "Fuhrpark-Nr.: {fleetNumber}",
     "distanceKm": "{value} km",
     "distanceMi": "{value} mi",
     "engineHours": "{value} Betriebsstunden",
@@ -598,6 +600,7 @@
     "number": "Angebotsnummer",
     "date": "Datum",
     "validUntil": "Gültig bis",
+    "reference": "Ihre Referenz / Bestellnr.",
     "vehicle": "Fahrzeug",
     "fullQuote": "Das vollständige Angebot",
     "answerTitle": "Die Werkstatt wartet auf Ihre Antwort",

+ 1 - 0
messages/de/quotes.json

@@ -75,6 +75,7 @@
         "mileage": "{count} {unit}"
       }
     },
+    "convertReferenceKept": "Der Auftrag hat seine eigene Referenz / Bestellnr. behalten, {job}. Die des Angebots, {quote}, wurde nicht übernommen.",
     "convert": "Umwandeln",
     "convertToWorkOrder": "In Arbeitsauftrag umwandeln",
     "cancel": "Abbrechen",

+ 9 - 0
messages/de/service.json

@@ -761,6 +761,15 @@
     "fromQuote": "Aus Angebot {ref}",
     "startInspection": "Inspektion starten"
   },
+  "reference": {
+    "label": "Referenz / Bestellnr.",
+    "placeholder": "Bestellnummer oder Referenz",
+    "requiredNotice": "Dieser Kunde braucht eine Referenz oder Bestellnummer auf seinen Rechnungen. Trage sie ein, bevor die Rechnung versendet wird.",
+    "requiredToInvoice": "Dieser Kunde braucht eine Referenz oder Bestellnummer auf seinen Rechnungen. Fülle Referenz / Bestellnr. am Arbeitsauftrag aus und sende dann die Rechnung.",
+    "saveFailed": "Referenz konnte nicht gespeichert werden",
+    "saved": "Gespeichert",
+    "notSwitchedOn": "Das Feld Referenz / Bestellnr. ist für diese Werkstatt ausgeschaltet. Schalte es unter Einstellungen, Rechnung & Angebote, Benutzerdefinierte Felder ein."
+  },
   "photoHandoff": {
     "button": "Vom Handy hinzufügen",
     "dialogTitle": "Fotos und Dokumente per Handy hinzufügen",

+ 185 - 5
messages/de/settings.json

@@ -754,7 +754,8 @@
       "concerns": "Kundenanliegen",
       "job_description": "Gewünschte Arbeiten",
       "work_checklist": "Arbeitscheckliste",
-      "condition_map": "Fahrzeugzustand"
+      "condition_map": "Fahrzeugzustand",
+      "equipment": "Ausrüstung"
     },
     "fields": {
       "customer_name": "Kundenname",
@@ -763,11 +764,13 @@
       "customer_email": "E-Mail",
       "customer_phone": "Telefon",
       "customer_tax_id": "USt-IdNr.",
+      "customer_reference": "Ihre Referenz / Bestellnr.",
       "vehicle_name": "Fahrzeug",
       "vin": "FIN",
       "license_plate": "Kennzeichen",
       "mileage": "Kilometerstand",
       "hsn_tsn": "HSN/TSN",
+      "fleet_number": "Fuhrpark- / Fahrzeugnummer",
       "service_title": "Servicetitel",
       "service_type": "Servicetyp",
       "tech_name": "Techniker",
@@ -817,7 +820,22 @@
       "customer_line": "Unterschriftszeile Kunde",
       "legend": "Legende",
       "previous_marks": "Frühere Markierungen",
-      "blank_sheet": "Leeres Blatt zum Ausfüllen von Hand"
+      "blank_sheet": "Leeres Blatt zum Ausfüllen von Hand",
+      "meter_readings": "Zählerstände",
+      "vehicle_photo": "Fahrzeugfoto",
+      "vehicle_photoMarine": "Bootsfoto",
+      "equipment_type": "Typ",
+      "equipment_make": "Hersteller",
+      "equipment_model": "Modell",
+      "equipment_manufacture_year": "Baujahr",
+      "equipment_serial_number": "Seriennummer",
+      "equipment_install_date": "Montiert",
+      "equipment_rated_capacity": "Nenntragfähigkeit",
+      "equipment_last_examined": "Zuletzt geprüft",
+      "equipment_next_examination": "Nächste Prüfung fällig",
+      "equipment_certificate_reference": "Prüfbescheinigung Nr.",
+      "equipment_meters": "Zählerstände",
+      "equipment_notes": "Notizen"
     },
     "presetsTitle": "Mit einer Anordnung beginnen",
     "presetsHint": "Ersetzt die Anordnung unten. Nichts wird gespeichert, bis Sie speichern.",
@@ -1147,11 +1165,16 @@
   },
   "customFields": {
     "title": "Benutzerdefinierte Felder",
-    "description": "Definieren Sie benutzerdefinierte Felder, die auf Serviceberichten und Angeboten erscheinen.",
+    "description": "Die zusätzlichen Angaben, die Ihre Werkstatt erfasst: fertige Felder, eigene Felder, Zähler und Ausrüstung.",
     "addField": "Feld hinzufügen",
     "filterAll": "Alle",
     "serviceRecord": "Servicebericht",
     "quote": "Angebot",
+    "vehicle": "Fahrzeug",
+    "vehicleMarine": "Wasserfahrzeug",
+    "customer": "Kunde",
+    "recordPlacementHint": "Wird am Fahrzeug oder Kunden und in deren Formularen angezeigt. Um es auf Rechnungen, Angeboten oder Arbeitsaufträgen zu drucken, füge es im Dokument-Designer zu einem Block hinzu.",
+    "recordPlacementHintMarine": "Wird am Wasserfahrzeug oder Kunden und in deren Formularen angezeigt. Um es auf Rechnungen, Angeboten oder Arbeitsaufträgen zu drucken, füge es im Dokument-Designer zu einem Block hinzu.",
     "emptyState": "Noch keine benutzerdefinierten Felder definiert. Klicken Sie auf \"Feld hinzufügen\", um eines zu erstellen.",
     "required": "Erforderlich",
     "inactive": "Inaktiv",
@@ -1202,7 +1225,30 @@
     "dateError": "{label} muss ein gültiges Datum sein",
     "optionError": "{label} muss eine der vorgegebenen Optionen sein",
     "checkboxError": "{label} muss entweder angehakt oder nicht angehakt sein",
-    "tooLongError": "{label} darf höchstens {max} Zeichen lang sein"
+    "tooLongError": "{label} darf höchstens {max} Zeichen lang sein",
+    "notSavedMissing": "Nicht gespeichert. Bitte ausfüllen: {fields}",
+    "notSavedInvalid": "Nicht gespeichert. Bitte prüfen: {fields}",
+    "valueYes": "Ja",
+    "valueNo": "Nein",
+    "readyMade": {
+      "title": "Fertige Felder",
+      "description": "Felder, die Torqvoice schon mitbringt. Jedes bleibt aus, bis Sie es einschalten.",
+      "customerReferenceTitle": "Referenz / Bestellnr.",
+      "customerReferenceEnabled": "Kundenreferenz oder Bestellnummer an Arbeitsaufträgen und Angeboten erfassen",
+      "customerReferenceHint": "Ergänzt Arbeitsaufträge, Thekenverkäufe und Angebote um ein Feld Referenz / Bestellnr. für die Bestellnummer oder Referenz, die dir dein Kunde nennt. Sie lässt sich im Dokument-Designer auf Rechnungen, Angebote und Arbeitsaufträge drucken, über die Suche finden und an deine Buchhaltung senden. Ein Kunde kann als Bestellnr. erforderlich markiert werden, seine Rechnungen warten dann, bis die Referenz eingetragen ist. Beim Ausschalten wird das Feld wieder ausgeblendet, eingegebene Werte bleiben erhalten.",
+      "fleetNumberTitle": "Fuhrpark- / Fahrzeugnummer",
+      "fleetNumberEnabled": "Fuhrpark- oder Fahrzeugnummer an Fahrzeugen erfassen",
+      "fleetNumberEnabledMarine": "Fuhrpark- oder Fahrzeugnummer an Wasserfahrzeugen erfassen",
+      "fleetNumberHint": "Ergänzt Fahrzeuge um ein Feld Fuhrpark- / Fahrzeugnummer, für die Nummer, unter der dein Kunde das Fahrzeug in seinem eigenen Fuhrpark führt. Sie wird am Fahrzeug und im Arbeitsauftrag angezeigt, Fahrzeuge lassen sich über die Suche danach finden, und sie lässt sich im Dokument-Designer auf Rechnungen, Angebote und Arbeitsaufträge drucken. Beim Ausschalten wird das Feld wieder ausgeblendet, eingegebene Werte bleiben erhalten.",
+      "fleetNumberHintMarine": "Ergänzt Wasserfahrzeuge um ein Feld Fuhrpark- / Fahrzeugnummer, für die Nummer, unter der dein Kunde das Wasserfahrzeug in seiner eigenen Flotte führt. Sie wird am Wasserfahrzeug und im Arbeitsauftrag angezeigt, Wasserfahrzeuge lassen sich über die Suche danach finden, und sie lässt sich im Dokument-Designer auf Rechnungen, Angebote und Arbeitsaufträge drucken. Beim Ausschalten wird das Feld wieder ausgeblendet, eingegebene Werte bleiben erhalten.",
+      "saved": "Einstellungen gespeichert",
+      "failedSave": "Einstellungen konnten nicht gespeichert werden"
+    },
+    "ownFields": {
+      "title": "Eigene Felder",
+      "description": "Felder, die Sie selbst anlegen, für Aufträge, Angebote, Fahrzeuge und Kunden.",
+      "descriptionMarine": "Felder, die Sie selbst anlegen, für Aufträge, Angebote, Wasserfahrzeuge und Kunden."
+    }
   },
   "workshop": {
     "title": "Werkstatt-Standards",
@@ -2632,7 +2678,98 @@
     "conditionMapViewsSides": "Nur die Seiten",
     "conditionMapWidthHint": "Leer füllt die Zeile. Punkte angeben, um die Zeichnung zu verkleinern; sie sitzt dann nach der Ausrichtung, und die Legende behält die volle Breite.",
     "conditionMapDense": "Kompakte Tabelle",
-    "conditionMapDenseHint": "Setzt die Zeilen der Tabelle unter der Zeichnung enger, sodass sie weniger Platz auf der Seite braucht."
+    "conditionMapDenseHint": "Setzt die Zeilen der Tabelle unter der Zeichnung enger, sodass sie weniger Platz auf der Seite braucht.",
+    "equipmentList": "Welche Ausrüstung",
+    "equipmentListVehicle": "Am Fahrzeug",
+    "equipmentListVehicleMarine": "Am Boot",
+    "equipmentListJob": "Bearbeitet",
+    "equipmentListHint": "Am Fahrzeug listet alles, was derzeit daran montiert ist. Bearbeitet listet nur die Ausrüstung, an der der Auftrag oder das Angebot arbeitet. Die Felder unten bestimmen die Spalten und ihre Reihenfolge.",
+    "equipmentListHintMarine": "Am Boot listet alles, was derzeit daran montiert ist. Bearbeitet listet nur die Ausrüstung, an der der Auftrag oder das Angebot arbeitet. Die Felder unten bestimmen die Spalten und ihre Reihenfolge.",
+    "equipmentNoneHint": "Legen Sie unter Einstellungen, Rechnung & Angebote, Benutzerdefinierte Felder Ausrüstungsarten an, um hier die Ausrüstung des Fahrzeugs zu drucken.",
+    "equipmentNoneHintMarine": "Legen Sie unter Einstellungen, Rechnung & Angebote, Benutzerdefinierte Felder Ausrüstungsarten an, um hier die Ausrüstung des Boots zu drucken.",
+    "vehiclePhoto": "Fahrzeugfoto",
+    "vehiclePhotoMarine": "Bootsfoto",
+    "vehiclePhotoOff": "Aus",
+    "vehiclePhotoBeside": "Foto neben den Angaben",
+    "vehiclePhotoFaded": "Blasser Hintergrund",
+    "vehiclePhotoHint": "Druckt das am Fahrzeug gespeicherte Foto. Blasser Hintergrund hellt es nur hinter diesem Block auf, so stark, dass der Text lesbar bleibt. Ein Fahrzeug ohne Foto wird wie bisher gedruckt.",
+    "vehiclePhotoHintMarine": "Druckt das am Boot gespeicherte Foto. Blasser Hintergrund hellt es nur hinter diesem Block auf, so stark, dass der Text lesbar bleibt. Ein Boot ohne Foto wird wie bisher gedruckt.",
+    "equipmentTitle": "Überschrift",
+    "equipmentTitleHint": "Leer lassen, um die Standardüberschrift in der Sprache des Dokuments zu drucken, oder eine eigene schreiben, zum Beispiel \"Angaben zur angebauten Ausrüstung\".",
+    "search": {
+      "label": "Designer durchsuchen",
+      "placeholder": "Abschnitt oder Feld suchen",
+      "clear": "Suche löschen",
+      "results": "Suchergebnisse",
+      "count": "{count, plural, one {# Treffer} other {# Treffer}}",
+      "emptySpoken": "Keine Treffer",
+      "emptyTitle": "Nichts in diesem Dokument passt zu „{query}“",
+      "emptyHint": "Die Suche findet Abschnitte und ihre Felder, auch Ihre eigenen Felder.",
+      "groups": {
+        "fields": "Felder",
+        "sections": "Abschnitte",
+        "styling": "Dokumentgestaltung"
+      },
+      "state": {
+        "shown": "Sichtbar",
+        "off": "Aus",
+        "hiddenSection": "Ausgeblendeter Abschnitt",
+        "needsSetting": "Einstellung nötig",
+        "notPlaced": "Nicht platziert"
+      },
+      "needsSettingLine": "{section} · In den Einstellungen nicht aktiviert",
+      "needsSettingNote": "Für diese Werkstatt nicht aktiviert und daher noch nicht druckbar. Aktivieren Sie es unter Einstellungen, Benutzerdefinierte Felder, dann erscheint es in dieser Liste.",
+      "openSettings": "Einstellungen öffnen",
+      "keys": {
+        "move": "Bewegen",
+        "go": "Gehe zu",
+        "close": "Schließen"
+      },
+      "aliases": {
+        "customer_reference": "bestellnummer, bestellnr, auftragsnummer, referenz, kundenreferenz, ihr zeichen, po, einkaufsauftrag",
+        "fleet_number": "fuhrpark, fuhrparknummer, flottennummer, fahrzeugnummer, wagennummer, inventarnummer, einheit",
+        "meter_readings": "zähler, zählerstand, betriebsstunden, motorstunden, stundenzähler, zapfwelle",
+        "mileage": "kilometerstand, km-stand, km, tacho, laufleistung, meilen",
+        "odometer": "kilometerstand, tachostand, km, tacho, laufleistung, meilen",
+        "license_plate": "kennzeichen, nummernschild, kfz-kennzeichen, amtliches kennzeichen, zulassung",
+        "vin": "fahrgestellnummer, fin, vin, fahrzeug-identnummer, rahmennummer, seriennummer",
+        "hsn_tsn": "typschlüssel, schlüsselnummer, kba, hsn, tsn, herstellerschlüssel",
+        "vehicle_photo": "bild, foto, fahrzeugbild, aufnahme",
+        "customer_tax_id": "ust-idnr, umsatzsteuer-id, steuernummer, ust, mwst, uid",
+        "customer_address": "straße, plz, ort, stadt, anschrift",
+        "customer_phone": "telefon, tel, handy, mobil, rufnummer",
+        "customer_email": "mail, e-mail, email, e-mail-adresse",
+        "company_org_number": "handelsregister, hrb, steuernummer, ust-idnr, firmennummer, registernummer",
+        "company_phone": "telefon, tel, handy, mobil",
+        "company_email": "mail, e-mail, email",
+        "logo": "firmenlogo, marke, bild, signet",
+        "portal_link": "kundenportal, portal, link, url",
+        "footer_note": "fußzeile, fußtext, text unten",
+        "invoice_number": "rechnungsnummer, rechnungsnr, belegnummer, angebotsnummer, dokumentnummer",
+        "due_date": "fällig, fälligkeit, zahlungsziel, zahlbar bis, frist",
+        "payment_terms": "zahlungsbedingungen, zahlungsziel, netto tage, skonto",
+        "tech_name": "mechaniker, monteur, techniker, mitarbeiter, ausgeführt von, bearbeiter",
+        "section_bank_account": "bankverbindung, zahlung, bank, iban, bic, kontonummer",
+        "section_items_table": "positionen, zeilen, artikel, leistungen, posten",
+        "section_parts_table": "teile, ersatzteile, material",
+        "section_labor_table": "arbeit, arbeitszeit, arbeitswerte, aw, stunden, lohn",
+        "section_totals": "summe, gesamt, zwischensumme, mwst, steuer, betrag",
+        "section_header": "briefkopf, firma, kopf, oben",
+        "section_footer": "fußzeile, fuß, unten",
+        "section_document_title": "überschrift, titel, nummer, datum",
+        "section_signature": "unterschrift, unterzeichnet, signatur",
+        "section_telegram_qr": "qr-code, qr, chat, telegram",
+        "section_job_qr": "qr-code, qr, handy, smartphone",
+        "section_condition_map": "schaden, schäden, dellen, kratzer, karosserie, schadenskizze",
+        "section_notes": "notizen, bemerkungen, hinweise, kommentar, nachricht",
+        "styling_headerStyle": "briefkopf, layout, banner, rahmen, kopfbereich",
+        "styling_colors": "farben, farbe, primärfarbe, akzent, hintergrund, design",
+        "styling_typography": "schrift, schriftart, schriftgröße, textgröße, typografie",
+        "styling_page": "ränder, seitenränder, zeilenhöhe, streifen, abstand",
+        "styling_frame": "rahmen, rand, schatten, ecken, eckenradius",
+        "styling_orgNumberLabel": "ust-idnr, steuernummer, firmennummer, handelsregister, beschriftung"
+      }
+    }
   },
   "preview": {
     "title": "Bremsenservice und Ölwechsel",
@@ -2788,6 +2925,10 @@
         "label": "Dokumenttitel",
         "description": "Der Titel des Auftrags oder Dokuments."
       },
+      "customer_reference": {
+        "label": "Referenz / Bestellnr.",
+        "description": "Die Referenz oder Bestellnummer, die dein Kunde für den Auftrag angegeben hat. Leer, wenn es keine gibt."
+      },
       "total": {
         "label": "Gesamtbetrag",
         "description": "Der Gesamtbetrag des Dokuments in seiner Währung."
@@ -3220,5 +3361,44 @@
       "bulkRevoked": "{count, plural, one {# Link entfernt} other {# Links entfernt}}",
       "bulkRevokeFailed": "Die Links konnten nicht entfernt werden. Versuchen Sie es erneut."
     }
+  },
+  "meters": {
+    "title": "Zähler",
+    "description": "Zähler, die Sie neben dem Kilometerzähler an Fahrzeugen ablesen, etwa Betriebsstunden oder Zapfwellenstunden. Legen Sie bei jedem Fahrzeug fest, welche davon es hat; Stände werden am Fahrzeug und in Arbeitsaufträgen erfasst und lassen sich über den Dokumentdesigner auf Rechnungen, Angeboten und Arbeitsaufträgen drucken.",
+    "descriptionMarine": "Zähler, die Sie neben den Betriebsstunden an Wasserfahrzeugen ablesen, etwa Zapfwellenstunden oder Generatorstunden. Legen Sie bei jedem Wasserfahrzeug fest, welche davon es hat; Stände werden am Wasserfahrzeug und in Arbeitsaufträgen erfasst und lassen sich über den Dokumentdesigner auf Rechnungen, Angeboten und Arbeitsaufträgen drucken.",
+    "name": "Name",
+    "namePlaceholder": "z. B. Betriebsstunden",
+    "unit": "Einheit",
+    "unitPlaceholder": "z. B. Std.",
+    "add": "Zähler hinzufügen",
+    "addTitle": "Einen Zähler hinzufügen",
+    "requiredBadge": "Erforderlich",
+    "options": {
+      "required": "Bei Arbeitsaufträgen erforderlich",
+      "requiredHint": "Wird beim Abschließen des Auftrags abgefragt und bevor die Rechnung gesendet wird."
+    },
+    "suggestions": "Vorschläge:",
+    "suggestEngineHours": "Betriebsstunden",
+    "suggestPtoHours": "Zapfwellenstunden",
+    "hoursUnit": "Std.",
+    "hidden": "Ausgeblendet",
+    "inUse": "{name} verwenden",
+    "inUseShort": "In Gebrauch",
+    "onVehicles": "{count, plural, =0 {Noch an keinem Fahrzeug} one {An # Fahrzeug} other {An # Fahrzeugen}}",
+    "onVehiclesMarine": "{count, plural, =0 {Noch an keinem Wasserfahrzeug} one {An # Wasserfahrzeug} other {An # Wasserfahrzeugen}}",
+    "edit": "{name} bearbeiten",
+    "editTitle": "Zähler bearbeiten",
+    "editHint": "Ein neuer Name oder eine neue Einheit erscheint überall, wo der Zähler erscheint, auch auf ab jetzt gedruckten Dokumenten. Bereits ausgestellte Rechnungen behalten, was sie gedruckt haben.",
+    "delete": "Zähler löschen",
+    "deleteNamed": "{name} löschen",
+    "deleteTitle": "{name} löschen?",
+    "deleteHint": "{count, plural, =0 {Er ist noch an keinem Fahrzeug.} one {Er ist an # Fahrzeug, und seine Stände dort werden mit gelöscht.} other {Er ist an # Fahrzeugen, und deren Stände werden mit gelöscht.}} Um die Stände zu behalten, nehmen Sie ihn stattdessen außer Gebrauch.",
+    "deleteHintMarine": "{count, plural, =0 {Er ist noch an keinem Wasserfahrzeug.} one {Er ist an # Wasserfahrzeug, und seine Stände dort werden mit gelöscht.} other {Er ist an # Wasserfahrzeugen, und deren Stände werden mit gelöscht.}} Um die Stände zu behalten, nehmen Sie ihn stattdessen außer Gebrauch.",
+    "created": "{name} hinzugefügt",
+    "updated": "{name} gespeichert",
+    "deleted": "{name} gelöscht",
+    "saveError": "Der Zähler konnte nicht gespeichert werden",
+    "duplicateName": "Es gibt bereits einen Zähler mit diesem Namen.",
+    "odometerName": "\"{name}\" ist der Kilometerzähler, den jedes Fahrzeug bereits hat. Geben Sie dem Zähler einen anderen Namen."
   }
 }

+ 8 - 0
messages/de/setup.json

@@ -0,0 +1,8 @@
+{
+  "heavyVehicles": {
+    "command": "Für Fuhrparks und Nutzfahrzeuge einrichten",
+    "commandMarine": "Für Fuhrparks und Berufsschiffe einrichten",
+    "docs": "Leitfaden für Fuhrparks und Nutzfahrzeuge lesen",
+    "docsMarine": "Leitfaden für Fuhrparks und Berufsschiffe lesen"
+  }
+}

+ 66 - 1
messages/de/vehicles.json

@@ -36,7 +36,8 @@
     "inspectionDue30": "Fällig in 30 Tagen",
     "inspectionDue90": "Fällig in 90 Tagen",
     "inspectionDue": "HU {date}",
-    "remindCustomers": "Diese Kunden erinnern"
+    "remindCustomers": "Diese Kunden erinnern",
+    "fleetNumber": "Fuhrpark- / Fahrzeugnummer"
   },
   "detail": {
     "vehicleArchived": "Dieses Fahrzeug ist archiviert",
@@ -102,6 +103,7 @@
     "inspectionCheckedAt": "Mit dem Register abgeglichen am {date}",
     "notRegistered": "Nicht zugelassen",
     "soldReported": "Kunde meldet Verkauf am {date}",
+    "fleetNumber": "Fuhrpark-Nr.",
     "typeKey": "HSN/TSN",
     "addPhoto": "Foto hinzufügen",
     "changePhoto": "Foto ändern",
@@ -401,6 +403,9 @@
     "hsn": "HSN",
     "tsn": "TSN",
     "typeKey": "HSN/TSN",
+    "fleetNumber": "Fuhrpark- / Fahrzeugnummer",
+    "fleetNumberPlaceholder": "z.B. T-208",
+    "fleetNumberTooLong": "Fuhrpark- / Fahrzeugnummer darf höchstens {max} Zeichen lang sein",
     "typeKeyHint": "Aus der Zulassungsbescheinigung Teil I: HSN steht in Feld 2.1, TSN sind die ersten drei Zeichen in Feld 2.2.",
     "hsnInvalid": "Die HSN besteht aus vier Ziffern, aus Feld 2.1 der Zulassungsbescheinigung.",
     "tsnInvalid": "Die TSN besteht aus drei Buchstaben oder Ziffern, vom Anfang von Feld 2.2 der Zulassungsbescheinigung.",
@@ -679,5 +684,65 @@
     "refreshed": "Sicherheitsdaten aktualisiert",
     "openSite": "Auf {source} öffnen",
     "errorLoad": "Sicherheitsdaten konnten nicht geladen werden"
+  },
+  "meters": {
+    "title": "Zähler",
+    "addMeter": "Zähler hinzufügen",
+    "addMeterTitle": "Einen Zähler hinzufügen",
+    "addMeterHint": "Welche Zähler der Werkstatt dieses Fahrzeug hat. Ein erster Stand kann jetzt oder später eingegeben werden.",
+    "addMeterHintMarine": "Welche Zähler der Werkstatt dieses Wasserfahrzeug hat. Ein erster Stand kann jetzt oder später eingegeben werden.",
+    "meter": "Zähler",
+    "firstReading": "Erster Stand (optional)",
+    "noMeters": "Dieses Fahrzeug hat noch keinen der Zähler der Werkstatt.",
+    "noMetersMarine": "Dieses Wasserfahrzeug hat noch keinen der Zähler der Werkstatt.",
+    "readOn": "Abgelesen am {date}",
+    "total": "Gesamt {total}",
+    "meterActions": "{name}: mehr",
+    "addReading": "Stand erfassen",
+    "addReadingTitle": "Neuer Stand für {name}",
+    "currentIs": "Letzter Stand: {reading}",
+    "reading": "Stand",
+    "readingDate": "Ablesedatum",
+    "saveReading": "Stand speichern",
+    "readingSaved": "Stand für {name} gespeichert",
+    "lowerReading": "Unter dem letzten Stand, {last}. Er wird trotzdem gespeichert.",
+    "savedLower": "Stand für {name} gespeichert. Er liegt unter dem letzten Stand, {last}.",
+    "invalidReading": "Geben Sie den Stand als Zahl mit höchstens zwei Dezimalstellen ein.",
+    "saveError": "Der Stand konnte nicht gespeichert werden",
+    "requiredMark": "erforderlich",
+    "requiredMissing": "Erforderlich, bevor der Auftrag abgeschlossen wird.",
+    "requiredNotCompleted": "Nicht abgeschlossen. Bitte ausfüllen: {meters}",
+    "requiredNotMoved": "Nicht verschoben. Ein abgeschlossener Auftrag braucht Zählerstände am neuen Fahrzeug: {meters}. Öffnen Sie den Auftrag wieder, um ihn zu verschieben.",
+    "requiredNotSent": "Nicht gesendet. Bitte ausfüllen: {meters}",
+    "requiredNotShared": "Kein Link erstellt. Bitte ausfüllen: {meters}",
+    "history": "Verlauf",
+    "historyTitle": "Verlauf von {name}",
+    "historyHint": "Ein als falsch markierter Stand bleibt hier, zählt aber nicht mehr.",
+    "noReadings": "Noch keine Stände.",
+    "markWrong": "Als falsch markieren",
+    "countAgain": "Wieder zählen",
+    "wrongBadge": "Falsch",
+    "replacedBadge": "Zähler ersetzt",
+    "replacedLine": "Alter Zähler endete bei {oldEnd}, neuer Zähler begann bei {newStart}",
+    "fromApp": "aus der Techniker-App",
+    "close": "Schließen",
+    "replace": "Zähler ersetzt",
+    "replaceTitle": "Zähler {name} ersetzt",
+    "replaceHint": "Was der alte Zähler beim Ausbau zeigte und was der neue beim Einbau zeigte. Der Gesamtwert läuft über den Wechsel hinweg weiter.",
+    "oldEnd": "Letzter Stand des alten Zählers",
+    "newStart": "Erster Stand des neuen Zählers",
+    "replacedOn": "Datum des Austauschs",
+    "replaceSave": "Speichern",
+    "replacedSaved": "Austausch von {name} gespeichert",
+    "remove": "Von diesem Fahrzeug entfernen",
+    "removeMarine": "Von diesem Wasserfahrzeug entfernen",
+    "removeTitle": "{name} von diesem Fahrzeug entfernen?",
+    "removeTitleMarine": "{name} von diesem Wasserfahrzeug entfernen?",
+    "removeHint": "Die Stände bleiben erhalten und kommen zurück, wenn der Zähler wieder hinzugefügt wird.",
+    "removed": "{name} entfernt",
+    "added": "{name} hinzugefügt",
+    "itemTitle": "Zähler",
+    "noItemMeters": "Keine Zähler an diesem Eintrag.",
+    "addItemMeterHint": "Der Zähler bleibt bei diesem Eintrag, egal wo er montiert ist."
   }
 }

+ 37 - 2
messages/en/audit.json

@@ -212,7 +212,24 @@
     "integration_backup_run": "Started Backup",
     "integration_backup_restore": "Restored Backup",
     "shareLink_expiry": "Changed Share Link Expiry",
-    "shareLink_revoke": "Removed Share Links"
+    "shareLink_revoke": "Removed Share Links",
+    "meterType_create": "Created Meter",
+    "meterType_update": "Updated Meter",
+    "meterType_delete": "Deleted Meter",
+    "vehicleMeter_remove": "Removed Vehicle Meter",
+    "vehicleMeter_replace": "Replaced Vehicle Meter",
+    "meterReading_markWrong": "Marked Meter Reading Wrong",
+    "meterReading_restore": "Counted Meter Reading Again",
+    "equipmentType_create": "Created Equipment Type",
+    "equipmentType_update": "Updated Equipment Type",
+    "equipmentType_reorder": "Reordered Equipment Types",
+    "equipmentType_delete": "Deleted Equipment Type",
+    "equipment_add": "Added Equipment",
+    "equipment_update": "Updated Equipment",
+    "equipment_move": "Moved Equipment",
+    "equipment_remove": "Removed Equipment",
+    "equipment_refit": "Put Equipment Back",
+    "equipment_delete": "Deleted Equipment"
   },
   "summary": {
     "auth_twoFactorEnabled": "Turned on two-factor sign-in",
@@ -383,6 +400,24 @@
     "share_link_expiry_workshop": "Set a share link to follow the workshop setting",
     "share_link_expiry_never": "Set a share link to never expire",
     "share_link_expiry_date": "Set a share link to expire on {date}",
-    "share_link_revoke_bulk": "Removed {count, plural, one {# share link} other {# share links}}"
+    "share_link_revoke_bulk": "Removed {count, plural, one {# share link} other {# share links}}",
+    "meterType_create": "Created meter \"{name}\"",
+    "meterType_update": "Updated meter \"{name}\"",
+    "meterType_delete": "Deleted meter \"{name}\"",
+    "vehicleMeter_remove": "Took meter \"{name}\" off a vehicle",
+    "vehicleMeter_replace": "Replaced meter \"{name}\": old ended at {oldEnd}, new started at {newStart}",
+    "meterReading_markWrong": "Marked {name} reading {value} as wrong",
+    "meterReading_restore": "Counted {name} reading {value} again",
+    "equipmentType_create": "Created equipment type \"{name}\"",
+    "equipmentType_update": "Updated equipment type \"{name}\"",
+    "equipmentType_reorder": "Reordered the equipment types",
+    "equipmentType_delete": "Deleted equipment type \"{name}\"",
+    "equipment_add": "Added {name} to {vehicle}",
+    "equipment_update": "Updated {name} on {vehicle}",
+    "equipment_move": "Moved {name} from {from} to {vehicle}",
+    "equipment_remove": "Removed {name} from {vehicle}",
+    "equipment_refit": "Put {name} back on {vehicle}",
+    "equipment_delete": "Deleted {name} from {vehicle}",
+    "equipment_meter": "Added meter {meter} to {name} on {vehicle}"
   }
 }

+ 3 - 0
messages/en/customers.json

@@ -104,6 +104,9 @@
     "invoiceDesignHint": "Invoices for this customer print with this design instead of the workshop default. An invoice can still choose its own.",
     "reminderOptOut": "No reminders",
     "reminderOptOutHint": "Do not include this customer in inspection reminders or other campaigns.",
+    "poRequired": "PO required",
+    "poRequiredHint": "Invoices for this customer wait until Reference / PO is filled in on the work order.",
+    "poRequiredBadge": "PO required",
     "bookAppointment": "Book appointment"
   },
   "serviceRequests": {

+ 3 - 0
messages/en/dataImport.json

@@ -192,6 +192,7 @@
       "engineCode": "Engine code",
       "hsn": "HSN (manufacturer key)",
       "tsn": "TSN (type key)",
+      "fleetNumber": "Fleet / unit number",
       "purchaseDate": "Purchase date",
       "purchasePrice": "Purchase price"
     },
@@ -202,6 +203,7 @@
       "total": "Total amount",
       "mileage": "Mileage at service",
       "invoiceNumber": "Invoice number",
+      "customerReference": "Reference / PO",
       "notes": "Service notes",
       "technician": "Technician"
     }
@@ -211,6 +213,7 @@
     "invalid_email": "Email \"{value}\" is not valid and was left out",
     "invalid_vin": "VIN \"{value}\" is not 17 characters; kept as typed",
     "invalid_type_key": "{field} \"{value}\" is not a valid HSN or TSN; left out",
+    "fleet_number_too_long": "Fleet / unit number \"{value}\" is longer than 40 characters; left out",
     "vehicle_make_model_required": "Make and model are missing",
     "vehicle_year_required": "Year is missing",
     "vehicle_year_invalid": "Year \"{value}\" is not a valid year",

+ 114 - 0
messages/en/equipment.json

@@ -0,0 +1,114 @@
+{
+  "types": {
+    "title": "Equipment",
+    "description": "The kinds of equipment you fit or service on vehicles, such as a crane, tail lift or hook loader. Add the first one to record equipment on vehicles and work orders. Until then nothing about equipment shows anywhere.",
+    "descriptionMarine": "The kinds of equipment you fit or service on vessels, such as a crane, davit or winch. Add the first one to record equipment on vessels and work orders. Until then nothing about equipment shows anywhere.",
+    "name": "Type",
+    "namePlaceholder": "e.g. Crane",
+    "add": "Add type",
+    "created": "Added {name}",
+    "updated": "Saved {name}",
+    "deleted": "Deleted {name}",
+    "saveError": "Could not save the equipment type",
+    "duplicateName": "There is already a type with that name",
+    "hasItems": "This type has equipment. Hide it instead, so its items keep their type.",
+    "hidden": "Hidden",
+    "inUse": "Offer {name} for new equipment",
+    "inUseShort": "In use",
+    "itemCount": "{count, plural, =0 {No items yet} one {# item on vehicles} other {# items on vehicles}}",
+    "itemCountMarine": "{count, plural, =0 {No items yet} one {# item on vessels} other {# items on vessels}}",
+    "moveUp": "Move {name} up",
+    "moveDown": "Move {name} down",
+    "rename": "Rename {name}",
+    "renameTitle": "Rename equipment type",
+    "renameHint": "Items of this type, and documents not yet issued, show the new name.",
+    "deleteNamed": "Delete {name}",
+    "deleteTitle": "Delete {name}?",
+    "deleteHint": "It has no items, so nothing else changes.",
+    "delete": "Delete"
+  },
+  "vehicle": {
+    "title": "Equipment",
+    "add": "Add equipment",
+    "empty": "No equipment on this vehicle.",
+    "emptyMarine": "No equipment on this vessel.",
+    "serial": "S/N {serial}",
+    "examinationDue": "Examination due {date}",
+    "examinationSoon": "Examination due soon: {date}",
+    "examinationOverdue": "Examination overdue since {date}",
+    "showDetails": "Show details of {name}",
+    "hideDetails": "Hide details of {name}",
+    "more": "More for {name}",
+    "edit": "Edit",
+    "move": "Move to another vehicle",
+    "moveMarine": "Move to another vessel",
+    "remove": "Remove",
+    "removeTitle": "Remove {name}?",
+    "removeHint": "It is taken off this vehicle and kept in its history, with its meters, readings and report. You can put it back.",
+    "removeHintMarine": "It is taken off this vessel and kept in its history, with its meters, readings and report. You can put it back.",
+    "removed": "Removed {name}",
+    "delete": "Delete",
+    "deleteTitle": "Delete {name} for good?",
+    "deleteHint": "Its history, meters, readings and report file are deleted too. To keep them, remove it instead.",
+    "deleteJobs": "{count, plural, one {# work order works on it and will no longer show it.} other {# work orders work on it and will no longer show it.}} Issued invoices keep their printed copy.",
+    "deleted": "Deleted {name}",
+    "history": "{count, plural, one {Earlier equipment (#)} other {Earlier equipment (#)}}",
+    "movedTo": "Moved to <vehicle></vehicle> on {date}",
+    "movedOn": "Moved on {date}",
+    "removedOn": "Removed on {date}",
+    "refit": "Put back",
+    "refitted": "Put {name} back",
+    "saveError": "Could not save the equipment"
+  },
+  "form": {
+    "addTitle": "Add equipment",
+    "editTitle": "Edit equipment",
+    "type": "Type",
+    "make": "Make",
+    "model": "Model",
+    "serialNumber": "Serial number",
+    "manufacture": "Manufactured",
+    "manufacturePlaceholder": "2019 or {date}",
+    "manufactureHint": "A year alone, such as 2019, or a full date, such as {date}.",
+    "manufactureInvalid": "Type a year, such as 2019, or a full date, such as {date}.",
+    "manufactureFuture": "The year of manufacture is in the future.",
+    "installDate": "Installed",
+    "ratedCapacity": "Rated capacity",
+    "ratedCapacityPlaceholder": "e.g. 8 t",
+    "lastExaminedAt": "Last examined",
+    "nextExaminationDue": "Next examination due",
+    "certificateReference": "Certificate reference",
+    "report": "Examination report",
+    "attachReport": "Attach report",
+    "uploading": "Uploading…",
+    "uploadError": "Could not upload the file",
+    "removeReport": "Remove {name}",
+    "notes": "Notes",
+    "added": "Equipment added",
+    "updated": "Equipment saved",
+    "saveError": "Could not save the equipment"
+  },
+  "move": {
+    "title": "Move {name}",
+    "hint": "It takes its meters, readings, report and work history along. This vehicle's history shows where it went.",
+    "hintMarine": "It takes its meters, readings, report and work history along. This vessel's history shows where it went.",
+    "to": "To vehicle",
+    "toMarine": "To vessel",
+    "pick": "Choose a vehicle",
+    "pickMarine": "Choose a vessel",
+    "noVehicles": "No vehicles found.",
+    "noVehiclesMarine": "No vessels found.",
+    "confirm": "Move",
+    "moved": "Moved {name}",
+    "saveError": "Could not move the equipment"
+  },
+  "workOn": {
+    "label": "Work on",
+    "none": "No equipment picked",
+    "search": "Search equipment",
+    "noMatch": "No equipment matches",
+    "saveError": "Could not save what the job works on",
+    "moved": "Moved since",
+    "removed": "Taken off since"
+  }
+}

+ 11 - 0
messages/en/integrations.json

@@ -731,6 +731,13 @@
         "startDateHelp": "Leave empty to send every issued invoice. Use the date your books moved to QuickBooks so older invoices are not entered twice.",
         "includeVehicle": "Name the vehicle on the invoice",
         "includeVehicleHelp": "A text line above the charges with the year, make, model, plate and mileage, so the books say which car.",
+        "customerReference": "Customer reference / PO",
+        "customerReferenceHelp": "Where the Reference / PO from the work order goes on the QuickBooks invoice. QuickBooks has no purchase order number of its own on an invoice, so it can lead the message your customer reads, or fill one of your custom fields on sales forms. Only work orders that have a reference are affected.",
+        "customerReferenceNone": "Not sent",
+        "customerReferenceMemo": "In the message on the invoice",
+        "customerReferenceCustomField": "In a custom field",
+        "customerReferenceField": "Custom field for the reference",
+        "customerReferenceFieldHelp": "The custom fields switched on for sales forms in QuickBooks (Account and settings, Sales, Sales form content). Create or switch on a field such as P.O. Number there first. The first 31 characters of the reference are sent, and a reference removed here later stays on an invoice already sent over.",
         "laborItemId": "Item for labor lines",
         "laborItemIdHelp": "Leave empty and an item called \"Labour\" is created under your income account the first time.",
         "partsItemId": "Item for parts lines",
@@ -783,6 +790,7 @@
         "referenceVehicle": "Vehicle and plate",
         "referenceTitle": "Job title",
         "referenceInvoiceNumber": "Torqvoice invoice number",
+        "referenceCustomerReference": "Reference / PO from the work order (vehicle and plate when it has none)",
         "referenceNone": "Nothing",
         "includeVehicle": "Name the vehicle on the invoice",
         "includeVehicleHelp": "A text line above the charges with the year, make, model, plate and mileage.",
@@ -877,6 +885,7 @@
         "referenceVehicle": "Vehicle and plate",
         "referenceTitle": "Job title",
         "referenceInvoiceNumber": "Torqvoice invoice number",
+        "referenceCustomerReference": "Reference / PO from the work order (vehicle and plate when it has none)",
         "referenceNone": "Nothing",
         "includeVehicle": "Name the vehicle on the invoice",
         "includeVehicleHelp": "The year, make, model, plate and mileage, placed with the customer notes.",
@@ -955,6 +964,8 @@
         "startDateHelp": "Leave empty to send every issued invoice. Use the date your books moved to Fiken so older invoices are not entered twice.",
         "attachPdf": "Attach the invoice PDF",
         "attachPdfHelp": "An invoice goes into Fiken as a sale (Annet salg) under its Torqvoice number. With this on, the PDF the customer received is filed on the sale as its voucher.",
+        "customerReferenceInText": "Put the customer reference / PO in the text of the sale",
+        "customerReferenceInTextHelp": "A sale in Fiken has no field for a reference, so the Reference / PO from the work order goes in front of the first line as Deres ref. Fiken cannot change a sale once it is entered: a reference added after the invoice went over is not sent.",
         "laborAccount": "Income account for labor",
         "laborAccountHelp": "Leave empty to use 3000.",
         "partsAccount": "Income account for parts",

+ 16 - 1
messages/en/pdf.json

@@ -227,6 +227,8 @@
     "signature": "Signature",
     "signedBy": "Signed by",
     "signatureDate": "Date",
+    "customerReference": "Your reference / PO",
+    "fleetNumber": "Fleet no.",
     "conditionMapTitle": "Vehicle condition",
     "conditionMapNo": "#",
     "conditionMapArea": "Area",
@@ -238,7 +240,20 @@
     "serviceTypeUpgrade": "Upgrade",
     "serviceTypeInspection": "Inspection",
     "customFieldYes": "Yes",
-    "customFieldNo": "No"
+    "customFieldNo": "No",
+    "equipmentTitle": "Equipment",
+    "equipmentType": "Type",
+    "equipmentMake": "Make",
+    "equipmentModel": "Model",
+    "equipmentManufactureYear": "Year",
+    "equipmentSerialNumber": "Serial no.",
+    "equipmentInstallDate": "Installed",
+    "equipmentRatedCapacity": "Rated capacity",
+    "equipmentLastExamined": "Last examined",
+    "equipmentNextExamination": "Next examination",
+    "equipmentCertificateReference": "Certificate",
+    "equipmentMeters": "Meter readings",
+    "equipmentNotes": "Notes"
   },
   "workOrder": {
     "title": "WORK ORDER",

+ 3 - 0
messages/en/portal.json

@@ -364,6 +364,7 @@
     "summaryPaid": "Paid",
     "summaryLeft": "Left to pay",
     "summaryDue": "Due date",
+    "summaryReference": "Your reference / PO",
     "summaryDate": "Date",
     "fullInvoice": "The full invoice"
   },
@@ -420,6 +421,7 @@
     "vin": "VIN: {vin}",
     "vinMarine": "HIN: {vin}",
     "typeKey": "HSN/TSN: {typeKey}",
+    "fleetNumber": "Fleet no.: {fleetNumber}",
     "distanceKm": "{value} km",
     "distanceMi": "{value} mi",
     "engineHours": "{value} engine hours",
@@ -598,6 +600,7 @@
     "number": "Quote number",
     "date": "Date",
     "validUntil": "Valid until",
+    "reference": "Your reference / PO",
     "vehicle": "Vehicle",
     "fullQuote": "The full quote",
     "answerTitle": "The workshop is waiting for your answer",

+ 1 - 0
messages/en/quotes.json

@@ -75,6 +75,7 @@
         "mileage": "{count} {unit}"
       }
     },
+    "convertReferenceKept": "The work order kept its own Reference / PO, {job}. The quote's, {quote}, was not copied to it.",
     "convert": "Convert",
     "convertToWorkOrder": "Convert to Work Order",
     "cancel": "Cancel",

+ 9 - 0
messages/en/service.json

@@ -761,6 +761,15 @@
     "fromQuote": "From quote {ref}",
     "startInspection": "Start inspection"
   },
+  "reference": {
+    "label": "Reference / PO",
+    "placeholder": "PO number or reference",
+    "requiredNotice": "This customer needs a reference or PO number on their invoices. Fill it in before the invoice is sent.",
+    "requiredToInvoice": "This customer needs a reference or PO number on their invoices. Fill in Reference / PO on the work order, then send the invoice.",
+    "saveFailed": "Could not save the reference",
+    "saved": "Saved",
+    "notSwitchedOn": "The Reference / PO field is switched off for this workshop. Turn it on in Settings, Invoice & Quotes, Custom Fields."
+  },
   "photoHandoff": {
     "button": "Add from phone",
     "dialogTitle": "Add photos and documents from a phone",

+ 185 - 5
messages/en/settings.json

@@ -754,7 +754,8 @@
       "concerns": "Customer Concerns",
       "job_description": "Work Requested",
       "work_checklist": "Work Checklist",
-      "condition_map": "Vehicle Condition"
+      "condition_map": "Vehicle Condition",
+      "equipment": "Equipment"
     },
     "fields": {
       "customer_name": "Customer Name",
@@ -763,11 +764,13 @@
       "customer_email": "Customer Email",
       "customer_phone": "Customer Phone",
       "customer_tax_id": "Customer Tax ID",
+      "customer_reference": "Your reference / PO",
       "vehicle_name": "Vehicle",
       "vin": "VIN",
       "license_plate": "License Plate",
       "mileage": "Mileage",
       "hsn_tsn": "HSN/TSN",
+      "fleet_number": "Fleet / unit number",
       "service_title": "Service Title",
       "service_type": "Service Type",
       "tech_name": "Technician",
@@ -817,7 +820,22 @@
       "customer_line": "Customer signature line",
       "legend": "Legend",
       "previous_marks": "Earlier marks",
-      "blank_sheet": "Blank sheet to fill in by hand"
+      "blank_sheet": "Blank sheet to fill in by hand",
+      "meter_readings": "Meter readings",
+      "vehicle_photo": "Vehicle photo",
+      "vehicle_photoMarine": "Vessel photo",
+      "equipment_type": "Type",
+      "equipment_make": "Make",
+      "equipment_model": "Model",
+      "equipment_manufacture_year": "Year of manufacture",
+      "equipment_serial_number": "Serial number",
+      "equipment_install_date": "Installed",
+      "equipment_rated_capacity": "Rated capacity",
+      "equipment_last_examined": "Last examined",
+      "equipment_next_examination": "Next examination due",
+      "equipment_certificate_reference": "Certificate reference",
+      "equipment_meters": "Meter readings",
+      "equipment_notes": "Notes"
     },
     "presetsTitle": "Start from an arrangement",
     "presetsHint": "Replaces the arrangement below. Nothing is saved until you save.",
@@ -1147,11 +1165,16 @@
   },
   "customFields": {
     "title": "Custom Fields",
-    "description": "Define custom fields that appear on service records and quotes.",
+    "description": "The extra details your workshop records: ready-made fields, your own fields, meters and equipment.",
     "addField": "Add Field",
     "filterAll": "All",
     "serviceRecord": "Service Record",
     "quote": "Quote",
+    "vehicle": "Vehicle",
+    "vehicleMarine": "Vessel",
+    "customer": "Customer",
+    "recordPlacementHint": "Shown on the vehicle or customer and in their forms. To print it on invoices, quotes or work orders, add it to a block in the document designer.",
+    "recordPlacementHintMarine": "Shown on the vessel or customer and in their forms. To print it on invoices, quotes or work orders, add it to a block in the document designer.",
     "emptyState": "No custom fields defined yet. Click \"Add Field\" to create one.",
     "required": "Required",
     "inactive": "Inactive",
@@ -1202,7 +1225,30 @@
     "dateError": "{label} must be a valid date",
     "optionError": "{label} must be one of its options",
     "checkboxError": "{label} must be either ticked or unticked",
-    "tooLongError": "{label} can be at most {max} characters"
+    "tooLongError": "{label} can be at most {max} characters",
+    "notSavedMissing": "Not saved. Fill in: {fields}",
+    "notSavedInvalid": "Not saved. Check: {fields}",
+    "valueYes": "Yes",
+    "valueNo": "No",
+    "readyMade": {
+      "title": "Ready-made fields",
+      "description": "Fields that come with Torqvoice. Each one is off until you turn it on.",
+      "customerReferenceTitle": "Reference / PO",
+      "customerReferenceEnabled": "Record a customer reference or PO number on work orders and quotes",
+      "customerReferenceHint": "Adds a Reference / PO field to work orders, counter sales and quotes, for the purchase order number or reference your customer gives you. It can be printed on invoices, quotes and work orders from the document designer, found in search, and sent to your accounting system. A customer can be marked as PO required, and their invoices then wait until the reference is filled in. Turning it off hides it again and keeps what was entered.",
+      "fleetNumberTitle": "Fleet / unit number",
+      "fleetNumberEnabled": "Record a fleet or unit number on vehicles",
+      "fleetNumberEnabledMarine": "Record a fleet or unit number on vessels",
+      "fleetNumberHint": "Adds a Fleet / unit number field to vehicles, for the number your customer knows the vehicle by in their own fleet. It shows on the vehicle and the work order, vehicles can be found by it in search, and it can be printed on invoices, quotes and work orders from the document designer. Turning it off hides it again and keeps what was entered.",
+      "fleetNumberHintMarine": "Adds a Fleet / unit number field to vessels, for the number your customer knows the vessel by in their own fleet. It shows on the vessel and the work order, vessels can be found by it in search, and it can be printed on invoices, quotes and work orders from the document designer. Turning it off hides it again and keeps what was entered.",
+      "saved": "Settings saved",
+      "failedSave": "Failed to save settings"
+    },
+    "ownFields": {
+      "title": "Your own fields",
+      "description": "Fields you define yourself, on work orders, quotes, vehicles and customers.",
+      "descriptionMarine": "Fields you define yourself, on work orders, quotes, vessels and customers."
+    }
   },
   "workshop": {
     "title": "Workshop Defaults",
@@ -2632,7 +2678,98 @@
     "conditionMapViewsSides": "Sides only",
     "conditionMapWidthHint": "Empty spans the row. Set points to make the drawing smaller; it then sits where the alignment puts it, and the legend keeps the full width.",
     "conditionMapDense": "Dense table",
-    "conditionMapDenseHint": "Sets the rows of the table under the drawing closer together, so it takes less of the page."
+    "conditionMapDenseHint": "Sets the rows of the table under the drawing closer together, so it takes less of the page.",
+    "equipmentList": "Which equipment",
+    "equipmentListVehicle": "On the vehicle",
+    "equipmentListVehicleMarine": "On the vessel",
+    "equipmentListJob": "Worked on",
+    "equipmentListHint": "On the vehicle lists everything fitted to it now. Worked on lists only the items the job or quote works on. The fields below choose the columns and their order.",
+    "equipmentListHintMarine": "On the vessel lists everything fitted to it now. Worked on lists only the items the job or quote works on. The fields below choose the columns and their order.",
+    "equipmentNoneHint": "Add equipment types under Settings, Invoice & Quotes, Custom Fields to print the vehicle's equipment here.",
+    "equipmentNoneHintMarine": "Add equipment types under Settings, Invoice & Quotes, Custom Fields to print the vessel's equipment here.",
+    "vehiclePhoto": "Vehicle photo",
+    "vehiclePhotoMarine": "Vessel photo",
+    "vehiclePhotoOff": "Off",
+    "vehiclePhotoBeside": "Photo beside the details",
+    "vehiclePhotoFaded": "Faded background",
+    "vehiclePhotoHint": "Prints the photo saved on the vehicle. Faded background washes it out behind this block only, light enough to keep the text readable. A vehicle without a photo prints as before.",
+    "vehiclePhotoHintMarine": "Prints the photo saved on the vessel. Faded background washes it out behind this block only, light enough to keep the text readable. A vessel without a photo prints as before.",
+    "equipmentTitle": "Heading",
+    "equipmentTitleHint": "Leave empty to print the default heading in the document's language, or write your own, for example \"Attached equipment details\".",
+    "search": {
+      "label": "Search the designer",
+      "placeholder": "Find a section or field",
+      "clear": "Clear search",
+      "results": "Search results",
+      "count": "{count, plural, one {# result} other {# results}}",
+      "emptySpoken": "No results",
+      "emptyTitle": "Nothing in this document matches \"{query}\"",
+      "emptyHint": "Search finds sections and their fields, including your own custom fields.",
+      "groups": {
+        "fields": "Fields",
+        "sections": "Sections",
+        "styling": "Document styling"
+      },
+      "state": {
+        "shown": "Shown",
+        "off": "Off",
+        "hiddenSection": "Hidden section",
+        "needsSetting": "Needs setting",
+        "notPlaced": "Not placed"
+      },
+      "needsSettingLine": "{section} · Not switched on in Settings",
+      "needsSettingNote": "Not switched on for this workshop, so it cannot be printed yet. Switch it on under Settings, Custom fields, and it appears in this list.",
+      "openSettings": "Open Settings",
+      "keys": {
+        "move": "Move",
+        "go": "Go to",
+        "close": "Close"
+      },
+      "aliases": {
+        "customer_reference": "po, po number, purchase order, order number, reference, customer reference, requisition",
+        "fleet_number": "fleet, unit, unit number, fleet no, truck number, asset number, vehicle number",
+        "meter_readings": "meter, meters, hours, engine hours, hour meter, pto, counter",
+        "mileage": "odometer, km, miles, distance, kilometers",
+        "odometer": "mileage, km, miles, distance, kilometers",
+        "license_plate": "plate, registration, reg, number plate, reg number",
+        "vin": "chassis number, frame number, serial number",
+        "hsn_tsn": "type key, kba",
+        "vehicle_photo": "picture, image, photo",
+        "customer_tax_id": "vat number, vat, tax number, org number",
+        "customer_address": "street, zip, city",
+        "customer_phone": "telephone, mobile, cell",
+        "customer_email": "mail, e-mail",
+        "company_org_number": "organization number, company number, vat number, registration number, abn",
+        "company_phone": "telephone, mobile",
+        "company_email": "mail, e-mail",
+        "logo": "brand, mark, image, picture",
+        "portal_link": "customer portal, link, url",
+        "footer_note": "footer text, bottom text",
+        "invoice_number": "invoice no, document number, quote number",
+        "due_date": "payment due, deadline, pay by",
+        "payment_terms": "terms, net days, credit days",
+        "tech_name": "mechanic, technician, employee, performed by",
+        "section_bank_account": "payment, payment details, bank, iban, account number",
+        "section_items_table": "lines, line items, products, services, rows",
+        "section_parts_table": "parts, spares, materials",
+        "section_labor_table": "labour, work, hours, time",
+        "section_totals": "sum, total, subtotal, tax, vat, amount",
+        "section_header": "letterhead, company, top",
+        "section_footer": "bottom",
+        "section_document_title": "heading, title, number, date",
+        "section_signature": "sign, signed, autograph",
+        "section_telegram_qr": "qr code, chat",
+        "section_job_qr": "qr code, phone, mobile",
+        "section_condition_map": "damage, dents, scratches, body map",
+        "section_notes": "comments, remarks, message",
+        "styling_headerStyle": "letterhead, layout, banner, frame",
+        "styling_colors": "colours, color, primary, accent, background, theme",
+        "styling_typography": "font, typeface, text size, font size",
+        "styling_page": "margins, row height, stripes, banding, spacing",
+        "styling_frame": "border, rail, shadow, corner radius",
+        "styling_orgNumberLabel": "abn, vat no, company number, org number caption"
+      }
+    }
   },
   "preview": {
     "title": "Brake Service & Oil Change",
@@ -2788,6 +2925,10 @@
         "label": "Document title",
         "description": "The title of the job or document."
       },
+      "customer_reference": {
+        "label": "Reference / PO",
+        "description": "The reference or PO number your customer gave for the job. Blank when there is none."
+      },
       "total": {
         "label": "Total",
         "description": "The total of the document, in its currency."
@@ -3220,5 +3361,44 @@
       "bulkRevoked": "{count, plural, one {# link removed} other {# links removed}}",
       "bulkRevokeFailed": "Couldn't remove the links. Try again."
     }
+  },
+  "meters": {
+    "title": "Meters",
+    "description": "Meters you read on vehicles besides the odometer, such as engine hours or PTO hours. Choose on each vehicle which of them it has; readings are taken on the vehicle and on work orders, and can be printed on invoices, quotes and work orders from the document designer.",
+    "descriptionMarine": "Meters you read on vessels besides the engine hours, such as PTO hours or generator hours. Choose on each vessel which of them it has; readings are taken on the vessel and on work orders, and can be printed on invoices, quotes and work orders from the document designer.",
+    "name": "Name",
+    "namePlaceholder": "e.g. Engine hours",
+    "unit": "Unit",
+    "unitPlaceholder": "e.g. hrs",
+    "add": "Add meter",
+    "addTitle": "Add a meter",
+    "requiredBadge": "Required",
+    "options": {
+      "required": "Required on work orders",
+      "requiredHint": "Asked for when the job is completed, and before its invoice is sent."
+    },
+    "suggestions": "Suggestions:",
+    "suggestEngineHours": "Engine hours",
+    "suggestPtoHours": "PTO hours",
+    "hoursUnit": "hrs",
+    "hidden": "Hidden",
+    "inUse": "Use {name}",
+    "inUseShort": "In use",
+    "onVehicles": "{count, plural, =0 {On no vehicles yet} one {On # vehicle} other {On # vehicles}}",
+    "onVehiclesMarine": "{count, plural, =0 {On no vessels yet} one {On # vessel} other {On # vessels}}",
+    "edit": "Edit {name}",
+    "editTitle": "Edit meter",
+    "editHint": "A new name or unit shows everywhere the meter does, on documents printed from now on too. Invoices already issued keep what they printed.",
+    "delete": "Delete meter",
+    "deleteNamed": "Delete {name}",
+    "deleteTitle": "Delete {name}?",
+    "deleteHint": "{count, plural, =0 {It is on no vehicle yet.} one {It is on # vehicle, and its readings there are deleted with it.} other {It is on # vehicles, and their readings are deleted with it.}} To keep the readings, switch it out of use instead.",
+    "deleteHintMarine": "{count, plural, =0 {It is on no vessel yet.} one {It is on # vessel, and its readings there are deleted with it.} other {It is on # vessels, and their readings are deleted with it.}} To keep the readings, switch it out of use instead.",
+    "created": "{name} added",
+    "updated": "{name} saved",
+    "deleted": "{name} deleted",
+    "saveError": "The meter could not be saved",
+    "duplicateName": "There is already a meter with that name.",
+    "odometerName": "\"{name}\" is the odometer, which every vehicle already has. Give the meter another name."
   }
 }

+ 8 - 0
messages/en/setup.json

@@ -0,0 +1,8 @@
+{
+  "heavyVehicles": {
+    "command": "Set up for fleets and heavy vehicles",
+    "commandMarine": "Set up for fleets and commercial vessels",
+    "docs": "Read the guide for fleets and heavy vehicles",
+    "docsMarine": "Read the guide for fleets and commercial vessels"
+  }
+}

+ 66 - 1
messages/en/vehicles.json

@@ -36,7 +36,8 @@
     "inspectionDue30": "Due in 30 days",
     "inspectionDue90": "Due in 90 days",
     "inspectionDue": "Inspection {date}",
-    "remindCustomers": "Remind these customers"
+    "remindCustomers": "Remind these customers",
+    "fleetNumber": "Fleet / unit number"
   },
   "detail": {
     "vehicleArchived": "This vehicle is archived",
@@ -102,6 +103,7 @@
     "inspectionCheckedAt": "Checked against the registry {date}",
     "notRegistered": "Not registered",
     "soldReported": "Customer reported sold {date}",
+    "fleetNumber": "Fleet no.",
     "typeKey": "HSN/TSN",
     "addPhoto": "Add photo",
     "changePhoto": "Change photo",
@@ -401,6 +403,9 @@
     "hsn": "HSN",
     "tsn": "TSN",
     "typeKey": "HSN/TSN",
+    "fleetNumber": "Fleet / unit number",
+    "fleetNumberPlaceholder": "e.g. T-208",
+    "fleetNumberTooLong": "Fleet / unit number can be at most {max} characters",
     "typeKeyHint": "From a German registration certificate: HSN is field 2.1, TSN is the first three characters of field 2.2.",
     "hsnInvalid": "HSN is four digits, from field 2.1 of the registration certificate.",
     "tsnInvalid": "TSN is three letters or digits, the start of field 2.2 of the registration certificate.",
@@ -679,5 +684,65 @@
     "refreshed": "Safety data refreshed",
     "openSite": "Open on {source}",
     "errorLoad": "Could not load safety data"
+  },
+  "meters": {
+    "title": "Meters",
+    "addMeter": "Add meter",
+    "addMeterTitle": "Add a meter",
+    "addMeterHint": "Which of the workshop's meters this vehicle has. A first reading can be typed now or later.",
+    "addMeterHintMarine": "Which of the workshop's meters this vessel has. A first reading can be typed now or later.",
+    "meter": "Meter",
+    "firstReading": "First reading (optional)",
+    "noMeters": "This vehicle has none of the workshop's meters yet.",
+    "noMetersMarine": "This vessel has none of the workshop's meters yet.",
+    "readOn": "Read {date}",
+    "total": "Total {total}",
+    "meterActions": "{name}: more",
+    "addReading": "Add reading",
+    "addReadingTitle": "New {name} reading",
+    "currentIs": "Last reading: {reading}",
+    "reading": "Reading",
+    "readingDate": "Date read",
+    "saveReading": "Save reading",
+    "readingSaved": "{name} reading saved",
+    "lowerReading": "Below the last reading, {last}. It is saved all the same.",
+    "savedLower": "{name} reading saved. It is below the last reading, {last}.",
+    "invalidReading": "Type the reading as a number, with up to two decimals.",
+    "saveError": "The reading could not be saved",
+    "requiredMark": "required",
+    "requiredMissing": "Required before the job is completed.",
+    "requiredNotCompleted": "Not completed. Fill in: {meters}",
+    "requiredNotMoved": "Not moved. A completed job needs readings on the new vehicle: {meters}. Reopen the job to move it.",
+    "requiredNotSent": "Not sent. Fill in: {meters}",
+    "requiredNotShared": "No link made. Fill in: {meters}",
+    "history": "History",
+    "historyTitle": "{name} history",
+    "historyHint": "A reading marked as wrong stays here but no longer counts.",
+    "noReadings": "No readings yet.",
+    "markWrong": "Mark as wrong",
+    "countAgain": "Count again",
+    "wrongBadge": "Wrong",
+    "replacedBadge": "Meter replaced",
+    "replacedLine": "Old meter ended at {oldEnd}, new meter started at {newStart}",
+    "fromApp": "from the technician app",
+    "close": "Close",
+    "replace": "Meter replaced",
+    "replaceTitle": "{name} meter replaced",
+    "replaceHint": "What the old meter showed when it came off, and what the new one showed when it went on. The total carries on across the change.",
+    "oldEnd": "Old meter's last reading",
+    "newStart": "New meter's first reading",
+    "replacedOn": "Date replaced",
+    "replaceSave": "Save",
+    "replacedSaved": "{name} replacement saved",
+    "remove": "Take off this vehicle",
+    "removeMarine": "Take off this vessel",
+    "removeTitle": "Take {name} off this vehicle?",
+    "removeTitleMarine": "Take {name} off this vessel?",
+    "removeHint": "Its readings are kept, and come back if the meter is added again.",
+    "removed": "{name} taken off",
+    "added": "{name} added",
+    "itemTitle": "Meters",
+    "noItemMeters": "No meters on this item.",
+    "addItemMeterHint": "The meter goes with this item wherever it is fitted."
   }
 }

+ 37 - 2
messages/es/audit.json

@@ -212,7 +212,24 @@
     "integration_backup_run": "Copia de seguridad iniciada",
     "integration_backup_restore": "Copia de seguridad restaurada",
     "shareLink_expiry": "Caducidad del enlace compartido cambiada",
-    "shareLink_revoke": "Enlaces compartidos eliminados"
+    "shareLink_revoke": "Enlaces compartidos eliminados",
+    "meterType_create": "Contador creado",
+    "meterType_update": "Contador actualizado",
+    "meterType_delete": "Contador eliminado",
+    "vehicleMeter_remove": "Contador de vehículo quitado",
+    "vehicleMeter_replace": "Contador de vehículo sustituido",
+    "meterReading_markWrong": "Lectura de contador marcada como errónea",
+    "meterReading_restore": "Lectura de contador contada de nuevo",
+    "equipmentType_create": "Tipo de equipamiento creado",
+    "equipmentType_update": "Tipo de equipamiento actualizado",
+    "equipmentType_reorder": "Tipos de equipamiento reordenados",
+    "equipmentType_delete": "Tipo de equipamiento eliminado",
+    "equipment_add": "Equipamiento añadido",
+    "equipment_update": "Equipamiento actualizado",
+    "equipment_move": "Equipamiento movido",
+    "equipment_remove": "Equipamiento retirado",
+    "equipment_refit": "Equipamiento reinstalado",
+    "equipment_delete": "Equipamiento eliminado"
   },
   "summary": {
     "auth_twoFactorEnabled": "Activó el inicio de sesión en dos pasos",
@@ -383,6 +400,24 @@
     "share_link_expiry_workshop": "Enlace compartido configurado para seguir el ajuste del taller",
     "share_link_expiry_never": "Enlace compartido configurado para no caducar nunca",
     "share_link_expiry_date": "Enlace compartido configurado para caducar el {date}",
-    "share_link_revoke_bulk": "{count, plural, one {# enlace compartido eliminado} other {# enlaces compartidos eliminados}}"
+    "share_link_revoke_bulk": "{count, plural, one {# enlace compartido eliminado} other {# enlaces compartidos eliminados}}",
+    "meterType_create": "Creó el contador \"{name}\"",
+    "meterType_update": "Actualizó el contador \"{name}\"",
+    "meterType_delete": "Eliminó el contador \"{name}\"",
+    "vehicleMeter_remove": "Quitó el contador \"{name}\" de un vehículo",
+    "vehicleMeter_replace": "Sustituyó el contador \"{name}\": el antiguo terminó en {oldEnd}, el nuevo empezó en {newStart}",
+    "meterReading_markWrong": "Marcó la lectura {value} de {name} como errónea",
+    "meterReading_restore": "Volvió a contar la lectura {value} de {name}",
+    "equipmentType_create": "Creó el tipo de equipamiento \"{name}\"",
+    "equipmentType_update": "Actualizó el tipo de equipamiento \"{name}\"",
+    "equipmentType_reorder": "Reordenó los tipos de equipamiento",
+    "equipmentType_delete": "Eliminó el tipo de equipamiento \"{name}\"",
+    "equipment_add": "Añadió {name} a {vehicle}",
+    "equipment_update": "Actualizó {name} en {vehicle}",
+    "equipment_move": "Movió {name} de {from} a {vehicle}",
+    "equipment_remove": "Retiró {name} de {vehicle}",
+    "equipment_refit": "Volvió a instalar {name} en {vehicle}",
+    "equipment_delete": "Eliminó {name} de {vehicle}",
+    "equipment_meter": "Añadió el contador {meter} a {name} en {vehicle}"
   }
 }

+ 3 - 0
messages/es/customers.json

@@ -104,6 +104,9 @@
     "invoiceDesignHint": "Las facturas de este cliente se imprimen con este diseño en lugar del predeterminado del taller. Una factura puede elegir el suyo.",
     "reminderOptOut": "Sin recordatorios",
     "reminderOptOutHint": "No incluir a este cliente en recordatorios de inspección ni otras campañas.",
+    "poRequired": "N.º de pedido obligatorio",
+    "poRequiredHint": "Las facturas de este cliente esperan hasta que se rellene Referencia / n.º de pedido en la orden de trabajo.",
+    "poRequiredBadge": "Requiere n.º de pedido",
     "bookAppointment": "Reservar cita"
   },
   "serviceRequests": {

+ 3 - 0
messages/es/dataImport.json

@@ -192,6 +192,7 @@
       "engineCode": "Código de motor",
       "hsn": "HSN (clave del fabricante)",
       "tsn": "TSN (clave del tipo)",
+      "fleetNumber": "N.º de flota / unidad",
       "purchaseDate": "Fecha de compra",
       "purchasePrice": "Precio de compra"
     },
@@ -202,6 +203,7 @@
       "total": "Importe total",
       "mileage": "Kilometraje en el servicio",
       "invoiceNumber": "Número de factura",
+      "customerReference": "Referencia / n.º de pedido",
       "notes": "Notas del servicio",
       "technician": "Técnico"
     }
@@ -211,6 +213,7 @@
     "invalid_email": "El correo electrónico \"{value}\" no es válido y se omitió",
     "invalid_vin": "El VIN \"{value}\" no tiene 17 caracteres; se conservó tal como se escribió",
     "invalid_type_key": "{field} \"{value}\" no es un HSN o TSN válido; se ha omitido",
+    "fleet_number_too_long": "N.º de flota / unidad \"{value}\" tiene más de 40 caracteres; se ha omitido",
     "vehicle_make_model_required": "Faltan la marca y el modelo",
     "vehicle_year_required": "Falta el año",
     "vehicle_year_invalid": "El año \"{value}\" no es un año válido",

+ 114 - 0
messages/es/equipment.json

@@ -0,0 +1,114 @@
+{
+  "types": {
+    "title": "Equipamiento",
+    "description": "Los tipos de equipamiento que instala o revisa en vehículos, como una grúa, una plataforma elevadora o un gancho portacontenedores. Añada el primero para registrar equipamiento en vehículos y órdenes de trabajo. Hasta entonces, el equipamiento no aparece en ningún sitio.",
+    "descriptionMarine": "Los tipos de equipamiento que instala o revisa en embarcaciones, como una grúa, un pescante o un cabrestante. Añada el primero para registrar equipamiento en embarcaciones y órdenes de trabajo. Hasta entonces, el equipamiento no aparece en ningún sitio.",
+    "name": "Tipo",
+    "namePlaceholder": "p. ej. Grúa",
+    "add": "Añadir tipo",
+    "created": "{name} añadido",
+    "updated": "{name} guardado",
+    "deleted": "{name} eliminado",
+    "saveError": "No se pudo guardar el tipo de equipamiento",
+    "duplicateName": "Ya existe un tipo con ese nombre",
+    "hasItems": "Este tipo tiene equipamiento. Ocúltelo en su lugar, para que sus elementos conserven el tipo.",
+    "hidden": "Oculto",
+    "inUse": "Ofrecer {name} para nuevo equipamiento",
+    "inUseShort": "En uso",
+    "itemCount": "{count, plural, =0 {Aún no hay elementos} one {# elemento en vehículos} other {# elementos en vehículos}}",
+    "itemCountMarine": "{count, plural, =0 {Aún no hay elementos} one {# elemento en embarcaciones} other {# elementos en embarcaciones}}",
+    "moveUp": "Subir {name}",
+    "moveDown": "Bajar {name}",
+    "rename": "Renombrar {name}",
+    "renameTitle": "Renombrar tipo de equipamiento",
+    "renameHint": "Los elementos de este tipo y los documentos aún no emitidos muestran el nuevo nombre.",
+    "deleteNamed": "Eliminar {name}",
+    "deleteTitle": "¿Eliminar {name}?",
+    "deleteHint": "No tiene elementos, así que nada más cambia.",
+    "delete": "Eliminar"
+  },
+  "vehicle": {
+    "title": "Equipamiento",
+    "add": "Añadir equipamiento",
+    "empty": "Este vehículo no tiene equipamiento.",
+    "emptyMarine": "Esta embarcación no tiene equipamiento.",
+    "serial": "N/S {serial}",
+    "examinationDue": "Inspección prevista el {date}",
+    "examinationSoon": "Inspección próxima: {date}",
+    "examinationOverdue": "Inspección vencida desde el {date}",
+    "showDetails": "Mostrar detalles de {name}",
+    "hideDetails": "Ocultar detalles de {name}",
+    "more": "Más opciones de {name}",
+    "edit": "Editar",
+    "move": "Mover a otro vehículo",
+    "moveMarine": "Mover a otra embarcación",
+    "remove": "Retirar",
+    "removeTitle": "¿Retirar {name}?",
+    "removeHint": "Se retira de este vehículo y se conserva en su historial, con sus contadores, lecturas e informe. Puede volver a instalarlo.",
+    "removeHintMarine": "Se retira de esta embarcación y se conserva en su historial, con sus contadores, lecturas e informe. Puede volver a instalarlo.",
+    "removed": "{name} retirado",
+    "delete": "Eliminar",
+    "deleteTitle": "¿Eliminar {name} definitivamente?",
+    "deleteHint": "También se eliminan su historial, contadores, lecturas y archivo de informe. Para conservarlos, retírelo en su lugar.",
+    "deleteJobs": "{count, plural, one {# orden de trabajo trabaja en él y dejará de mostrarlo.} other {# órdenes de trabajo trabajan en él y dejarán de mostrarlo.}} Las facturas emitidas conservan su copia impresa.",
+    "deleted": "{name} eliminado",
+    "history": "{count, plural, one {Equipamiento anterior (#)} other {Equipamiento anterior (#)}}",
+    "movedTo": "Movido a <vehicle></vehicle> el {date}",
+    "movedOn": "Movido el {date}",
+    "removedOn": "Retirado el {date}",
+    "refit": "Volver a instalar",
+    "refitted": "{name} instalado de nuevo",
+    "saveError": "No se pudo guardar el equipamiento"
+  },
+  "form": {
+    "addTitle": "Añadir equipamiento",
+    "editTitle": "Editar equipamiento",
+    "type": "Tipo",
+    "make": "Marca",
+    "model": "Modelo",
+    "serialNumber": "Número de serie",
+    "manufacture": "Fabricación",
+    "manufacturePlaceholder": "2019 o {date}",
+    "manufactureHint": "Solo un año, como 2019, o una fecha completa, como {date}.",
+    "manufactureInvalid": "Escriba un año, como 2019, o una fecha completa, como {date}.",
+    "manufactureFuture": "El año de fabricación está en el futuro.",
+    "installDate": "Instalado",
+    "ratedCapacity": "Capacidad nominal",
+    "ratedCapacityPlaceholder": "p. ej. 8 t",
+    "lastExaminedAt": "Última inspección",
+    "nextExaminationDue": "Próxima inspección",
+    "certificateReference": "Referencia del certificado",
+    "report": "Informe de inspección",
+    "attachReport": "Adjuntar informe",
+    "uploading": "Subiendo…",
+    "uploadError": "No se pudo subir el archivo",
+    "removeReport": "Quitar {name}",
+    "notes": "Notas",
+    "added": "Equipamiento añadido",
+    "updated": "Equipamiento guardado",
+    "saveError": "No se pudo guardar el equipamiento"
+  },
+  "move": {
+    "title": "Mover {name}",
+    "hint": "Se lleva sus contadores, lecturas, informe e historial de trabajos. El historial de este vehículo muestra a dónde fue.",
+    "hintMarine": "Se lleva sus contadores, lecturas, informe e historial de trabajos. El historial de esta embarcación muestra a dónde fue.",
+    "to": "Al vehículo",
+    "toMarine": "A la embarcación",
+    "pick": "Elija un vehículo",
+    "pickMarine": "Elija una embarcación",
+    "noVehicles": "No se encontraron vehículos.",
+    "noVehiclesMarine": "No se encontraron embarcaciones.",
+    "confirm": "Mover",
+    "moved": "{name} movido",
+    "saveError": "No se pudo mover el equipamiento"
+  },
+  "workOn": {
+    "label": "Trabajo en",
+    "none": "Ningún equipamiento elegido",
+    "search": "Buscar equipamiento",
+    "noMatch": "Ningún equipamiento coincide",
+    "saveError": "No se pudo guardar sobre qué trabaja la orden",
+    "moved": "Movido desde entonces",
+    "removed": "Retirado desde entonces"
+  }
+}

+ 11 - 0
messages/es/integrations.json

@@ -731,6 +731,13 @@
         "startDateHelp": "Déjalo vacío para enviar todas las facturas emitidas. Usa la fecha en que tu contabilidad pasó a QuickBooks para no registrar dos veces las facturas antiguas.",
         "includeVehicle": "Indicar el vehículo en la factura",
         "includeVehicleHelp": "Una línea de texto encima de los cargos con año, marca, modelo, matrícula y kilometraje, para que la contabilidad sepa de qué coche se trata.",
+        "customerReference": "Referencia del cliente / n.º de pedido",
+        "customerReferenceHelp": "Dónde va la Referencia / n.º de pedido de la orden de trabajo en la factura de QuickBooks. QuickBooks no tiene un número de pedido propio en la factura, así que puede ir al principio del mensaje que lee tu cliente o rellenar uno de tus campos personalizados de los formularios de venta. Solo afecta a las órdenes de trabajo que tienen referencia.",
+        "customerReferenceNone": "No se envía",
+        "customerReferenceMemo": "En el mensaje de la factura",
+        "customerReferenceCustomField": "En un campo personalizado",
+        "customerReferenceField": "Campo personalizado para la referencia",
+        "customerReferenceFieldHelp": "Los campos personalizados activados para los formularios de venta en QuickBooks (Account and settings, Sales, Sales form content). Crea o activa allí primero un campo como P.O. Number. Se envían los primeros 31 caracteres de la referencia, y una referencia que se borre aquí más tarde se mantiene en una factura ya enviada.",
         "laborItemId": "Artículo para líneas de mano de obra",
         "laborItemIdHelp": "Déjalo vacío y la primera vez se creará un artículo llamado Labour en tu cuenta de ingresos.",
         "partsItemId": "Artículo para líneas de piezas",
@@ -783,6 +790,7 @@
         "referenceVehicle": "Vehículo y matrícula",
         "referenceTitle": "Título del trabajo",
         "referenceInvoiceNumber": "Número de factura de Torqvoice",
+        "referenceCustomerReference": "Referencia / n.º de pedido de la orden de trabajo (vehículo y matrícula si no tiene)",
         "referenceNone": "Nada",
         "includeVehicle": "Indicar el vehículo en la factura",
         "includeVehicleHelp": "Una línea de texto encima de los cargos con año, marca, modelo, matrícula y kilometraje.",
@@ -877,6 +885,7 @@
         "referenceVehicle": "Vehículo y matrícula",
         "referenceTitle": "Título del trabajo",
         "referenceInvoiceNumber": "Número de factura de Torqvoice",
+        "referenceCustomerReference": "Referencia / n.º de pedido de la orden de trabajo (vehículo y matrícula si no tiene)",
         "referenceNone": "Nada",
         "includeVehicle": "Indicar el vehículo en la factura",
         "includeVehicleHelp": "El año, la marca, el modelo, la matrícula y el kilometraje, junto a las notas para el cliente.",
@@ -955,6 +964,8 @@
         "startDateHelp": "Déjalo vacío para enviar todas las facturas emitidas. Usa la fecha en que tu contabilidad pasó a Fiken para no registrar dos veces las facturas antiguas.",
         "attachPdf": "Adjuntar el PDF de la factura",
         "attachPdfHelp": "Una factura entra en Fiken como una venta (Annet salg) con su número de Torqvoice. Con esto activado, el PDF que recibió el cliente se archiva en la venta como justificante.",
+        "customerReferenceInText": "Poner la referencia del cliente / n.º de pedido en el texto de la venta",
+        "customerReferenceInTextHelp": "Una venta en Fiken no tiene campo para una referencia, así que la Referencia / n.º de pedido de la orden de trabajo se pone delante de la primera línea como Deres ref. Fiken no puede modificar una venta ya registrada: una referencia añadida después de enviar la factura no se envía.",
         "laborAccount": "Cuenta de ingresos para mano de obra",
         "laborAccountHelp": "Déjalo vacío para usar la 3000.",
         "partsAccount": "Cuenta de ingresos para piezas",

+ 16 - 1
messages/es/pdf.json

@@ -227,6 +227,8 @@
     "signature": "Firma",
     "signedBy": "Firmado por",
     "signatureDate": "Fecha",
+    "customerReference": "Su referencia / n.º de pedido",
+    "fleetNumber": "N.º flota",
     "conditionMapTitle": "Estado del vehículo",
     "conditionMapNo": "N.º",
     "conditionMapArea": "Zona",
@@ -238,7 +240,20 @@
     "serviceTypeUpgrade": "Mejora",
     "serviceTypeInspection": "Inspección",
     "customFieldYes": "Sí",
-    "customFieldNo": "No"
+    "customFieldNo": "No",
+    "equipmentTitle": "Equipamiento",
+    "equipmentType": "Tipo",
+    "equipmentMake": "Marca",
+    "equipmentModel": "Modelo",
+    "equipmentManufactureYear": "Año",
+    "equipmentSerialNumber": "N.º de serie",
+    "equipmentInstallDate": "Instalado",
+    "equipmentRatedCapacity": "Cap. nominal",
+    "equipmentLastExamined": "Última inspección",
+    "equipmentNextExamination": "Próxima inspección",
+    "equipmentCertificateReference": "Certificado",
+    "equipmentMeters": "Lecturas",
+    "equipmentNotes": "Notas"
   },
   "workOrder": {
     "title": "ORDEN DE TRABAJO",

+ 3 - 0
messages/es/portal.json

@@ -364,6 +364,7 @@
     "summaryPaid": "Pagado",
     "summaryLeft": "Por pagar",
     "summaryDue": "Vencimiento",
+    "summaryReference": "Su referencia / n.º de pedido",
     "summaryDate": "Fecha",
     "fullInvoice": "La factura completa"
   },
@@ -420,6 +421,7 @@
     "vin": "VIN: {vin}",
     "vinMarine": "HIN: {vin}",
     "typeKey": "HSN/TSN: {typeKey}",
+    "fleetNumber": "N.º flota: {fleetNumber}",
     "distanceKm": "{value} km",
     "distanceMi": "{value} mi",
     "engineHours": "{value} horas de motor",
@@ -598,6 +600,7 @@
     "number": "Número de presupuesto",
     "date": "Fecha",
     "validUntil": "Válido hasta",
+    "reference": "Su referencia / n.º de pedido",
     "vehicle": "Vehículo",
     "fullQuote": "El presupuesto completo",
     "answerTitle": "El taller espera tu respuesta",

+ 1 - 0
messages/es/quotes.json

@@ -75,6 +75,7 @@
         "mileage": "{count} {unit}"
       }
     },
+    "convertReferenceKept": "La orden de trabajo conservó su propia referencia / n.º de pedido, {job}. La del presupuesto, {quote}, no se copió.",
     "convert": "Convertir",
     "convertToWorkOrder": "Convertir en orden de trabajo",
     "cancel": "Cancelar",

+ 9 - 0
messages/es/service.json

@@ -761,6 +761,15 @@
     "fromQuote": "Del presupuesto {ref}",
     "startInspection": "Iniciar inspección"
   },
+  "reference": {
+    "label": "Referencia / n.º de pedido",
+    "placeholder": "N.º de pedido o referencia",
+    "requiredNotice": "Este cliente necesita una referencia o un número de pedido en sus facturas. Rellénalo antes de enviar la factura.",
+    "requiredToInvoice": "Este cliente necesita una referencia o un número de pedido en sus facturas. Rellena Referencia / n.º de pedido en la orden de trabajo y luego envía la factura.",
+    "saveFailed": "No se pudo guardar la referencia",
+    "saved": "Guardado",
+    "notSwitchedOn": "El campo Referencia / n.º de pedido está desactivado para este taller. Actívalo en Configuración, Facturas y presupuestos, Campos personalizados."
+  },
   "photoHandoff": {
     "button": "Añadir desde el móvil",
     "dialogTitle": "Añadir fotos y documentos desde un móvil",

+ 185 - 5
messages/es/settings.json

@@ -754,7 +754,8 @@
       "concerns": "Inquietudes del cliente",
       "job_description": "Trabajo solicitado",
       "work_checklist": "Lista de trabajos",
-      "condition_map": "Estado del vehículo"
+      "condition_map": "Estado del vehículo",
+      "equipment": "Equipamiento"
     },
     "fields": {
       "customer_name": "Nombre del cliente",
@@ -763,11 +764,13 @@
       "customer_email": "Correo electrónico",
       "customer_phone": "Teléfono",
       "customer_tax_id": "NIF / CIF del cliente",
+      "customer_reference": "Su referencia / n.º de pedido",
       "vehicle_name": "Vehículo",
       "vin": "VIN",
       "license_plate": "Matrícula",
       "mileage": "Kilometraje",
       "hsn_tsn": "HSN/TSN",
+      "fleet_number": "N.º de flota / unidad",
       "service_title": "Título del servicio",
       "service_type": "Tipo de servicio",
       "tech_name": "Técnico",
@@ -817,7 +820,22 @@
       "customer_line": "Línea de firma del cliente",
       "legend": "Leyenda",
       "previous_marks": "Marcas anteriores",
-      "blank_sheet": "Hoja en blanco para rellenar a mano"
+      "blank_sheet": "Hoja en blanco para rellenar a mano",
+      "meter_readings": "Lecturas de contadores",
+      "vehicle_photo": "Foto del vehículo",
+      "vehicle_photoMarine": "Foto de la embarcación",
+      "equipment_type": "Tipo",
+      "equipment_make": "Marca",
+      "equipment_model": "Modelo",
+      "equipment_manufacture_year": "Año de fabricación",
+      "equipment_serial_number": "Número de serie",
+      "equipment_install_date": "Instalado",
+      "equipment_rated_capacity": "Capacidad nominal",
+      "equipment_last_examined": "Última inspección",
+      "equipment_next_examination": "Próxima inspección",
+      "equipment_certificate_reference": "Referencia del certificado",
+      "equipment_meters": "Lecturas de contadores",
+      "equipment_notes": "Notas"
     },
     "presetsTitle": "Empezar con una disposición",
     "presetsHint": "Sustituye la disposición de abajo. No se guarda nada hasta que guardes.",
@@ -1147,11 +1165,16 @@
   },
   "customFields": {
     "title": "Campos personalizados",
-    "description": "Defina campos personalizados que aparecen en registros de servicio y presupuestos.",
+    "description": "Los datos adicionales que registra tu taller: campos predefinidos, tus propios campos, contadores y equipamiento.",
     "addField": "Agregar campo",
     "filterAll": "Todos",
     "serviceRecord": "Registro de servicio",
     "quote": "Presupuesto",
+    "vehicle": "Vehículo",
+    "vehicleMarine": "Embarcación",
+    "customer": "Cliente",
+    "recordPlacementHint": "Se muestra en el vehículo o el cliente y en sus formularios. Para imprimirlo en facturas, presupuestos u órdenes de trabajo, añádelo a un bloque en el diseñador de documentos.",
+    "recordPlacementHintMarine": "Se muestra en la embarcación o el cliente y en sus formularios. Para imprimirlo en facturas, presupuestos u órdenes de trabajo, añádelo a un bloque en el diseñador de documentos.",
     "emptyState": "Aún no se han definido campos personalizados. Haga clic en \"Agregar campo\" para crear uno.",
     "required": "Obligatorio",
     "inactive": "Inactivo",
@@ -1202,7 +1225,30 @@
     "dateError": "El campo {label} debe ser una fecha válida",
     "optionError": "El campo {label} debe ser una de sus opciones",
     "checkboxError": "El campo {label} debe estar marcado o desmarcado",
-    "tooLongError": "El campo {label} admite como máximo {max} caracteres"
+    "tooLongError": "El campo {label} admite como máximo {max} caracteres",
+    "notSavedMissing": "No se ha guardado. Rellena: {fields}",
+    "notSavedInvalid": "No se ha guardado. Revisa: {fields}",
+    "valueYes": "Sí",
+    "valueNo": "No",
+    "readyMade": {
+      "title": "Campos predefinidos",
+      "description": "Campos que ya vienen con Torqvoice. Cada uno está desactivado hasta que lo actives.",
+      "customerReferenceTitle": "Referencia / n.º de pedido",
+      "customerReferenceEnabled": "Registrar una referencia o número de pedido del cliente en órdenes de trabajo y presupuestos",
+      "customerReferenceHint": "Añade un campo Referencia / n.º de pedido a las órdenes de trabajo, ventas de mostrador y presupuestos, para el número de pedido o la referencia que te da tu cliente. Se puede imprimir en facturas, presupuestos y órdenes de trabajo desde el diseñador de documentos, encontrar en la búsqueda y enviar a tu sistema contable. Un cliente se puede marcar con n.º de pedido obligatorio, y sus facturas esperan entonces hasta que se rellene la referencia. Al desactivarlo se oculta de nuevo y se conserva lo introducido.",
+      "fleetNumberTitle": "N.º de flota / unidad",
+      "fleetNumberEnabled": "Registrar un número de flota o de unidad en los vehículos",
+      "fleetNumberEnabledMarine": "Registrar un número de flota o de unidad en las embarcaciones",
+      "fleetNumberHint": "Añade un campo N.º de flota / unidad a los vehículos, para el número con el que tu cliente identifica el vehículo dentro de su propia flota. Se muestra en el vehículo y en la orden de trabajo, permite encontrar vehículos en la búsqueda y se puede imprimir en facturas, presupuestos y órdenes de trabajo desde el diseñador de documentos. Al desactivarlo se oculta de nuevo y se conserva lo introducido.",
+      "fleetNumberHintMarine": "Añade un campo N.º de flota / unidad a las embarcaciones, para el número con el que tu cliente identifica la embarcación dentro de su propia flota. Se muestra en la embarcación y en la orden de trabajo, permite encontrar embarcaciones en la búsqueda y se puede imprimir en facturas, presupuestos y órdenes de trabajo desde el diseñador de documentos. Al desactivarlo se oculta de nuevo y se conserva lo introducido.",
+      "saved": "Configuración guardada",
+      "failedSave": "Error al guardar la configuración"
+    },
+    "ownFields": {
+      "title": "Tus propios campos",
+      "description": "Campos que defines tú mismo, en órdenes de trabajo, presupuestos, vehículos y clientes.",
+      "descriptionMarine": "Campos que defines tú mismo, en órdenes de trabajo, presupuestos, embarcaciones y clientes."
+    }
   },
   "workshop": {
     "title": "Valores predeterminados del taller",
@@ -2632,7 +2678,98 @@
     "conditionMapViewsSides": "Solo los laterales",
     "conditionMapWidthHint": "Vacío ocupa toda la fila. Indique puntos para reducir el dibujo; se colocará según la alineación y la leyenda conserva todo el ancho.",
     "conditionMapDense": "Tabla compacta",
-    "conditionMapDenseHint": "Junta las filas de la tabla bajo el dibujo para que ocupe menos espacio en la página."
+    "conditionMapDenseHint": "Junta las filas de la tabla bajo el dibujo para que ocupe menos espacio en la página.",
+    "equipmentList": "Qué equipamiento",
+    "equipmentListVehicle": "En el vehículo",
+    "equipmentListVehicleMarine": "En la embarcación",
+    "equipmentListJob": "Trabajado",
+    "equipmentListHint": "En el vehículo muestra todo lo que tiene instalado ahora. Trabajado muestra solo los elementos sobre los que trabaja la orden o el presupuesto. Los campos de abajo eligen las columnas y su orden.",
+    "equipmentListHintMarine": "En la embarcación muestra todo lo que tiene instalado ahora. Trabajado muestra solo los elementos sobre los que trabaja la orden o el presupuesto. Los campos de abajo eligen las columnas y su orden.",
+    "equipmentNoneHint": "Añada tipos de equipamiento en Configuración, Facturas y presupuestos, Campos personalizados para imprimir aquí el equipamiento del vehículo.",
+    "equipmentNoneHintMarine": "Añada tipos de equipamiento en Configuración, Facturas y presupuestos, Campos personalizados para imprimir aquí el equipamiento de la embarcación.",
+    "vehiclePhoto": "Foto del vehículo",
+    "vehiclePhotoMarine": "Foto de la embarcación",
+    "vehiclePhotoOff": "No",
+    "vehiclePhotoBeside": "Foto junto a los datos",
+    "vehiclePhotoFaded": "Fondo atenuado",
+    "vehiclePhotoHint": "Imprime la foto guardada en el vehículo. Fondo atenuado la aclara solo detrás de este bloque, lo suficiente para que el texto siga legible. Un vehículo sin foto se imprime como antes.",
+    "vehiclePhotoHintMarine": "Imprime la foto guardada en la embarcación. Fondo atenuado la aclara solo detrás de este bloque, lo suficiente para que el texto siga legible. Una embarcación sin foto se imprime como antes.",
+    "equipmentTitle": "Encabezado",
+    "equipmentTitleHint": "Déjelo vacío para imprimir el encabezado predeterminado en el idioma del documento, o escriba el suyo, por ejemplo \"Detalles del equipamiento instalado\".",
+    "search": {
+      "label": "Buscar en el diseñador",
+      "placeholder": "Busca una sección o un campo",
+      "clear": "Borrar búsqueda",
+      "results": "Resultados de búsqueda",
+      "count": "{count, plural, one {# resultado} other {# resultados}}",
+      "emptySpoken": "Sin resultados",
+      "emptyTitle": "Nada en este documento coincide con «{query}»",
+      "emptyHint": "La búsqueda encuentra secciones y sus campos, incluidos tus propios campos personalizados.",
+      "groups": {
+        "fields": "Campos",
+        "sections": "Secciones",
+        "styling": "Estilo del documento"
+      },
+      "state": {
+        "shown": "Visible",
+        "off": "Desactivado",
+        "hiddenSection": "Sección oculta",
+        "needsSetting": "Requiere ajuste",
+        "notPlaced": "Sin colocar"
+      },
+      "needsSettingLine": "{section} · No activado en Configuración",
+      "needsSettingNote": "No está activado para este taller, así que aún no se puede imprimir. Actívalo en Configuración, Campos personalizados, y aparecerá en esta lista.",
+      "openSettings": "Abrir Configuración",
+      "keys": {
+        "move": "Mover",
+        "go": "Ir a",
+        "close": "Cerrar"
+      },
+      "aliases": {
+        "customer_reference": "po, oc, orden de compra, número de pedido, pedido, referencia, referencia del cliente",
+        "fleet_number": "flota, número de flota, unidad, número interno, número de camión, número de vehículo",
+        "meter_readings": "contador, horómetro, horas, horas de motor, toma de fuerza, pto",
+        "mileage": "kilometraje, km, odómetro, cuentakilómetros, millas, kilómetros",
+        "odometer": "cuentakilómetros, kilometraje, km, millas, kilómetros",
+        "license_plate": "matrícula, placa, patente, número de matrícula",
+        "vin": "vin, número de bastidor, bastidor, chasis, número de serie",
+        "hsn_tsn": "clave de tipo, kba, hsn, tsn",
+        "vehicle_photo": "foto, imagen, fotografía",
+        "customer_tax_id": "nif, cif, rfc, nit, cuit, iva, número fiscal",
+        "customer_address": "calle, código postal, cp, ciudad, dirección",
+        "customer_phone": "teléfono, tel, móvil, celular",
+        "customer_email": "correo, email, e-mail, correo electrónico",
+        "company_org_number": "cif, nif, rfc, nit, cuit, número de empresa, registro mercantil",
+        "company_phone": "teléfono, tel, móvil",
+        "company_email": "correo, email, e-mail",
+        "logo": "logotipo, marca, imagen",
+        "portal_link": "portal del cliente, enlace, link, url",
+        "footer_note": "pie de página, texto inferior, nota al pie",
+        "invoice_number": "número de factura, nº factura, número de documento, número de presupuesto",
+        "due_date": "vencimiento, fecha límite, pagar antes de, plazo",
+        "payment_terms": "condiciones de pago, plazo de pago, días, crédito",
+        "tech_name": "mecánico, técnico, operario, empleado, realizado por",
+        "section_bank_account": "pago, datos bancarios, banco, iban, número de cuenta, cuenta",
+        "section_items_table": "líneas, conceptos, productos, servicios, filas",
+        "section_parts_table": "piezas, repuestos, recambios, materiales",
+        "section_labor_table": "mano de obra, trabajo, horas, tiempo",
+        "section_totals": "suma, total, subtotal, impuestos, iva, importe",
+        "section_header": "membrete, empresa, encabezado, cabecera",
+        "section_footer": "pie, pie de página, abajo",
+        "section_document_title": "título, encabezado, número, fecha",
+        "section_signature": "firma, firmado, firmar",
+        "section_telegram_qr": "código qr, qr, chat, telegram",
+        "section_job_qr": "código qr, qr, teléfono, móvil",
+        "section_condition_map": "daños, abolladuras, rayones, golpes, carrocería",
+        "section_notes": "notas, comentarios, observaciones, mensaje",
+        "styling_headerStyle": "membrete, diseño, banner, marco, encabezado",
+        "styling_colors": "colores, color, principal, acento, fondo, tema",
+        "styling_typography": "fuente, tipografía, letra, tamaño de letra, tamaño de texto",
+        "styling_page": "márgenes, altura de fila, rayas, franjas, espaciado",
+        "styling_frame": "borde, marco, sombra, esquinas, radio",
+        "styling_orgNumberLabel": "cif, nif, rfc, número de empresa, etiqueta"
+      }
+    }
   },
   "preview": {
     "title": "Servicio de frenos y cambio de aceite",
@@ -2788,6 +2925,10 @@
         "label": "Título del documento",
         "description": "El título del trabajo o del documento."
       },
+      "customer_reference": {
+        "label": "Referencia / n.º de pedido",
+        "description": "La referencia o el número de pedido que tu cliente dio para el trabajo. Vacío si no hay ninguno."
+      },
       "total": {
         "label": "Total",
         "description": "El total del documento, en su moneda."
@@ -3220,5 +3361,44 @@
       "bulkRevoked": "{count, plural, one {# enlace eliminado} other {# enlaces eliminados}}",
       "bulkRevokeFailed": "No se pudieron eliminar los enlaces. Inténtalo de nuevo."
     }
+  },
+  "meters": {
+    "title": "Contadores",
+    "description": "Contadores que se leen en los vehículos además del cuentakilómetros, como las horas de motor o las horas de toma de fuerza. Elija en cada vehículo cuáles tiene; las lecturas se toman en el vehículo y en las órdenes de trabajo, y pueden imprimirse en facturas, presupuestos y órdenes de trabajo desde el diseñador de documentos.",
+    "descriptionMarine": "Contadores que se leen en las embarcaciones además de las horas de motor, como las horas de toma de fuerza o las horas del generador. Elija en cada embarcación cuáles tiene; las lecturas se toman en la embarcación y en las órdenes de trabajo, y pueden imprimirse en facturas, presupuestos y órdenes de trabajo desde el diseñador de documentos.",
+    "name": "Nombre",
+    "namePlaceholder": "p. ej. Horas de motor",
+    "unit": "Unidad",
+    "unitPlaceholder": "p. ej. h",
+    "add": "Añadir contador",
+    "addTitle": "Añadir un contador",
+    "requiredBadge": "Obligatorio",
+    "options": {
+      "required": "Obligatorio en las órdenes de trabajo",
+      "requiredHint": "Se pide al completar el trabajo y antes de enviar su factura."
+    },
+    "suggestions": "Sugerencias:",
+    "suggestEngineHours": "Horas de motor",
+    "suggestPtoHours": "Horas de toma de fuerza",
+    "hoursUnit": "h",
+    "hidden": "Oculto",
+    "inUse": "Usar {name}",
+    "inUseShort": "En uso",
+    "onVehicles": "{count, plural, =0 {Aún en ningún vehículo} one {En # vehículo} other {En # vehículos}}",
+    "onVehiclesMarine": "{count, plural, =0 {Aún en ninguna embarcación} one {En # embarcación} other {En # embarcaciones}}",
+    "edit": "Editar {name}",
+    "editTitle": "Editar contador",
+    "editHint": "Un nuevo nombre o unidad se muestra en todos los lugares donde aparece el contador, también en los documentos que se impriman a partir de ahora. Las facturas ya emitidas conservan lo que imprimieron.",
+    "delete": "Eliminar contador",
+    "deleteNamed": "Eliminar {name}",
+    "deleteTitle": "¿Eliminar {name}?",
+    "deleteHint": "{count, plural, =0 {Aún no está en ningún vehículo.} one {Está en # vehículo, y sus lecturas allí se eliminan con él.} other {Está en # vehículos, y sus lecturas se eliminan con él.}} Para conservar las lecturas, desactive su uso en su lugar.",
+    "deleteHintMarine": "{count, plural, =0 {Aún no está en ninguna embarcación.} one {Está en # embarcación, y sus lecturas allí se eliminan con él.} other {Está en # embarcaciones, y sus lecturas se eliminan con él.}} Para conservar las lecturas, desactive su uso en su lugar.",
+    "created": "{name} añadido",
+    "updated": "{name} guardado",
+    "deleted": "{name} eliminado",
+    "saveError": "No se pudo guardar el contador",
+    "duplicateName": "Ya existe un contador con ese nombre.",
+    "odometerName": "\"{name}\" es el cuentakilómetros, que todos los vehículos ya tienen. Dé otro nombre al contador."
   }
 }

+ 8 - 0
messages/es/setup.json

@@ -0,0 +1,8 @@
+{
+  "heavyVehicles": {
+    "command": "Configurar para flotas y vehículos pesados",
+    "commandMarine": "Configurar para flotas y embarcaciones comerciales",
+    "docs": "Leer la guía para flotas y vehículos pesados",
+    "docsMarine": "Leer la guía para flotas y embarcaciones comerciales"
+  }
+}

+ 66 - 1
messages/es/vehicles.json

@@ -36,7 +36,8 @@
     "inspectionDue30": "Vence en 30 días",
     "inspectionDue90": "Vence en 90 días",
     "inspectionDue": "ITV {date}",
-    "remindCustomers": "Recordar a estos clientes"
+    "remindCustomers": "Recordar a estos clientes",
+    "fleetNumber": "N.º de flota / unidad"
   },
   "detail": {
     "vehicleArchived": "Este vehículo esta archivado",
@@ -102,6 +103,7 @@
     "inspectionCheckedAt": "Comprobado en el registro el {date}",
     "notRegistered": "Sin matricular",
     "soldReported": "El cliente indicó venta el {date}",
+    "fleetNumber": "N.º flota",
     "typeKey": "HSN/TSN",
     "addPhoto": "Añadir foto",
     "changePhoto": "Cambiar foto",
@@ -401,6 +403,9 @@
     "hsn": "HSN",
     "tsn": "TSN",
     "typeKey": "HSN/TSN",
+    "fleetNumber": "N.º de flota / unidad",
+    "fleetNumberPlaceholder": "ej. T-208",
+    "fleetNumberTooLong": "El N.º de flota / unidad puede tener como máximo {max} caracteres",
     "typeKeyHint": "Del permiso de circulación alemán: HSN es el campo 2.1 y TSN son los tres primeros caracteres del campo 2.2.",
     "hsnInvalid": "El HSN tiene cuatro dígitos, del campo 2.1 del permiso de circulación.",
     "tsnInvalid": "El TSN tiene tres letras o dígitos, el inicio del campo 2.2 del permiso de circulación.",
@@ -679,5 +684,65 @@
     "refreshed": "Datos de seguridad actualizados",
     "openSite": "Abrir en {source}",
     "errorLoad": "No se pudieron cargar los datos de seguridad"
+  },
+  "meters": {
+    "title": "Contadores",
+    "addMeter": "Añadir contador",
+    "addMeterTitle": "Añadir un contador",
+    "addMeterHint": "Cuáles de los contadores del taller tiene este vehículo. Se puede introducir una primera lectura ahora o más tarde.",
+    "addMeterHintMarine": "Cuáles de los contadores del taller tiene esta embarcación. Se puede introducir una primera lectura ahora o más tarde.",
+    "meter": "Contador",
+    "firstReading": "Primera lectura (opcional)",
+    "noMeters": "Este vehículo aún no tiene ninguno de los contadores del taller.",
+    "noMetersMarine": "Esta embarcación aún no tiene ninguno de los contadores del taller.",
+    "readOn": "Leído el {date}",
+    "total": "Total {total}",
+    "meterActions": "{name}: más",
+    "addReading": "Añadir lectura",
+    "addReadingTitle": "Nueva lectura de {name}",
+    "currentIs": "Última lectura: {reading}",
+    "reading": "Lectura",
+    "readingDate": "Fecha de lectura",
+    "saveReading": "Guardar lectura",
+    "readingSaved": "Lectura de {name} guardada",
+    "lowerReading": "Por debajo de la última lectura, {last}. Se guarda de todos modos.",
+    "savedLower": "Lectura de {name} guardada. Está por debajo de la última lectura, {last}.",
+    "invalidReading": "Escriba la lectura como un número, con hasta dos decimales.",
+    "saveError": "No se pudo guardar la lectura",
+    "requiredMark": "obligatorio",
+    "requiredMissing": "Obligatorio antes de completar el trabajo.",
+    "requiredNotCompleted": "No se ha completado. Rellena: {meters}",
+    "requiredNotMoved": "No se ha movido. Un trabajo completado necesita lecturas en el vehículo nuevo: {meters}. Reabre el trabajo para moverlo.",
+    "requiredNotSent": "No se ha enviado. Rellena: {meters}",
+    "requiredNotShared": "No se ha creado el enlace. Rellena: {meters}",
+    "history": "Historial",
+    "historyTitle": "Historial de {name}",
+    "historyHint": "Una lectura marcada como errónea se queda aquí, pero ya no cuenta.",
+    "noReadings": "Aún no hay lecturas.",
+    "markWrong": "Marcar como errónea",
+    "countAgain": "Volver a contar",
+    "wrongBadge": "Errónea",
+    "replacedBadge": "Contador sustituido",
+    "replacedLine": "El contador antiguo terminó en {oldEnd}, el nuevo empezó en {newStart}",
+    "fromApp": "desde la app del técnico",
+    "close": "Cerrar",
+    "replace": "Contador sustituido",
+    "replaceTitle": "Contador {name} sustituido",
+    "replaceHint": "Lo que mostraba el contador antiguo al retirarlo y lo que mostraba el nuevo al instalarlo. El total continúa tras el cambio.",
+    "oldEnd": "Última lectura del contador antiguo",
+    "newStart": "Primera lectura del contador nuevo",
+    "replacedOn": "Fecha de sustitución",
+    "replaceSave": "Guardar",
+    "replacedSaved": "Sustitución de {name} guardada",
+    "remove": "Quitar de este vehículo",
+    "removeMarine": "Quitar de esta embarcación",
+    "removeTitle": "¿Quitar {name} de este vehículo?",
+    "removeTitleMarine": "¿Quitar {name} de esta embarcación?",
+    "removeHint": "Sus lecturas se conservan y vuelven si el contador se añade de nuevo.",
+    "removed": "{name} quitado",
+    "added": "{name} añadido",
+    "itemTitle": "Contadores",
+    "noItemMeters": "Este elemento no tiene contadores.",
+    "addItemMeterHint": "El contador va con este elemento dondequiera que esté instalado."
   }
 }

+ 37 - 2
messages/fr/audit.json

@@ -212,7 +212,24 @@
     "integration_backup_run": "Sauvegarde lancée",
     "integration_backup_restore": "Sauvegarde restaurée",
     "shareLink_expiry": "Expiration du lien de partage modifiée",
-    "shareLink_revoke": "Liens de partage supprimés"
+    "shareLink_revoke": "Liens de partage supprimés",
+    "meterType_create": "Compteur créé",
+    "meterType_update": "Compteur mis à jour",
+    "meterType_delete": "Compteur supprimé",
+    "vehicleMeter_remove": "Compteur de véhicule retiré",
+    "vehicleMeter_replace": "Compteur de véhicule remplacé",
+    "meterReading_markWrong": "Relevé de compteur marqué comme erroné",
+    "meterReading_restore": "Relevé de compteur de nouveau compté",
+    "equipmentType_create": "Type d'équipement créé",
+    "equipmentType_update": "Type d'équipement mis à jour",
+    "equipmentType_reorder": "Types d'équipement réordonnés",
+    "equipmentType_delete": "Type d'équipement supprimé",
+    "equipment_add": "Équipement ajouté",
+    "equipment_update": "Équipement mis à jour",
+    "equipment_move": "Équipement déplacé",
+    "equipment_remove": "Équipement démonté",
+    "equipment_refit": "Équipement remonté",
+    "equipment_delete": "Équipement supprimé"
   },
   "summary": {
     "auth_twoFactorEnabled": "A activé la connexion à deux facteurs",
@@ -383,6 +400,24 @@
     "share_link_expiry_workshop": "Lien de partage réglé pour suivre le réglage de l'atelier",
     "share_link_expiry_never": "Lien de partage réglé pour ne jamais expirer",
     "share_link_expiry_date": "Lien de partage réglé pour expirer le {date}",
-    "share_link_revoke_bulk": "{count, plural, one {# lien de partage supprimé} other {# liens de partage supprimés}}"
+    "share_link_revoke_bulk": "{count, plural, one {# lien de partage supprimé} other {# liens de partage supprimés}}",
+    "meterType_create": "A créé le compteur \"{name}\"",
+    "meterType_update": "A mis à jour le compteur \"{name}\"",
+    "meterType_delete": "A supprimé le compteur \"{name}\"",
+    "vehicleMeter_remove": "A retiré le compteur \"{name}\" d'un véhicule",
+    "vehicleMeter_replace": "A remplacé le compteur \"{name}\" : l'ancien s'est arrêté à {oldEnd}, le nouveau a commencé à {newStart}",
+    "meterReading_markWrong": "A marqué le relevé {value} de {name} comme erroné",
+    "meterReading_restore": "A de nouveau compté le relevé {value} de {name}",
+    "equipmentType_create": "A créé le type d'équipement \"{name}\"",
+    "equipmentType_update": "A mis à jour le type d'équipement \"{name}\"",
+    "equipmentType_reorder": "A réordonné les types d'équipement",
+    "equipmentType_delete": "A supprimé le type d'équipement \"{name}\"",
+    "equipment_add": "A ajouté {name} sur {vehicle}",
+    "equipment_update": "A mis à jour {name} sur {vehicle}",
+    "equipment_move": "A déplacé {name} de {from} vers {vehicle}",
+    "equipment_remove": "A démonté {name} de {vehicle}",
+    "equipment_refit": "A remonté {name} sur {vehicle}",
+    "equipment_delete": "A supprimé {name} de {vehicle}",
+    "equipment_meter": "A ajouté le compteur {meter} à {name} sur {vehicle}"
   }
 }

+ 3 - 0
messages/fr/customers.json

@@ -104,6 +104,9 @@
     "invoiceDesignHint": "Les factures de ce client sont imprimées avec ce design au lieu du défaut de l'atelier. Une facture peut toujours choisir le sien.",
     "reminderOptOut": "Pas de rappels",
     "reminderOptOutHint": "Ne pas inclure ce client dans les rappels de contrôle ni les autres campagnes.",
+    "poRequired": "N° de commande obligatoire",
+    "poRequiredHint": "Les factures de ce client attendent que le champ Référence / n° de commande soit rempli sur l'ordre de travail.",
+    "poRequiredBadge": "N° de commande requis",
     "bookAppointment": "Prendre rendez-vous"
   },
   "serviceRequests": {

+ 3 - 0
messages/fr/dataImport.json

@@ -192,6 +192,7 @@
       "engineCode": "Code moteur",
       "hsn": "HSN (code constructeur)",
       "tsn": "TSN (code type)",
+      "fleetNumber": "N° de parc / d'unité",
       "purchaseDate": "Date d'achat",
       "purchasePrice": "Prix d'achat"
     },
@@ -202,6 +203,7 @@
       "total": "Montant total",
       "mileage": "Kilométrage au moment du service",
       "invoiceNumber": "Numéro de facture",
+      "customerReference": "Référence / n° de commande",
       "notes": "Notes de service",
       "technician": "Technicien"
     }
@@ -211,6 +213,7 @@
     "invalid_email": "L'e-mail \"{value}\" n'est pas valide et a été ignoré",
     "invalid_vin": "Le NIV \"{value}\" ne fait pas 17 caractères ; conservé tel quel",
     "invalid_type_key": "{field} « {value} » n'est pas un HSN ou TSN valide ; ignoré",
+    "fleet_number_too_long": "N° de parc / d'unité \"{value}\" dépasse 40 caractères ; ignoré",
     "vehicle_make_model_required": "La marque et le modèle sont manquants",
     "vehicle_year_required": "L'année est manquante",
     "vehicle_year_invalid": "L'année \"{value}\" n'est pas une année valide",

+ 114 - 0
messages/fr/equipment.json

@@ -0,0 +1,114 @@
+{
+  "types": {
+    "title": "Équipements",
+    "description": "Les types d'équipements que vous montez ou entretenez sur les véhicules, comme une grue, un hayon élévateur ou un bras de levage. Ajoutez le premier pour enregistrer des équipements sur les véhicules et les ordres de travail. D'ici là, rien concernant les équipements ne s'affiche.",
+    "descriptionMarine": "Les types d'équipements que vous montez ou entretenez sur les bateaux, comme une grue, un bossoir ou un treuil. Ajoutez le premier pour enregistrer des équipements sur les bateaux et les ordres de travail. D'ici là, rien concernant les équipements ne s'affiche.",
+    "name": "Type",
+    "namePlaceholder": "ex. Grue",
+    "add": "Ajouter un type",
+    "created": "{name} ajouté",
+    "updated": "{name} enregistré",
+    "deleted": "{name} supprimé",
+    "saveError": "Impossible d'enregistrer le type d'équipement",
+    "duplicateName": "Un type porte déjà ce nom",
+    "hasItems": "Ce type a des équipements. Masquez-le plutôt, pour que ses éléments gardent leur type.",
+    "hidden": "Masqué",
+    "inUse": "Proposer {name} pour les nouveaux équipements",
+    "inUseShort": "Utilisé",
+    "itemCount": "{count, plural, =0 {Aucun élément pour l'instant} one {# élément sur les véhicules} other {# éléments sur les véhicules}}",
+    "itemCountMarine": "{count, plural, =0 {Aucun élément pour l'instant} one {# élément sur les bateaux} other {# éléments sur les bateaux}}",
+    "moveUp": "Monter {name}",
+    "moveDown": "Descendre {name}",
+    "rename": "Renommer {name}",
+    "renameTitle": "Renommer le type d'équipement",
+    "renameHint": "Les éléments de ce type, et les documents pas encore émis, affichent le nouveau nom.",
+    "deleteNamed": "Supprimer {name}",
+    "deleteTitle": "Supprimer {name} ?",
+    "deleteHint": "Il n'a aucun élément, donc rien d'autre ne change.",
+    "delete": "Supprimer"
+  },
+  "vehicle": {
+    "title": "Équipements",
+    "add": "Ajouter un équipement",
+    "empty": "Aucun équipement sur ce véhicule.",
+    "emptyMarine": "Aucun équipement sur ce bateau.",
+    "serial": "N/S {serial}",
+    "examinationDue": "Vérification prévue le {date}",
+    "examinationSoon": "Vérification bientôt due : {date}",
+    "examinationOverdue": "Vérification en retard depuis le {date}",
+    "showDetails": "Afficher les détails de {name}",
+    "hideDetails": "Masquer les détails de {name}",
+    "more": "Plus pour {name}",
+    "edit": "Modifier",
+    "move": "Déplacer vers un autre véhicule",
+    "moveMarine": "Déplacer vers un autre bateau",
+    "remove": "Démonter",
+    "removeTitle": "Démonter {name} ?",
+    "removeHint": "Il est retiré de ce véhicule et conservé dans son historique, avec ses compteurs, relevés et rapport. Vous pourrez le remonter.",
+    "removeHintMarine": "Il est retiré de ce bateau et conservé dans son historique, avec ses compteurs, relevés et rapport. Vous pourrez le remonter.",
+    "removed": "{name} démonté",
+    "delete": "Supprimer",
+    "deleteTitle": "Supprimer {name} définitivement ?",
+    "deleteHint": "Son historique, ses compteurs, relevés et fichier de rapport sont aussi supprimés. Pour les garder, démontez-le plutôt.",
+    "deleteJobs": "{count, plural, one {# ordre de travail le concerne et ne l'affichera plus.} other {# ordres de travail le concernent et ne l'afficheront plus.}} Les factures émises conservent leur copie imprimée.",
+    "deleted": "{name} supprimé",
+    "history": "{count, plural, one {Équipement précédent (#)} other {Équipements précédents (#)}}",
+    "movedTo": "Déplacé vers <vehicle></vehicle> le {date}",
+    "movedOn": "Déplacé le {date}",
+    "removedOn": "Démonté le {date}",
+    "refit": "Remonter",
+    "refitted": "{name} remonté",
+    "saveError": "Impossible d'enregistrer l'équipement"
+  },
+  "form": {
+    "addTitle": "Ajouter un équipement",
+    "editTitle": "Modifier l'équipement",
+    "type": "Type",
+    "make": "Marque",
+    "model": "Modèle",
+    "serialNumber": "Numéro de série",
+    "manufacture": "Fabrication",
+    "manufacturePlaceholder": "2019 ou {date}",
+    "manufactureHint": "Une année seule, comme 2019, ou une date complète, comme {date}.",
+    "manufactureInvalid": "Saisissez une année, comme 2019, ou une date complète, comme {date}.",
+    "manufactureFuture": "L'année de fabrication est dans le futur.",
+    "installDate": "Monté le",
+    "ratedCapacity": "Charge maximale d'utilisation",
+    "ratedCapacityPlaceholder": "ex. 8 t",
+    "lastExaminedAt": "Dernière vérification",
+    "nextExaminationDue": "Prochaine vérification",
+    "certificateReference": "Référence du certificat",
+    "report": "Rapport de vérification",
+    "attachReport": "Joindre le rapport",
+    "uploading": "Envoi…",
+    "uploadError": "Impossible d'envoyer le fichier",
+    "removeReport": "Retirer {name}",
+    "notes": "Notes",
+    "added": "Équipement ajouté",
+    "updated": "Équipement enregistré",
+    "saveError": "Impossible d'enregistrer l'équipement"
+  },
+  "move": {
+    "title": "Déplacer {name}",
+    "hint": "Il emporte ses compteurs, relevés, rapport et historique de travaux. L'historique de ce véhicule indique où il est allé.",
+    "hintMarine": "Il emporte ses compteurs, relevés, rapport et historique de travaux. L'historique de ce bateau indique où il est allé.",
+    "to": "Vers le véhicule",
+    "toMarine": "Vers le bateau",
+    "pick": "Choisir un véhicule",
+    "pickMarine": "Choisir un bateau",
+    "noVehicles": "Aucun véhicule trouvé.",
+    "noVehiclesMarine": "Aucun bateau trouvé.",
+    "confirm": "Déplacer",
+    "moved": "{name} déplacé",
+    "saveError": "Impossible de déplacer l'équipement"
+  },
+  "workOn": {
+    "label": "Intervention sur",
+    "none": "Aucun équipement choisi",
+    "search": "Rechercher un équipement",
+    "noMatch": "Aucun équipement ne correspond",
+    "saveError": "Impossible d'enregistrer les équipements concernés par le travail",
+    "moved": "Déplacé depuis",
+    "removed": "Démonté depuis"
+  }
+}

+ 11 - 0
messages/fr/integrations.json

@@ -731,6 +731,13 @@
         "startDateHelp": "Laissez vide pour envoyer toutes les factures émises. Utilisez la date où votre comptabilité est passée sur QuickBooks pour ne pas saisir deux fois les anciennes factures.",
         "includeVehicle": "Indiquer le véhicule sur la facture",
         "includeVehicleHelp": "Une ligne de texte au-dessus des lignes facturées avec l'année, la marque, le modèle, la plaque et le kilométrage, pour que la comptabilité sache de quelle voiture il s'agit.",
+        "customerReference": "Référence client / n° de commande",
+        "customerReferenceHelp": "Où la Référence / n° de commande de l'ordre de travail apparaît sur la facture QuickBooks. QuickBooks n'a pas de numéro de commande propre sur une facture : elle peut donc ouvrir le message que lit votre client, ou remplir l'un de vos champs personnalisés des formulaires de vente. Seuls les ordres de travail qui ont une référence sont concernés.",
+        "customerReferenceNone": "Non envoyée",
+        "customerReferenceMemo": "Dans le message de la facture",
+        "customerReferenceCustomField": "Dans un champ personnalisé",
+        "customerReferenceField": "Champ personnalisé pour la référence",
+        "customerReferenceFieldHelp": "Les champs personnalisés activés pour les formulaires de vente dans QuickBooks (Account and settings, Sales, Sales form content). Créez ou activez d'abord un champ tel que P.O. Number. Les 31 premiers caractères de la référence sont envoyés, et une référence supprimée ici plus tard reste sur une facture déjà transmise.",
         "laborItemId": "Article pour les lignes de main-d'œuvre",
         "laborItemIdHelp": "Laissez vide et un article nommé Labour sera créé sous votre compte de produits la première fois.",
         "partsItemId": "Article pour les lignes de pièces",
@@ -783,6 +790,7 @@
         "referenceVehicle": "Véhicule et plaque",
         "referenceTitle": "Titre du travail",
         "referenceInvoiceNumber": "Numéro de facture Torqvoice",
+        "referenceCustomerReference": "Référence / n° de commande de l'ordre de travail (véhicule et plaque à défaut)",
         "referenceNone": "Rien",
         "includeVehicle": "Indiquer le véhicule sur la facture",
         "includeVehicleHelp": "Une ligne de texte au-dessus des lignes facturées avec l'année, la marque, le modèle, la plaque et le kilométrage.",
@@ -877,6 +885,7 @@
         "referenceVehicle": "Véhicule et plaque",
         "referenceTitle": "Titre du travail",
         "referenceInvoiceNumber": "Numéro de facture Torqvoice",
+        "referenceCustomerReference": "Référence / n° de commande de l'ordre de travail (véhicule et plaque à défaut)",
         "referenceNone": "Rien",
         "includeVehicle": "Indiquer le véhicule sur la facture",
         "includeVehicleHelp": "L'année, la marque, le modèle, la plaque et le kilométrage, placés avec les notes au client.",
@@ -955,6 +964,8 @@
         "startDateHelp": "Laissez vide pour envoyer toutes les factures émises. Utilisez la date où votre comptabilité est passée sur Fiken pour ne pas saisir deux fois les anciennes factures.",
         "attachPdf": "Joindre le PDF de la facture",
         "attachPdfHelp": "Une facture entre dans Fiken comme une vente (Annet salg) sous son numéro Torqvoice. Avec cette option, le PDF reçu par le client est classé sur la vente comme pièce justificative.",
+        "customerReferenceInText": "Mettre la référence client / n° de commande dans le texte de la vente",
+        "customerReferenceInTextHelp": "Une vente dans Fiken n'a pas de champ pour une référence : la Référence / n° de commande de l'ordre de travail est donc placée devant la première ligne sous la forme Deres ref. Fiken ne peut pas modifier une vente une fois saisie : une référence ajoutée après la transmission de la facture n'est pas envoyée.",
         "laborAccount": "Compte de produits pour la main-d'œuvre",
         "laborAccountHelp": "Laissez vide pour utiliser le 3000.",
         "partsAccount": "Compte de produits pour les pièces",

+ 16 - 1
messages/fr/pdf.json

@@ -227,6 +227,8 @@
     "signature": "Signature",
     "signedBy": "Signé par",
     "signatureDate": "Date",
+    "customerReference": "Votre référence / n° de commande",
+    "fleetNumber": "N° de parc",
     "conditionMapTitle": "État du véhicule",
     "conditionMapNo": "N°",
     "conditionMapArea": "Zone",
@@ -238,7 +240,20 @@
     "serviceTypeUpgrade": "Mise à Niveau",
     "serviceTypeInspection": "Inspection",
     "customFieldYes": "Oui",
-    "customFieldNo": "Non"
+    "customFieldNo": "Non",
+    "equipmentTitle": "Équipements",
+    "equipmentType": "Type",
+    "equipmentMake": "Marque",
+    "equipmentModel": "Modèle",
+    "equipmentManufactureYear": "Année",
+    "equipmentSerialNumber": "N° de série",
+    "equipmentInstallDate": "Monté le",
+    "equipmentRatedCapacity": "CMU",
+    "equipmentLastExamined": "Dernière vérif.",
+    "equipmentNextExamination": "Prochaine vérif.",
+    "equipmentCertificateReference": "Certificat",
+    "equipmentMeters": "Relevés",
+    "equipmentNotes": "Notes"
   },
   "workOrder": {
     "title": "ORDRE DE TRAVAIL",

+ 3 - 0
messages/fr/portal.json

@@ -364,6 +364,7 @@
     "summaryPaid": "Payé",
     "summaryLeft": "Reste à payer",
     "summaryDue": "Échéance",
+    "summaryReference": "Votre référence / n° de commande",
     "summaryDate": "Date",
     "fullInvoice": "La facture complète"
   },
@@ -420,6 +421,7 @@
     "vin": "VIN : {vin}",
     "vinMarine": "HIN : {vin}",
     "typeKey": "HSN/TSN: {typeKey}",
+    "fleetNumber": "N° de parc : {fleetNumber}",
     "distanceKm": "{value} km",
     "distanceMi": "{value} mi",
     "engineHours": "{value} heures moteur",
@@ -598,6 +600,7 @@
     "number": "Numéro de devis",
     "date": "Date",
     "validUntil": "Valable jusqu'au",
+    "reference": "Votre référence / n° de commande",
     "vehicle": "Véhicule",
     "fullQuote": "Le devis complet",
     "answerTitle": "L'atelier attend votre réponse",

+ 1 - 0
messages/fr/quotes.json

@@ -75,6 +75,7 @@
         "mileage": "{count} {unit}"
       }
     },
+    "convertReferenceKept": "L'ordre de travail a gardé sa propre référence / n° de commande, {job}. Celle du devis, {quote}, n'a pas été reprise.",
     "convert": "Convertir",
     "convertToWorkOrder": "Convertir en ordre de travail",
     "cancel": "Annuler",

+ 9 - 0
messages/fr/service.json

@@ -761,6 +761,15 @@
     "fromQuote": "Issu du devis {ref}",
     "startInspection": "Commencer l'inspection"
   },
+  "reference": {
+    "label": "Référence / n° de commande",
+    "placeholder": "N° de commande ou référence",
+    "requiredNotice": "Ce client exige une référence ou un numéro de commande sur ses factures. Renseignez-le avant l'envoi de la facture.",
+    "requiredToInvoice": "Ce client exige une référence ou un numéro de commande sur ses factures. Remplissez Référence / n° de commande sur l'ordre de travail, puis envoyez la facture.",
+    "saveFailed": "Impossible d'enregistrer la référence",
+    "saved": "Enregistré",
+    "notSwitchedOn": "Le champ Référence / n° de commande est désactivé pour cet atelier. Activez-le dans Paramètres, Factures et devis, Champs personnalisés."
+  },
   "photoHandoff": {
     "button": "Ajouter depuis le téléphone",
     "dialogTitle": "Ajouter des photos et des documents depuis un téléphone",

+ 185 - 5
messages/fr/settings.json

@@ -754,7 +754,8 @@
       "concerns": "Demandes du client",
       "job_description": "Travaux demandés",
       "work_checklist": "Liste des travaux",
-      "condition_map": "État du véhicule"
+      "condition_map": "État du véhicule",
+      "equipment": "Équipements"
     },
     "fields": {
       "customer_name": "Nom du client",
@@ -763,11 +764,13 @@
       "customer_email": "E-mail",
       "customer_phone": "Téléphone",
       "customer_tax_id": "Numéro TVA client",
+      "customer_reference": "Votre référence / n° de commande",
       "vehicle_name": "Véhicule",
       "vin": "VIN",
       "license_plate": "Plaque d'immatriculation",
       "mileage": "Kilométrage",
       "hsn_tsn": "HSN/TSN",
+      "fleet_number": "N° de parc / d'unité",
       "service_title": "Titre du service",
       "service_type": "Type de service",
       "tech_name": "Technicien",
@@ -817,7 +820,22 @@
       "customer_line": "Ligne de signature du client",
       "legend": "Légende",
       "previous_marks": "Marques antérieures",
-      "blank_sheet": "Feuille vierge à remplir à la main"
+      "blank_sheet": "Feuille vierge à remplir à la main",
+      "meter_readings": "Relevés de compteurs",
+      "vehicle_photo": "Photo du véhicule",
+      "vehicle_photoMarine": "Photo du bateau",
+      "equipment_type": "Type",
+      "equipment_make": "Marque",
+      "equipment_model": "Modèle",
+      "equipment_manufacture_year": "Année de fabrication",
+      "equipment_serial_number": "Numéro de série",
+      "equipment_install_date": "Monté le",
+      "equipment_rated_capacity": "Charge maximale d'utilisation",
+      "equipment_last_examined": "Dernière vérification",
+      "equipment_next_examination": "Prochaine vérification due",
+      "equipment_certificate_reference": "Référence du certificat",
+      "equipment_meters": "Relevés de compteurs",
+      "equipment_notes": "Notes"
     },
     "presetsTitle": "Partir d’une disposition",
     "presetsHint": "Remplace la disposition ci-dessous. Rien n’est enregistré avant votre validation.",
@@ -1147,11 +1165,16 @@
   },
   "customFields": {
     "title": "Champs personnalisés",
-    "description": "Définissez des champs personnalisés qui apparaissent sur les fiches de service et les devis.",
+    "description": "Les informations supplémentaires que votre atelier enregistre : champs prêts à l'emploi, vos propres champs, compteurs et équipements.",
     "addField": "Ajouter un champ",
     "filterAll": "Tous",
     "serviceRecord": "Fiche de service",
     "quote": "Devis",
+    "vehicle": "Véhicule",
+    "vehicleMarine": "Bateau",
+    "customer": "Client",
+    "recordPlacementHint": "Affiché sur le véhicule ou le client et dans leurs formulaires. Pour l'imprimer sur les factures, devis ou ordres de travail, ajoutez-le à un bloc dans le concepteur de documents.",
+    "recordPlacementHintMarine": "Affiché sur le bateau ou le client et dans leurs formulaires. Pour l'imprimer sur les factures, devis ou ordres de travail, ajoutez-le à un bloc dans le concepteur de documents.",
     "emptyState": "Aucun champ personnalisé défini. Cliquez sur \"Ajouter un champ\" pour en créer un.",
     "required": "Obligatoire",
     "inactive": "Inactif",
@@ -1202,7 +1225,30 @@
     "dateError": "Le champ {label} doit être une date valide",
     "optionError": "Le champ {label} doit correspondre à l'une de ses options",
     "checkboxError": "Le champ {label} doit être coché ou décoché",
-    "tooLongError": "Le champ {label} ne peut pas dépasser {max} caractères"
+    "tooLongError": "Le champ {label} ne peut pas dépasser {max} caractères",
+    "notSavedMissing": "Non enregistré. Renseignez : {fields}",
+    "notSavedInvalid": "Non enregistré. Vérifiez : {fields}",
+    "valueYes": "Oui",
+    "valueNo": "Non",
+    "readyMade": {
+      "title": "Champs prêts à l'emploi",
+      "description": "Des champs fournis avec Torqvoice. Chacun reste désactivé jusqu'à ce que vous l'activiez.",
+      "customerReferenceTitle": "Référence / n° de commande",
+      "customerReferenceEnabled": "Enregistrer une référence ou un numéro de commande client sur les ordres de travail et les devis",
+      "customerReferenceHint": "Ajoute un champ Référence / n° de commande aux ordres de travail, ventes au comptoir et devis, pour le numéro de commande ou la référence que vous donne votre client. Il peut être imprimé sur les factures, devis et ordres de travail depuis le concepteur de documents, retrouvé par la recherche et envoyé à votre logiciel comptable. Un client peut être marqué N° de commande obligatoire : ses factures attendent alors que la référence soit renseignée. Une fois désactivé, le champ est de nouveau masqué et les valeurs saisies sont conservées.",
+      "fleetNumberTitle": "N° de parc / d'unité",
+      "fleetNumberEnabled": "Enregistrer un numéro de parc ou d'unité sur les véhicules",
+      "fleetNumberEnabledMarine": "Enregistrer un numéro de parc ou d'unité sur les bateaux",
+      "fleetNumberHint": "Ajoute un champ N° de parc / d'unité aux véhicules, pour le numéro sous lequel votre client connaît le véhicule dans sa propre flotte. Il s'affiche sur le véhicule et l'ordre de travail, permet de retrouver les véhicules par la recherche et peut être imprimé sur les factures, devis et ordres de travail depuis le concepteur de documents. Une fois désactivé, le champ est de nouveau masqué et les valeurs saisies sont conservées.",
+      "fleetNumberHintMarine": "Ajoute un champ N° de parc / d'unité aux bateaux, pour le numéro sous lequel votre client connaît le bateau dans sa propre flotte. Il s'affiche sur le bateau et l'ordre de travail, permet de retrouver les bateaux par la recherche et peut être imprimé sur les factures, devis et ordres de travail depuis le concepteur de documents. Une fois désactivé, le champ est de nouveau masqué et les valeurs saisies sont conservées.",
+      "saved": "Paramètres enregistrés",
+      "failedSave": "Échec de l'enregistrement des paramètres"
+    },
+    "ownFields": {
+      "title": "Vos propres champs",
+      "description": "Les champs que vous créez vous-même, sur les ordres de travail, les devis, les véhicules et les clients.",
+      "descriptionMarine": "Les champs que vous créez vous-même, sur les ordres de travail, les devis, les bateaux et les clients."
+    }
   },
   "workshop": {
     "title": "Valeurs par défaut de l'atelier",
@@ -2632,7 +2678,98 @@
     "conditionMapViewsSides": "Côtés seulement",
     "conditionMapWidthHint": "Vide occupe toute la ligne. Indiquez des points pour réduire le dessin ; il se place selon l'alignement et la légende garde toute la largeur.",
     "conditionMapDense": "Tableau compact",
-    "conditionMapDenseHint": "Resserre les lignes du tableau sous le dessin pour qu'il prenne moins de place sur la page."
+    "conditionMapDenseHint": "Resserre les lignes du tableau sous le dessin pour qu'il prenne moins de place sur la page.",
+    "equipmentList": "Quels équipements",
+    "equipmentListVehicle": "Sur le véhicule",
+    "equipmentListVehicleMarine": "Sur le bateau",
+    "equipmentListJob": "Travaillés",
+    "equipmentListHint": "Sur le véhicule liste tout ce qui y est monté actuellement. Travaillés liste uniquement les éléments sur lesquels porte l'ordre de travail ou le devis. Les champs ci-dessous choisissent les colonnes et leur ordre.",
+    "equipmentListHintMarine": "Sur le bateau liste tout ce qui y est monté actuellement. Travaillés liste uniquement les éléments sur lesquels porte l'ordre de travail ou le devis. Les champs ci-dessous choisissent les colonnes et leur ordre.",
+    "equipmentNoneHint": "Ajoutez des types d'équipement dans Paramètres, Factures et devis, Champs personnalisés pour imprimer ici les équipements du véhicule.",
+    "equipmentNoneHintMarine": "Ajoutez des types d'équipement dans Paramètres, Factures et devis, Champs personnalisés pour imprimer ici les équipements du bateau.",
+    "vehiclePhoto": "Photo du véhicule",
+    "vehiclePhotoMarine": "Photo du bateau",
+    "vehiclePhotoOff": "Désactivé",
+    "vehiclePhotoBeside": "Photo à côté des détails",
+    "vehiclePhotoFaded": "Fond estompé",
+    "vehiclePhotoHint": "Imprime la photo enregistrée sur le véhicule. Fond estompé l'éclaircit uniquement derrière ce bloc, assez pour que le texte reste lisible. Un véhicule sans photo s'imprime comme avant.",
+    "vehiclePhotoHintMarine": "Imprime la photo enregistrée sur le bateau. Fond estompé l'éclaircit uniquement derrière ce bloc, assez pour que le texte reste lisible. Un bateau sans photo s'imprime comme avant.",
+    "equipmentTitle": "Titre",
+    "equipmentTitleHint": "Laissez vide pour imprimer le titre par défaut dans la langue du document, ou écrivez le vôtre, par exemple \"Détail des équipements montés\".",
+    "search": {
+      "label": "Rechercher dans le concepteur",
+      "placeholder": "Trouver une section ou un champ",
+      "clear": "Effacer la recherche",
+      "results": "Résultats de recherche",
+      "count": "{count, plural, one {# résultat} other {# résultats}}",
+      "emptySpoken": "Aucun résultat",
+      "emptyTitle": "Rien dans ce document ne correspond à « {query} »",
+      "emptyHint": "La recherche trouve les sections et leurs champs, y compris vos champs personnalisés.",
+      "groups": {
+        "fields": "Champs",
+        "sections": "Sections",
+        "styling": "Style du document"
+      },
+      "state": {
+        "shown": "Visible",
+        "off": "Désactivé",
+        "hiddenSection": "Section masquée",
+        "needsSetting": "Réglage requis",
+        "notPlaced": "Non placé"
+      },
+      "needsSettingLine": "{section} · Non activé dans les Paramètres",
+      "needsSettingNote": "Non activé pour cet atelier, il ne peut donc pas encore être imprimé. Activez-le dans Paramètres, Champs personnalisés, et il apparaîtra dans cette liste.",
+      "openSettings": "Ouvrir les Paramètres",
+      "keys": {
+        "move": "Déplacer",
+        "go": "Aller à",
+        "close": "Fermer"
+      },
+      "aliases": {
+        "customer_reference": "bon de commande, bdc, numéro de commande, commande, référence, référence client, po",
+        "fleet_number": "parc, numéro de parc, flotte, unité, numéro interne, numéro de camion, numéro de véhicule",
+        "meter_readings": "compteur, compteurs, heures, heures moteur, compteur horaire, prise de force",
+        "mileage": "kilométrage, km, compteur, odomètre, miles, kilomètres",
+        "odometer": "compteur, kilométrage, odomètre, km, miles, kilomètres",
+        "license_plate": "immatriculation, plaque, plaque d'immatriculation, numéro d'immatriculation, carte grise",
+        "vin": "vin, numéro de châssis, châssis, numéro de série",
+        "hsn_tsn": "clé de type, kba, hsn, tsn",
+        "vehicle_photo": "photo, image, illustration",
+        "customer_tax_id": "tva, numéro de tva, tva intracommunautaire, siret, siren, numéro fiscal",
+        "customer_address": "rue, code postal, cp, ville, adresse",
+        "customer_phone": "téléphone, tél, portable, mobile",
+        "customer_email": "mail, e-mail, email, courriel",
+        "company_org_number": "siret, siren, rcs, numéro d'entreprise, tva, numéro d'immatriculation",
+        "company_phone": "téléphone, tél, portable, mobile",
+        "company_email": "mail, e-mail, email, courriel",
+        "logo": "marque, logotype, image, emblème",
+        "portal_link": "portail client, lien, url",
+        "footer_note": "pied de page, texte du bas, mention",
+        "invoice_number": "numéro de facture, n° facture, numéro de document, numéro de devis",
+        "due_date": "échéance, date limite, à payer avant, délai",
+        "payment_terms": "conditions de paiement, délai de paiement, jours, net",
+        "tech_name": "mécanicien, technicien, employé, réalisé par, intervenant",
+        "section_bank_account": "paiement, coordonnées bancaires, rib, banque, iban, numéro de compte",
+        "section_items_table": "lignes, articles, produits, prestations, services",
+        "section_parts_table": "pièces, pièces détachées, fournitures, matériel",
+        "section_labor_table": "main-d'œuvre, main d'oeuvre, mo, travail, heures, temps",
+        "section_totals": "somme, total, sous-total, taxe, tva, montant, ttc",
+        "section_header": "en-tête, entreprise, haut, papier à en-tête",
+        "section_footer": "pied de page, bas",
+        "section_document_title": "titre, intitulé, numéro, date",
+        "section_signature": "signature, signé, signer",
+        "section_telegram_qr": "code qr, qr, chat, telegram",
+        "section_job_qr": "code qr, qr, téléphone, portable",
+        "section_condition_map": "dégâts, dommages, bosses, rayures, carrosserie",
+        "section_notes": "notes, commentaires, remarques, message",
+        "styling_headerStyle": "en-tête, mise en page, bannière, cadre",
+        "styling_colors": "couleurs, couleur, principale, accent, fond, thème",
+        "styling_typography": "police, typographie, taille du texte, taille de police",
+        "styling_page": "marges, hauteur de ligne, rayures, bandes, espacement",
+        "styling_frame": "bordure, cadre, ombre, coins arrondis, rayon",
+        "styling_orgNumberLabel": "siret, siren, tva, numéro d'entreprise, libellé"
+      }
+    }
   },
   "preview": {
     "title": "Révision des freins et vidange",
@@ -2788,6 +2925,10 @@
         "label": "Titre du document",
         "description": "Le titre de l'intervention ou du document."
       },
+      "customer_reference": {
+        "label": "Référence / n° de commande",
+        "description": "La référence ou le numéro de commande donné par votre client pour le travail. Vide s'il n'y en a pas."
+      },
       "total": {
         "label": "Total",
         "description": "Le total du document, dans sa devise."
@@ -3220,5 +3361,44 @@
       "bulkRevoked": "{count, plural, one {# lien supprimé} other {# liens supprimés}}",
       "bulkRevokeFailed": "Impossible de supprimer les liens. Réessayez."
     }
+  },
+  "meters": {
+    "title": "Compteurs",
+    "description": "Compteurs relevés sur les véhicules en plus du compteur kilométrique, comme les heures moteur ou les heures de prise de force. Choisissez sur chaque véhicule ceux qu'il possède ; les relevés se font sur le véhicule et sur les ordres de travail, et peuvent être imprimés sur les factures, devis et ordres de travail depuis le concepteur de documents.",
+    "descriptionMarine": "Compteurs relevés sur les bateaux en plus des heures moteur, comme les heures de prise de force ou les heures du groupe électrogène. Choisissez sur chaque bateau ceux qu'il possède ; les relevés se font sur le bateau et sur les ordres de travail, et peuvent être imprimés sur les factures, devis et ordres de travail depuis le concepteur de documents.",
+    "name": "Nom",
+    "namePlaceholder": "ex. Heures moteur",
+    "unit": "Unité",
+    "unitPlaceholder": "ex. h",
+    "add": "Ajouter un compteur",
+    "addTitle": "Ajouter un compteur",
+    "requiredBadge": "Obligatoire",
+    "options": {
+      "required": "Obligatoire sur les ordres de travail",
+      "requiredHint": "Demandé à la clôture de l'ordre de travail et avant l'envoi de sa facture."
+    },
+    "suggestions": "Suggestions :",
+    "suggestEngineHours": "Heures moteur",
+    "suggestPtoHours": "Heures de prise de force",
+    "hoursUnit": "h",
+    "hidden": "Masqué",
+    "inUse": "Utiliser {name}",
+    "inUseShort": "Utilisé",
+    "onVehicles": "{count, plural, =0 {Sur aucun véhicule pour l'instant} one {Sur # véhicule} other {Sur # véhicules}}",
+    "onVehiclesMarine": "{count, plural, =0 {Sur aucun bateau pour l'instant} one {Sur # bateau} other {Sur # bateaux}}",
+    "edit": "Modifier {name}",
+    "editTitle": "Modifier le compteur",
+    "editHint": "Un nouveau nom ou une nouvelle unité s'affiche partout où le compteur apparaît, y compris sur les documents imprimés à partir de maintenant. Les factures déjà émises conservent ce qu'elles ont imprimé.",
+    "delete": "Supprimer le compteur",
+    "deleteNamed": "Supprimer {name}",
+    "deleteTitle": "Supprimer {name} ?",
+    "deleteHint": "{count, plural, =0 {Il n'est encore sur aucun véhicule.} one {Il est sur # véhicule, et ses relevés y sont supprimés avec lui.} other {Il est sur # véhicules, et leurs relevés sont supprimés avec lui.}} Pour conserver les relevés, mettez-le plutôt hors service.",
+    "deleteHintMarine": "{count, plural, =0 {Il n'est encore sur aucun bateau.} one {Il est sur # bateau, et ses relevés y sont supprimés avec lui.} other {Il est sur # bateaux, et leurs relevés sont supprimés avec lui.}} Pour conserver les relevés, mettez-le plutôt hors service.",
+    "created": "{name} ajouté",
+    "updated": "{name} enregistré",
+    "deleted": "{name} supprimé",
+    "saveError": "Impossible d'enregistrer le compteur",
+    "duplicateName": "Un compteur porte déjà ce nom.",
+    "odometerName": "\"{name}\" est le compteur kilométrique, que chaque véhicule possède déjà. Donnez un autre nom au compteur."
   }
 }

+ 8 - 0
messages/fr/setup.json

@@ -0,0 +1,8 @@
+{
+  "heavyVehicles": {
+    "command": "Configurer pour les flottes et les poids lourds",
+    "commandMarine": "Configurer pour les flottes et les navires professionnels",
+    "docs": "Lire le guide pour les flottes et les poids lourds",
+    "docsMarine": "Lire le guide pour les flottes et les navires professionnels"
+  }
+}

+ 66 - 1
messages/fr/vehicles.json

@@ -36,7 +36,8 @@
     "inspectionDue30": "Dans 30 jours",
     "inspectionDue90": "Dans 90 jours",
     "inspectionDue": "Contrôle {date}",
-    "remindCustomers": "Rappeler ces clients"
+    "remindCustomers": "Rappeler ces clients",
+    "fleetNumber": "N° de parc / d'unité"
   },
   "detail": {
     "vehicleArchived": "Ce véhicule est archivé",
@@ -102,6 +103,7 @@
     "inspectionCheckedAt": "Vérifié auprès du registre le {date}",
     "notRegistered": "Non immatriculé",
     "soldReported": "Vente signalée par le client le {date}",
+    "fleetNumber": "N° de parc",
     "typeKey": "HSN/TSN",
     "addPhoto": "Ajouter une photo",
     "changePhoto": "Changer la photo",
@@ -401,6 +403,9 @@
     "hsn": "HSN",
     "tsn": "TSN",
     "typeKey": "HSN/TSN",
+    "fleetNumber": "N° de parc / d'unité",
+    "fleetNumberPlaceholder": "ex. T-208",
+    "fleetNumberTooLong": "Le N° de parc / d'unité ne peut pas dépasser {max} caractères",
     "typeKeyHint": "Sur un certificat d'immatriculation allemand : le HSN est le champ 2.1, le TSN les trois premiers caractères du champ 2.2.",
     "hsnInvalid": "Le HSN compte quatre chiffres, au champ 2.1 du certificat d'immatriculation.",
     "tsnInvalid": "Le TSN compte trois lettres ou chiffres, au début du champ 2.2 du certificat d'immatriculation.",
@@ -679,5 +684,65 @@
     "refreshed": "Données de sécurité actualisées",
     "openSite": "Ouvrir sur {source}",
     "errorLoad": "Impossible de charger les données de sécurité"
+  },
+  "meters": {
+    "title": "Compteurs",
+    "addMeter": "Ajouter un compteur",
+    "addMeterTitle": "Ajouter un compteur",
+    "addMeterHint": "Les compteurs de l'atelier que possède ce véhicule. Un premier relevé peut être saisi maintenant ou plus tard.",
+    "addMeterHintMarine": "Les compteurs de l'atelier que possède ce bateau. Un premier relevé peut être saisi maintenant ou plus tard.",
+    "meter": "Compteur",
+    "firstReading": "Premier relevé (facultatif)",
+    "noMeters": "Ce véhicule n'a encore aucun des compteurs de l'atelier.",
+    "noMetersMarine": "Ce bateau n'a encore aucun des compteurs de l'atelier.",
+    "readOn": "Relevé le {date}",
+    "total": "Total {total}",
+    "meterActions": "{name} : plus",
+    "addReading": "Ajouter un relevé",
+    "addReadingTitle": "Nouveau relevé {name}",
+    "currentIs": "Dernier relevé : {reading}",
+    "reading": "Relevé",
+    "readingDate": "Date du relevé",
+    "saveReading": "Enregistrer le relevé",
+    "readingSaved": "Relevé {name} enregistré",
+    "lowerReading": "Inférieur au dernier relevé, {last}. Il est enregistré quand même.",
+    "savedLower": "Relevé {name} enregistré. Il est inférieur au dernier relevé, {last}.",
+    "invalidReading": "Saisissez le relevé sous forme de nombre, avec deux décimales au maximum.",
+    "saveError": "Impossible d'enregistrer le relevé",
+    "requiredMark": "obligatoire",
+    "requiredMissing": "Obligatoire avant de terminer l'ordre de travail.",
+    "requiredNotCompleted": "Non terminé. Renseignez : {meters}",
+    "requiredNotMoved": "Non déplacé. Un travail terminé a besoin de relevés sur le nouveau véhicule : {meters}. Rouvrez le travail pour le déplacer.",
+    "requiredNotSent": "Non envoyée. Renseignez : {meters}",
+    "requiredNotShared": "Aucun lien créé. Renseignez : {meters}",
+    "history": "Historique",
+    "historyTitle": "Historique {name}",
+    "historyHint": "Un relevé marqué comme erroné reste ici mais n'est plus compté.",
+    "noReadings": "Aucun relevé pour l'instant.",
+    "markWrong": "Marquer comme erroné",
+    "countAgain": "Compter de nouveau",
+    "wrongBadge": "Erroné",
+    "replacedBadge": "Compteur remplacé",
+    "replacedLine": "L'ancien compteur s'est arrêté à {oldEnd}, le nouveau a commencé à {newStart}",
+    "fromApp": "depuis l'application technicien",
+    "close": "Fermer",
+    "replace": "Compteur remplacé",
+    "replaceTitle": "Compteur {name} remplacé",
+    "replaceHint": "Ce qu'affichait l'ancien compteur à sa dépose et ce qu'affichait le nouveau à sa pose. Le total continue malgré le changement.",
+    "oldEnd": "Dernier relevé de l'ancien compteur",
+    "newStart": "Premier relevé du nouveau compteur",
+    "replacedOn": "Date du remplacement",
+    "replaceSave": "Enregistrer",
+    "replacedSaved": "Remplacement de {name} enregistré",
+    "remove": "Retirer de ce véhicule",
+    "removeMarine": "Retirer de ce bateau",
+    "removeTitle": "Retirer {name} de ce véhicule ?",
+    "removeTitleMarine": "Retirer {name} de ce bateau ?",
+    "removeHint": "Ses relevés sont conservés et reviennent si le compteur est de nouveau ajouté.",
+    "removed": "{name} retiré",
+    "added": "{name} ajouté",
+    "itemTitle": "Compteurs",
+    "noItemMeters": "Aucun compteur sur cet élément.",
+    "addItemMeterHint": "Le compteur suit cet élément, quel que soit l'endroit où il est monté."
   }
 }

+ 37 - 2
messages/it/audit.json

@@ -212,7 +212,24 @@
     "integration_backup_run": "Backup avviato",
     "integration_backup_restore": "Backup ripristinato",
     "shareLink_expiry": "Scadenza del link condiviso modificata",
-    "shareLink_revoke": "Link condivisi rimossi"
+    "shareLink_revoke": "Link condivisi rimossi",
+    "meterType_create": "Contatore creato",
+    "meterType_update": "Contatore aggiornato",
+    "meterType_delete": "Contatore eliminato",
+    "vehicleMeter_remove": "Contatore del veicolo rimosso",
+    "vehicleMeter_replace": "Contatore del veicolo sostituito",
+    "meterReading_markWrong": "Lettura del contatore segnata come errata",
+    "meterReading_restore": "Lettura del contatore di nuovo conteggiata",
+    "equipmentType_create": "Tipo di attrezzatura creato",
+    "equipmentType_update": "Tipo di attrezzatura aggiornato",
+    "equipmentType_reorder": "Tipi di attrezzatura riordinati",
+    "equipmentType_delete": "Tipo di attrezzatura eliminato",
+    "equipment_add": "Attrezzatura aggiunta",
+    "equipment_update": "Attrezzatura aggiornata",
+    "equipment_move": "Attrezzatura spostata",
+    "equipment_remove": "Attrezzatura smontata",
+    "equipment_refit": "Attrezzatura rimontata",
+    "equipment_delete": "Attrezzatura eliminata"
   },
   "summary": {
     "auth_twoFactorEnabled": "Ha attivato l'accesso a due fattori",
@@ -383,6 +400,24 @@
     "share_link_expiry_workshop": "Link condiviso impostato per seguire l'impostazione dell'officina",
     "share_link_expiry_never": "Link condiviso impostato per non scadere mai",
     "share_link_expiry_date": "Link condiviso impostato per scadere il {date}",
-    "share_link_revoke_bulk": "{count, plural, one {# link condiviso rimosso} other {# link condivisi rimossi}}"
+    "share_link_revoke_bulk": "{count, plural, one {# link condiviso rimosso} other {# link condivisi rimossi}}",
+    "meterType_create": "Ha creato il contatore \"{name}\"",
+    "meterType_update": "Ha aggiornato il contatore \"{name}\"",
+    "meterType_delete": "Ha eliminato il contatore \"{name}\"",
+    "vehicleMeter_remove": "Ha rimosso il contatore \"{name}\" da un veicolo",
+    "vehicleMeter_replace": "Ha sostituito il contatore \"{name}\": il vecchio si è fermato a {oldEnd}, il nuovo è partito da {newStart}",
+    "meterReading_markWrong": "Ha segnato la lettura {value} di {name} come errata",
+    "meterReading_restore": "Ha conteggiato di nuovo la lettura {value} di {name}",
+    "equipmentType_create": "Ha creato il tipo di attrezzatura \"{name}\"",
+    "equipmentType_update": "Ha aggiornato il tipo di attrezzatura \"{name}\"",
+    "equipmentType_reorder": "Ha riordinato i tipi di attrezzatura",
+    "equipmentType_delete": "Ha eliminato il tipo di attrezzatura \"{name}\"",
+    "equipment_add": "Ha aggiunto {name} a {vehicle}",
+    "equipment_update": "Ha aggiornato {name} su {vehicle}",
+    "equipment_move": "Ha spostato {name} da {from} a {vehicle}",
+    "equipment_remove": "Ha smontato {name} da {vehicle}",
+    "equipment_refit": "Ha rimontato {name} su {vehicle}",
+    "equipment_delete": "Ha eliminato {name} da {vehicle}",
+    "equipment_meter": "Ha aggiunto il contatore {meter} a {name} su {vehicle}"
   }
 }

+ 3 - 0
messages/it/customers.json

@@ -104,6 +104,9 @@
     "invoiceDesignHint": "Le fatture di questo cliente vengono stampate con questo design invece del predefinito dell'officina. Una fattura può comunque sceglierne uno proprio.",
     "reminderOptOut": "Nessun promemoria",
     "reminderOptOutHint": "Non includere questo cliente nei promemoria revisione o in altre campagne.",
+    "poRequired": "N. ordine obbligatorio",
+    "poRequiredHint": "Le fatture di questo cliente restano in attesa finché Riferimento / n. ordine non è compilato sull'ordine di lavoro.",
+    "poRequiredBadge": "N. ordine obbligatorio",
     "bookAppointment": "Prenota appuntamento"
   },
   "serviceRequests": {

+ 3 - 0
messages/it/dataImport.json

@@ -192,6 +192,7 @@
       "engineCode": "Codice motore",
       "hsn": "HSN (codice costruttore)",
       "tsn": "TSN (codice tipo)",
+      "fleetNumber": "N. flotta / unità",
       "purchaseDate": "Data di acquisto",
       "purchasePrice": "Prezzo di acquisto"
     },
@@ -202,6 +203,7 @@
       "total": "Importo totale",
       "mileage": "Chilometraggio all'intervento",
       "invoiceNumber": "Numero fattura",
+      "customerReference": "Riferimento / n. ordine",
       "notes": "Note intervento",
       "technician": "Tecnico"
     }
@@ -211,6 +213,7 @@
     "invalid_email": "L'email \"{value}\" non è valida ed è stata omessa",
     "invalid_vin": "Il VIN \"{value}\" non è di 17 caratteri; conservato così com'è",
     "invalid_type_key": "{field} \"{value}\" non è un HSN o TSN valido; omesso",
+    "fleet_number_too_long": "N. flotta / unità \"{value}\" supera i 40 caratteri; omesso",
     "vehicle_make_model_required": "Mancano marca e modello",
     "vehicle_year_required": "Manca l'anno",
     "vehicle_year_invalid": "L'anno \"{value}\" non è un anno valido",

+ 114 - 0
messages/it/equipment.json

@@ -0,0 +1,114 @@
+{
+  "types": {
+    "title": "Attrezzature",
+    "description": "I tipi di attrezzatura che monti o mantieni sui veicoli, come gru, sponda idraulica o scarrabile. Aggiungi il primo per registrare attrezzature su veicoli e ordini di lavoro. Fino ad allora nulla sulle attrezzature viene mostrato.",
+    "descriptionMarine": "I tipi di attrezzatura che monti o mantieni sulle imbarcazioni, come gru, gruetta o verricello. Aggiungi il primo per registrare attrezzature su imbarcazioni e ordini di lavoro. Fino ad allora nulla sulle attrezzature viene mostrato.",
+    "name": "Tipo",
+    "namePlaceholder": "es. Gru",
+    "add": "Aggiungi tipo",
+    "created": "{name} aggiunto",
+    "updated": "{name} salvato",
+    "deleted": "{name} eliminato",
+    "saveError": "Impossibile salvare il tipo di attrezzatura",
+    "duplicateName": "Esiste già un tipo con questo nome",
+    "hasItems": "Questo tipo ha attrezzature. Nascondilo invece, così i suoi elementi mantengono il tipo.",
+    "hidden": "Nascosto",
+    "inUse": "Proponi {name} per le nuove attrezzature",
+    "inUseShort": "In uso",
+    "itemCount": "{count, plural, =0 {Ancora nessun elemento} one {# elemento sui veicoli} other {# elementi sui veicoli}}",
+    "itemCountMarine": "{count, plural, =0 {Ancora nessun elemento} one {# elemento sulle imbarcazioni} other {# elementi sulle imbarcazioni}}",
+    "moveUp": "Sposta {name} su",
+    "moveDown": "Sposta {name} giù",
+    "rename": "Rinomina {name}",
+    "renameTitle": "Rinomina tipo di attrezzatura",
+    "renameHint": "Gli elementi di questo tipo e i documenti non ancora emessi mostrano il nuovo nome.",
+    "deleteNamed": "Elimina {name}",
+    "deleteTitle": "Eliminare {name}?",
+    "deleteHint": "Non ha elementi, quindi non cambia nient'altro.",
+    "delete": "Elimina"
+  },
+  "vehicle": {
+    "title": "Attrezzature",
+    "add": "Aggiungi attrezzatura",
+    "empty": "Nessuna attrezzatura su questo veicolo.",
+    "emptyMarine": "Nessuna attrezzatura su questa imbarcazione.",
+    "serial": "S/N {serial}",
+    "examinationDue": "Verifica prevista il {date}",
+    "examinationSoon": "Verifica in scadenza: {date}",
+    "examinationOverdue": "Verifica scaduta dal {date}",
+    "showDetails": "Mostra dettagli di {name}",
+    "hideDetails": "Nascondi dettagli di {name}",
+    "more": "Altro per {name}",
+    "edit": "Modifica",
+    "move": "Sposta su un altro veicolo",
+    "moveMarine": "Sposta su un'altra imbarcazione",
+    "remove": "Smonta",
+    "removeTitle": "Smontare {name}?",
+    "removeHint": "Viene tolta da questo veicolo e conservata nello storico, con contatori, letture e rapporto. Puoi rimontarla.",
+    "removeHintMarine": "Viene tolta da questa imbarcazione e conservata nello storico, con contatori, letture e rapporto. Puoi rimontarla.",
+    "removed": "{name} smontato",
+    "delete": "Elimina",
+    "deleteTitle": "Eliminare {name} definitivamente?",
+    "deleteHint": "Vengono eliminati anche storico, contatori, letture e file del rapporto. Per conservarli, smontala invece.",
+    "deleteJobs": "{count, plural, one {# ordine di lavoro interviene su di essa e non la mostrerà più.} other {# ordini di lavoro intervengono su di essa e non la mostreranno più.}} Le fatture emesse conservano la loro copia stampata.",
+    "deleted": "{name} eliminato",
+    "history": "{count, plural, one {Attrezzatura precedente (#)} other {Attrezzature precedenti (#)}}",
+    "movedTo": "Spostato su <vehicle></vehicle> il {date}",
+    "movedOn": "Spostato il {date}",
+    "removedOn": "Smontato il {date}",
+    "refit": "Rimonta",
+    "refitted": "{name} rimontato",
+    "saveError": "Impossibile salvare l'attrezzatura"
+  },
+  "form": {
+    "addTitle": "Aggiungi attrezzatura",
+    "editTitle": "Modifica attrezzatura",
+    "type": "Tipo",
+    "make": "Marca",
+    "model": "Modello",
+    "serialNumber": "Numero di serie",
+    "manufacture": "Costruzione",
+    "manufacturePlaceholder": "2019 o {date}",
+    "manufactureHint": "Solo un anno, come 2019, o una data completa, come {date}.",
+    "manufactureInvalid": "Inserisci un anno, come 2019, o una data completa, come {date}.",
+    "manufactureFuture": "L'anno di costruzione è nel futuro.",
+    "installDate": "Montato il",
+    "ratedCapacity": "Portata nominale",
+    "ratedCapacityPlaceholder": "es. 8 t",
+    "lastExaminedAt": "Ultima verifica",
+    "nextExaminationDue": "Prossima verifica",
+    "certificateReference": "Riferimento certificato",
+    "report": "Verbale di verifica",
+    "attachReport": "Allega verbale",
+    "uploading": "Caricamento…",
+    "uploadError": "Impossibile caricare il file",
+    "removeReport": "Rimuovi {name}",
+    "notes": "Note",
+    "added": "Attrezzatura aggiunta",
+    "updated": "Attrezzatura salvata",
+    "saveError": "Impossibile salvare l'attrezzatura"
+  },
+  "move": {
+    "title": "Sposta {name}",
+    "hint": "Porta con sé contatori, letture, verbale e storico lavori. Lo storico di questo veicolo mostra dove è andata.",
+    "hintMarine": "Porta con sé contatori, letture, verbale e storico lavori. Lo storico di questa imbarcazione mostra dove è andata.",
+    "to": "Al veicolo",
+    "toMarine": "All'imbarcazione",
+    "pick": "Scegli un veicolo",
+    "pickMarine": "Scegli un'imbarcazione",
+    "noVehicles": "Nessun veicolo trovato.",
+    "noVehiclesMarine": "Nessuna imbarcazione trovata.",
+    "confirm": "Sposta",
+    "moved": "{name} spostato",
+    "saveError": "Impossibile spostare l'attrezzatura"
+  },
+  "workOn": {
+    "label": "Intervento su",
+    "none": "Nessuna attrezzatura scelta",
+    "search": "Cerca attrezzatura",
+    "noMatch": "Nessuna attrezzatura corrispondente",
+    "saveError": "Impossibile salvare su cosa interviene il lavoro",
+    "moved": "Spostato nel frattempo",
+    "removed": "Smontato nel frattempo"
+  }
+}

+ 11 - 0
messages/it/integrations.json

@@ -731,6 +731,13 @@
         "startDateHelp": "Lascia vuoto per inviare ogni fattura emessa. Usa la data in cui la contabilità è passata a QuickBooks, così le fatture più vecchie non vengono registrate due volte.",
         "includeVehicle": "Indicare il veicolo sulla fattura",
         "includeVehicleHelp": "Una riga di testo sopra le voci con anno, marca, modello, targa e chilometraggio, così la contabilità sa di quale auto si tratta.",
+        "customerReference": "Riferimento cliente / n. ordine",
+        "customerReferenceHelp": "Dove finisce il Riferimento / n. ordine dell'ordine di lavoro sulla fattura QuickBooks. QuickBooks non ha un proprio numero d'ordine sulla fattura, quindi può aprire il messaggio che legge il tuo cliente o compilare uno dei tuoi campi personalizzati dei moduli di vendita. Riguarda solo gli ordini di lavoro che hanno un riferimento.",
+        "customerReferenceNone": "Non inviato",
+        "customerReferenceMemo": "Nel messaggio della fattura",
+        "customerReferenceCustomField": "In un campo personalizzato",
+        "customerReferenceField": "Campo personalizzato per il riferimento",
+        "customerReferenceFieldHelp": "I campi personalizzati attivi per i moduli di vendita in QuickBooks (Account and settings, Sales, Sales form content). Crea o attiva lì prima un campo come P.O. Number. Vengono inviati i primi 31 caratteri del riferimento, e un riferimento rimosso qui in seguito resta su una fattura già trasmessa.",
         "laborItemId": "Articolo per le righe di manodopera",
         "laborItemIdHelp": "Lascia vuoto e la prima volta verrà creato un articolo chiamato Labour sotto il tuo conto ricavi.",
         "partsItemId": "Articolo per le righe di ricambi",
@@ -783,6 +790,7 @@
         "referenceVehicle": "Veicolo e targa",
         "referenceTitle": "Titolo del lavoro",
         "referenceInvoiceNumber": "Numero di fattura Torqvoice",
+        "referenceCustomerReference": "Riferimento / n. ordine dall'ordine di lavoro (veicolo e targa se manca)",
         "referenceNone": "Niente",
         "includeVehicle": "Indicare il veicolo sulla fattura",
         "includeVehicleHelp": "Una riga di testo sopra le voci con anno, marca, modello, targa e chilometraggio.",
@@ -877,6 +885,7 @@
         "referenceVehicle": "Veicolo e targa",
         "referenceTitle": "Titolo del lavoro",
         "referenceInvoiceNumber": "Numero di fattura Torqvoice",
+        "referenceCustomerReference": "Riferimento / n. ordine dall'ordine di lavoro (veicolo e targa se manca)",
         "referenceNone": "Niente",
         "includeVehicle": "Indicare il veicolo sulla fattura",
         "includeVehicleHelp": "Anno, marca, modello, targa e chilometraggio, insieme alle note per il cliente.",
@@ -955,6 +964,8 @@
         "startDateHelp": "Lascia vuoto per inviare ogni fattura emessa. Usa la data in cui la contabilità è passata a Fiken, così le fatture più vecchie non vengono registrate due volte.",
         "attachPdf": "Allega il PDF della fattura",
         "attachPdfHelp": "Una fattura entra in Fiken come vendita (Annet salg) con il suo numero Torqvoice. Con questa opzione attiva, il PDF ricevuto dal cliente viene archiviato sulla vendita come giustificativo.",
+        "customerReferenceInText": "Inserisci il riferimento cliente / n. ordine nel testo della vendita",
+        "customerReferenceInTextHelp": "Una vendita in Fiken non ha un campo per il riferimento, quindi il Riferimento / n. ordine dell'ordine di lavoro viene messo davanti alla prima riga come Deres ref. Fiken non può modificare una vendita già registrata: un riferimento aggiunto dopo la trasmissione della fattura non viene inviato.",
         "laborAccount": "Conto ricavi per la manodopera",
         "laborAccountHelp": "Lascia vuoto per usare il 3000.",
         "partsAccount": "Conto ricavi per i ricambi",

+ 16 - 1
messages/it/pdf.json

@@ -227,6 +227,8 @@
     "signature": "Firma",
     "signedBy": "Firmato da",
     "signatureDate": "Data",
+    "customerReference": "Vostro riferimento / n. ordine",
+    "fleetNumber": "N. flotta",
     "conditionMapTitle": "Stato del veicolo",
     "conditionMapNo": "N.",
     "conditionMapArea": "Zona",
@@ -238,7 +240,20 @@
     "serviceTypeUpgrade": "Aggiornamento",
     "serviceTypeInspection": "Ispezione",
     "customFieldYes": "Sì",
-    "customFieldNo": "No"
+    "customFieldNo": "No",
+    "equipmentTitle": "Attrezzature",
+    "equipmentType": "Tipo",
+    "equipmentMake": "Marca",
+    "equipmentModel": "Modello",
+    "equipmentManufactureYear": "Anno",
+    "equipmentSerialNumber": "N. di serie",
+    "equipmentInstallDate": "Montato il",
+    "equipmentRatedCapacity": "Portata",
+    "equipmentLastExamined": "Ultima verifica",
+    "equipmentNextExamination": "Prossima verifica",
+    "equipmentCertificateReference": "Certificato",
+    "equipmentMeters": "Letture",
+    "equipmentNotes": "Note"
   },
   "workOrder": {
     "title": "ORDINE DI LAVORO",

+ 3 - 0
messages/it/portal.json

@@ -364,6 +364,7 @@
     "summaryPaid": "Pagato",
     "summaryLeft": "Da pagare",
     "summaryDue": "Scadenza",
+    "summaryReference": "Vostro riferimento / n. ordine",
     "summaryDate": "Data",
     "fullInvoice": "La fattura completa"
   },
@@ -420,6 +421,7 @@
     "vin": "VIN: {vin}",
     "vinMarine": "HIN: {vin}",
     "typeKey": "HSN/TSN: {typeKey}",
+    "fleetNumber": "N. flotta: {fleetNumber}",
     "distanceKm": "{value} km",
     "distanceMi": "{value} mi",
     "engineHours": "{value} ore motore",
@@ -598,6 +600,7 @@
     "number": "Numero preventivo",
     "date": "Data",
     "validUntil": "Valido fino al",
+    "reference": "Vostro riferimento / n. ordine",
     "vehicle": "Veicolo",
     "fullQuote": "Il preventivo completo",
     "answerTitle": "L'officina aspetta la tua risposta",

+ 1 - 0
messages/it/quotes.json

@@ -75,6 +75,7 @@
         "mileage": "{count} {unit}"
       }
     },
+    "convertReferenceKept": "L'ordine di lavoro ha mantenuto il proprio riferimento / n. ordine, {job}. Quello del preventivo, {quote}, non è stato copiato.",
     "convert": "Converti",
     "convertToWorkOrder": "Converti in ordine di lavoro",
     "cancel": "Annulla",

+ 9 - 0
messages/it/service.json

@@ -761,6 +761,15 @@
     "fromQuote": "Dal preventivo {ref}",
     "startInspection": "Avvia ispezione"
   },
+  "reference": {
+    "label": "Riferimento / n. ordine",
+    "placeholder": "N. ordine o riferimento",
+    "requiredNotice": "Questo cliente richiede un riferimento o un numero d'ordine sulle sue fatture. Compilalo prima di inviare la fattura.",
+    "requiredToInvoice": "Questo cliente richiede un riferimento o un numero d'ordine sulle sue fatture. Compila Riferimento / n. ordine sull'ordine di lavoro, poi invia la fattura.",
+    "saveFailed": "Impossibile salvare il riferimento",
+    "saved": "Salvato",
+    "notSwitchedOn": "Il campo Riferimento / n. ordine è disattivato per questa officina. Attivalo in Impostazioni, Fatture e preventivi, Campi personalizzati."
+  },
   "photoHandoff": {
     "button": "Aggiungi dal telefono",
     "dialogTitle": "Aggiungi foto e documenti da un telefono",

+ 185 - 5
messages/it/settings.json

@@ -754,7 +754,8 @@
       "concerns": "Richieste del cliente",
       "job_description": "Lavoro richiesto",
       "work_checklist": "Elenco lavori",
-      "condition_map": "Stato del veicolo"
+      "condition_map": "Stato del veicolo",
+      "equipment": "Attrezzature"
     },
     "fields": {
       "customer_name": "Nome cliente",
@@ -763,11 +764,13 @@
       "customer_email": "E-mail",
       "customer_phone": "Telefono",
       "customer_tax_id": "P. IVA cliente",
+      "customer_reference": "Vostro riferimento / n. ordine",
       "vehicle_name": "Veicolo",
       "vin": "VIN",
       "license_plate": "Targa",
       "mileage": "Chilometraggio",
       "hsn_tsn": "HSN/TSN",
+      "fleet_number": "N. flotta / unità",
       "service_title": "Titolo servizio",
       "service_type": "Tipo di servizio",
       "tech_name": "Tecnico",
@@ -817,7 +820,22 @@
       "customer_line": "Riga della firma del cliente",
       "legend": "Legenda",
       "previous_marks": "Segni precedenti",
-      "blank_sheet": "Foglio vuoto da compilare a mano"
+      "blank_sheet": "Foglio vuoto da compilare a mano",
+      "meter_readings": "Letture dei contatori",
+      "vehicle_photo": "Foto del veicolo",
+      "vehicle_photoMarine": "Foto dell'imbarcazione",
+      "equipment_type": "Tipo",
+      "equipment_make": "Marca",
+      "equipment_model": "Modello",
+      "equipment_manufacture_year": "Anno di costruzione",
+      "equipment_serial_number": "Numero di serie",
+      "equipment_install_date": "Montato il",
+      "equipment_rated_capacity": "Portata nominale",
+      "equipment_last_examined": "Ultima verifica",
+      "equipment_next_examination": "Prossima verifica prevista",
+      "equipment_certificate_reference": "Riferimento certificato",
+      "equipment_meters": "Letture dei contatori",
+      "equipment_notes": "Note"
     },
     "presetsTitle": "Partire da una disposizione",
     "presetsHint": "Sostituisce la disposizione qui sotto. Nulla viene salvato finché non salvi.",
@@ -1147,11 +1165,16 @@
   },
   "customFields": {
     "title": "Campi personalizzati",
-    "description": "Definisci campi personalizzati che appaiono su schede di servizio e preventivi.",
+    "description": "I dati aggiuntivi che la tua officina registra: campi pronti, i tuoi campi, contatori e attrezzature.",
     "addField": "Aggiungi campo",
     "filterAll": "Tutti",
     "serviceRecord": "Scheda di servizio",
     "quote": "Preventivo",
+    "vehicle": "Veicolo",
+    "vehicleMarine": "Imbarcazione",
+    "customer": "Cliente",
+    "recordPlacementHint": "Mostrato sul veicolo o sul cliente e nei loro moduli. Per stamparlo su fatture, preventivi od ordini di lavoro, aggiungilo a un blocco nel designer di documenti.",
+    "recordPlacementHintMarine": "Mostrato sull'imbarcazione o sul cliente e nei loro moduli. Per stamparlo su fatture, preventivi od ordini di lavoro, aggiungilo a un blocco nel designer di documenti.",
     "emptyState": "Nessun campo personalizzato definito. Clicca \"Aggiungi campo\" per crearne uno.",
     "required": "Obbligatorio",
     "inactive": "Inattivo",
@@ -1202,7 +1225,30 @@
     "dateError": "Il campo {label} deve essere una data valida",
     "optionError": "Il campo {label} deve essere una delle opzioni disponibili",
     "checkboxError": "Il campo {label} deve essere selezionato o deselezionato",
-    "tooLongError": "Il campo {label} può contenere al massimo {max} caratteri"
+    "tooLongError": "Il campo {label} può contenere al massimo {max} caratteri",
+    "notSavedMissing": "Non salvato. Compila: {fields}",
+    "notSavedInvalid": "Non salvato. Controlla: {fields}",
+    "valueYes": "Sì",
+    "valueNo": "No",
+    "readyMade": {
+      "title": "Campi pronti",
+      "description": "Campi già inclusi in Torqvoice. Ognuno resta disattivato finché non lo attivi.",
+      "customerReferenceTitle": "Riferimento / n. ordine",
+      "customerReferenceEnabled": "Registra un riferimento o numero d'ordine del cliente su ordini di lavoro e preventivi",
+      "customerReferenceHint": "Aggiunge un campo Riferimento / n. ordine a ordini di lavoro, vendite al banco e preventivi, per il numero d'ordine o il riferimento che ti dà il cliente. Si può stampare su fatture, preventivi e ordini di lavoro dal designer di documenti, trovare con la ricerca e inviare al tuo gestionale contabile. Un cliente può essere contrassegnato con N. ordine obbligatorio, e le sue fatture restano allora in attesa finché il riferimento non è compilato. Disattivandolo il campo viene di nuovo nascosto e i valori inseriti restano salvati.",
+      "fleetNumberTitle": "N. flotta / unità",
+      "fleetNumberEnabled": "Registra un numero di flotta o di unità sui veicoli",
+      "fleetNumberEnabledMarine": "Registra un numero di flotta o di unità sulle imbarcazioni",
+      "fleetNumberHint": "Aggiunge ai veicoli un campo N. flotta / unità, per il numero con cui il cliente identifica il veicolo nella propria flotta. Compare sul veicolo e sull'ordine di lavoro, permette di trovare i veicoli con la ricerca e si può stampare su fatture, preventivi e ordini di lavoro dal designer di documenti. Disattivandolo il campo viene di nuovo nascosto e i valori inseriti restano salvati.",
+      "fleetNumberHintMarine": "Aggiunge alle imbarcazioni un campo N. flotta / unità, per il numero con cui il cliente identifica l'imbarcazione nella propria flotta. Compare sull'imbarcazione e sull'ordine di lavoro, permette di trovare le imbarcazioni con la ricerca e si può stampare su fatture, preventivi e ordini di lavoro dal designer di documenti. Disattivandolo il campo viene di nuovo nascosto e i valori inseriti restano salvati.",
+      "saved": "Impostazioni salvate",
+      "failedSave": "Salvataggio impostazioni non riuscito"
+    },
+    "ownFields": {
+      "title": "I tuoi campi",
+      "description": "Campi che definisci tu, su ordini di lavoro, preventivi, veicoli e clienti.",
+      "descriptionMarine": "Campi che definisci tu, su ordini di lavoro, preventivi, imbarcazioni e clienti."
+    }
   },
   "workshop": {
     "title": "Predefiniti officina",
@@ -2632,7 +2678,98 @@
     "conditionMapViewsSides": "Solo i lati",
     "conditionMapWidthHint": "Vuoto occupa tutta la riga. Indica i punti per rimpicciolire il disegno; si posiziona secondo l’allineamento e la legenda mantiene tutta la larghezza.",
     "conditionMapDense": "Tabella compatta",
-    "conditionMapDenseHint": "Avvicina le righe della tabella sotto il disegno, così occupa meno spazio sulla pagina."
+    "conditionMapDenseHint": "Avvicina le righe della tabella sotto il disegno, così occupa meno spazio sulla pagina.",
+    "equipmentList": "Quali attrezzature",
+    "equipmentListVehicle": "Sul veicolo",
+    "equipmentListVehicleMarine": "Sull'imbarcazione",
+    "equipmentListJob": "Lavorate",
+    "equipmentListHint": "Sul veicolo elenca tutto ciò che vi è montato ora. Lavorate elenca solo gli elementi su cui interviene l'ordine di lavoro o il preventivo. I campi qui sotto scelgono le colonne e il loro ordine.",
+    "equipmentListHintMarine": "Sull'imbarcazione elenca tutto ciò che vi è montato ora. Lavorate elenca solo gli elementi su cui interviene l'ordine di lavoro o il preventivo. I campi qui sotto scelgono le colonne e il loro ordine.",
+    "equipmentNoneHint": "Aggiungi i tipi di attrezzatura in Impostazioni, Fatture e preventivi, Campi personalizzati per stampare qui le attrezzature del veicolo.",
+    "equipmentNoneHintMarine": "Aggiungi i tipi di attrezzatura in Impostazioni, Fatture e preventivi, Campi personalizzati per stampare qui le attrezzature dell'imbarcazione.",
+    "vehiclePhoto": "Foto del veicolo",
+    "vehiclePhotoMarine": "Foto dell'imbarcazione",
+    "vehiclePhotoOff": "No",
+    "vehiclePhotoBeside": "Foto accanto ai dettagli",
+    "vehiclePhotoFaded": "Sfondo sbiadito",
+    "vehiclePhotoHint": "Stampa la foto salvata sul veicolo. Sfondo sbiadito la schiarisce solo dietro questo blocco, quanto basta per mantenere il testo leggibile. Un veicolo senza foto viene stampato come prima.",
+    "vehiclePhotoHintMarine": "Stampa la foto salvata sull'imbarcazione. Sfondo sbiadito la schiarisce solo dietro questo blocco, quanto basta per mantenere il testo leggibile. Un'imbarcazione senza foto viene stampata come prima.",
+    "equipmentTitle": "Titolo",
+    "equipmentTitleHint": "Lascia vuoto per stampare il titolo predefinito nella lingua del documento, oppure scrivi il tuo, ad esempio \"Dettagli delle attrezzature montate\".",
+    "search": {
+      "label": "Cerca nel designer",
+      "placeholder": "Trova una sezione o un campo",
+      "clear": "Cancella ricerca",
+      "results": "Risultati della ricerca",
+      "count": "{count, plural, one {# risultato} other {# risultati}}",
+      "emptySpoken": "Nessun risultato",
+      "emptyTitle": "Nulla in questo documento corrisponde a \"{query}\"",
+      "emptyHint": "La ricerca trova le sezioni e i loro campi, compresi i tuoi campi personalizzati.",
+      "groups": {
+        "fields": "Campi",
+        "sections": "Sezioni",
+        "styling": "Stile del documento"
+      },
+      "state": {
+        "shown": "Visibile",
+        "off": "Disattivato",
+        "hiddenSection": "Sezione nascosta",
+        "needsSetting": "Serve impostazione",
+        "notPlaced": "Non inserito"
+      },
+      "needsSettingLine": "{section} · Non attivato nelle Impostazioni",
+      "needsSettingNote": "Non è attivato per questa officina, quindi non si può ancora stampare. Attivalo in Impostazioni, Campi personalizzati, e comparirà in questo elenco.",
+      "openSettings": "Apri Impostazioni",
+      "keys": {
+        "move": "Sposta",
+        "go": "Vai a",
+        "close": "Chiudi"
+      },
+      "aliases": {
+        "customer_reference": "ordine d'acquisto, numero ordine, n. ordine, oda, riferimento, riferimento cliente, commessa, po",
+        "fleet_number": "flotta, numero flotta, unità, numero interno, numero mezzo, numero camion",
+        "meter_readings": "contatore, contatori, ore, ore motore, contaore, presa di forza, pto",
+        "mileage": "chilometraggio, km, contachilometri, odometro, miglia, chilometri",
+        "odometer": "contachilometri, chilometraggio, km, miglia, chilometri",
+        "license_plate": "targa, numero di targa, immatricolazione, libretto",
+        "vin": "vin, telaio, numero di telaio, numero di serie",
+        "hsn_tsn": "chiave di tipo, kba, hsn, tsn",
+        "vehicle_photo": "foto, immagine, fotografia",
+        "customer_tax_id": "partita iva, p.iva, piva, codice fiscale, cf, iva",
+        "customer_address": "via, cap, città, indirizzo",
+        "customer_phone": "telefono, tel, cellulare, cell",
+        "customer_email": "mail, e-mail, email, posta elettronica, pec",
+        "company_org_number": "partita iva, p.iva, codice fiscale, rea, numero azienda, registro imprese",
+        "company_phone": "telefono, tel, cellulare",
+        "company_email": "mail, e-mail, email, pec",
+        "logo": "marchio, logotipo, immagine",
+        "portal_link": "portale clienti, link, collegamento, url",
+        "footer_note": "piè di pagina, testo in fondo, nota",
+        "invoice_number": "numero fattura, n. fattura, numero documento, numero preventivo",
+        "due_date": "scadenza, data di scadenza, pagare entro, termine",
+        "payment_terms": "condizioni di pagamento, termini di pagamento, giorni, dilazione",
+        "tech_name": "meccanico, tecnico, dipendente, eseguito da, operatore",
+        "section_bank_account": "pagamento, coordinate bancarie, banca, iban, conto corrente",
+        "section_items_table": "righe, voci, prodotti, servizi, articoli",
+        "section_parts_table": "ricambi, pezzi, materiali, parti",
+        "section_labor_table": "manodopera, lavoro, ore, tempo",
+        "section_totals": "somma, totale, subtotale, imponibile, iva, importo",
+        "section_header": "intestazione, carta intestata, azienda, in alto",
+        "section_footer": "piè di pagina, fondo, in basso",
+        "section_document_title": "titolo, intestazione, numero, data",
+        "section_signature": "firma, firmato, firmare",
+        "section_telegram_qr": "codice qr, qr, chat, telegram",
+        "section_job_qr": "codice qr, qr, telefono, cellulare",
+        "section_condition_map": "danni, ammaccature, graffi, carrozzeria, bozze",
+        "section_notes": "note, commenti, osservazioni, messaggio",
+        "styling_headerStyle": "intestazione, carta intestata, layout, banner, cornice",
+        "styling_colors": "colori, colore, primario, accento, sfondo, tema",
+        "styling_typography": "carattere, font, tipografia, dimensione testo, dimensione carattere",
+        "styling_page": "margini, altezza riga, righe alternate, strisce, spaziatura",
+        "styling_frame": "bordo, cornice, ombra, angoli arrotondati, raggio",
+        "styling_orgNumberLabel": "partita iva, p.iva, numero azienda, codice fiscale, etichetta"
+      }
+    }
   },
   "preview": {
     "title": "Servizio freni e cambio olio",
@@ -2788,6 +2925,10 @@
         "label": "Titolo documento",
         "description": "Il titolo del lavoro o del documento."
       },
+      "customer_reference": {
+        "label": "Riferimento / n. ordine",
+        "description": "Il riferimento o numero d'ordine che il cliente ha indicato per il lavoro. Vuoto se non c'è."
+      },
       "total": {
         "label": "Totale",
         "description": "Il totale del documento, nella sua valuta."
@@ -3220,5 +3361,44 @@
       "bulkRevoked": "{count, plural, one {# link rimosso} other {# link rimossi}}",
       "bulkRevokeFailed": "Impossibile rimuovere i link. Riprova."
     }
+  },
+  "meters": {
+    "title": "Contatori",
+    "description": "Contatori che leggi sui veicoli oltre al contachilometri, come le ore motore o le ore della presa di forza. Scegli su ogni veicolo quali ha; le letture si fanno sul veicolo e negli ordini di lavoro, e si possono stampare su fatture, preventivi e ordini di lavoro dal designer dei documenti.",
+    "descriptionMarine": "Contatori che leggi sulle imbarcazioni oltre alle ore motore, come le ore della presa di forza o le ore del generatore. Scegli su ogni imbarcazione quali ha; le letture si fanno sull'imbarcazione e negli ordini di lavoro, e si possono stampare su fatture, preventivi e ordini di lavoro dal designer dei documenti.",
+    "name": "Nome",
+    "namePlaceholder": "es. Ore motore",
+    "unit": "Unità",
+    "unitPlaceholder": "es. h",
+    "add": "Aggiungi contatore",
+    "addTitle": "Aggiungi un contatore",
+    "requiredBadge": "Obbligatorio",
+    "options": {
+      "required": "Obbligatorio negli ordini di lavoro",
+      "requiredHint": "Richiesto al completamento del lavoro e prima dell'invio della fattura."
+    },
+    "suggestions": "Suggerimenti:",
+    "suggestEngineHours": "Ore motore",
+    "suggestPtoHours": "Ore presa di forza",
+    "hoursUnit": "h",
+    "hidden": "Nascosto",
+    "inUse": "Usa {name}",
+    "inUseShort": "In uso",
+    "onVehicles": "{count, plural, =0 {Ancora su nessun veicolo} one {Su # veicolo} other {Su # veicoli}}",
+    "onVehiclesMarine": "{count, plural, =0 {Ancora su nessuna imbarcazione} one {Su # imbarcazione} other {Su # imbarcazioni}}",
+    "edit": "Modifica {name}",
+    "editTitle": "Modifica contatore",
+    "editHint": "Un nuovo nome o una nuova unità appare ovunque compaia il contatore, anche sui documenti stampati da ora in poi. Le fatture già emesse mantengono ciò che hanno stampato.",
+    "delete": "Elimina contatore",
+    "deleteNamed": "Elimina {name}",
+    "deleteTitle": "Eliminare {name}?",
+    "deleteHint": "{count, plural, =0 {Non è ancora su nessun veicolo.} one {È su # veicolo, e le sue letture lì vengono eliminate con esso.} other {È su # veicoli, e le loro letture vengono eliminate con esso.}} Per conservare le letture, mettilo invece fuori uso.",
+    "deleteHintMarine": "{count, plural, =0 {Non è ancora su nessuna imbarcazione.} one {È su # imbarcazione, e le sue letture lì vengono eliminate con esso.} other {È su # imbarcazioni, e le loro letture vengono eliminate con esso.}} Per conservare le letture, mettilo invece fuori uso.",
+    "created": "{name} aggiunto",
+    "updated": "{name} salvato",
+    "deleted": "{name} eliminato",
+    "saveError": "Impossibile salvare il contatore",
+    "duplicateName": "Esiste già un contatore con questo nome.",
+    "odometerName": "\"{name}\" è il contachilometri, che ogni veicolo ha già. Dai un altro nome al contatore."
   }
 }

+ 8 - 0
messages/it/setup.json

@@ -0,0 +1,8 @@
+{
+  "heavyVehicles": {
+    "command": "Configura per flotte e veicoli pesanti",
+    "commandMarine": "Configura per flotte e imbarcazioni commerciali",
+    "docs": "Leggi la guida per flotte e veicoli pesanti",
+    "docsMarine": "Leggi la guida per flotte e imbarcazioni commerciali"
+  }
+}

+ 66 - 1
messages/it/vehicles.json

@@ -36,7 +36,8 @@
     "inspectionDue30": "Scade entro 30 giorni",
     "inspectionDue90": "Scade entro 90 giorni",
     "inspectionDue": "Revisione {date}",
-    "remindCustomers": "Avvisa questi clienti"
+    "remindCustomers": "Avvisa questi clienti",
+    "fleetNumber": "N. flotta / unità"
   },
   "detail": {
     "vehicleArchived": "Questo veicolo è archiviato",
@@ -102,6 +103,7 @@
     "inspectionCheckedAt": "Verificato nel registro il {date}",
     "notRegistered": "Non immatricolato",
     "soldReported": "Vendita segnalata dal cliente il {date}",
+    "fleetNumber": "N. flotta",
     "typeKey": "HSN/TSN",
     "addPhoto": "Aggiungi foto",
     "changePhoto": "Cambia foto",
@@ -401,6 +403,9 @@
     "hsn": "HSN",
     "tsn": "TSN",
     "typeKey": "HSN/TSN",
+    "fleetNumber": "N. flotta / unità",
+    "fleetNumberPlaceholder": "es. T-208",
+    "fleetNumberTooLong": "Il N. flotta / unità può contenere al massimo {max} caratteri",
     "typeKeyHint": "Dal libretto di circolazione tedesco: HSN è il campo 2.1, TSN sono i primi tre caratteri del campo 2.2.",
     "hsnInvalid": "Lo HSN è di quattro cifre, dal campo 2.1 del libretto di circolazione.",
     "tsnInvalid": "Il TSN è di tre lettere o cifre, l'inizio del campo 2.2 del libretto di circolazione.",
@@ -679,5 +684,65 @@
     "refreshed": "Dati di sicurezza aggiornati",
     "openSite": "Apri su {source}",
     "errorLoad": "Impossibile caricare i dati di sicurezza"
+  },
+  "meters": {
+    "title": "Contatori",
+    "addMeter": "Aggiungi contatore",
+    "addMeterTitle": "Aggiungi un contatore",
+    "addMeterHint": "Quali contatori dell'officina ha questo veicolo. Una prima lettura può essere inserita ora o più tardi.",
+    "addMeterHintMarine": "Quali contatori dell'officina ha questa imbarcazione. Una prima lettura può essere inserita ora o più tardi.",
+    "meter": "Contatore",
+    "firstReading": "Prima lettura (facoltativa)",
+    "noMeters": "Questo veicolo non ha ancora nessuno dei contatori dell'officina.",
+    "noMetersMarine": "Questa imbarcazione non ha ancora nessuno dei contatori dell'officina.",
+    "readOn": "Letto il {date}",
+    "total": "Totale {total}",
+    "meterActions": "{name}: altro",
+    "addReading": "Aggiungi lettura",
+    "addReadingTitle": "Nuova lettura {name}",
+    "currentIs": "Ultima lettura: {reading}",
+    "reading": "Lettura",
+    "readingDate": "Data di lettura",
+    "saveReading": "Salva lettura",
+    "readingSaved": "Lettura {name} salvata",
+    "lowerReading": "Inferiore all'ultima lettura, {last}. Viene salvata comunque.",
+    "savedLower": "Lettura {name} salvata. È inferiore all'ultima lettura, {last}.",
+    "invalidReading": "Inserisci la lettura come numero, con al massimo due decimali.",
+    "saveError": "Impossibile salvare la lettura",
+    "requiredMark": "obbligatorio",
+    "requiredMissing": "Obbligatorio prima di completare il lavoro.",
+    "requiredNotCompleted": "Non completato. Compila: {meters}",
+    "requiredNotMoved": "Non spostato. Un lavoro completato richiede letture sul nuovo veicolo: {meters}. Riapri il lavoro per spostarlo.",
+    "requiredNotSent": "Non inviata. Compila: {meters}",
+    "requiredNotShared": "Nessun link creato. Compila: {meters}",
+    "history": "Cronologia",
+    "historyTitle": "Cronologia {name}",
+    "historyHint": "Una lettura segnata come errata resta qui ma non conta più.",
+    "noReadings": "Ancora nessuna lettura.",
+    "markWrong": "Segna come errata",
+    "countAgain": "Conta di nuovo",
+    "wrongBadge": "Errata",
+    "replacedBadge": "Contatore sostituito",
+    "replacedLine": "Il vecchio contatore si è fermato a {oldEnd}, il nuovo è partito da {newStart}",
+    "fromApp": "dall'app del tecnico",
+    "close": "Chiudi",
+    "replace": "Contatore sostituito",
+    "replaceTitle": "Contatore {name} sostituito",
+    "replaceHint": "Cosa segnava il vecchio contatore quando è stato smontato e cosa segnava il nuovo quando è stato montato. Il totale prosegue oltre la sostituzione.",
+    "oldEnd": "Ultima lettura del vecchio contatore",
+    "newStart": "Prima lettura del nuovo contatore",
+    "replacedOn": "Data di sostituzione",
+    "replaceSave": "Salva",
+    "replacedSaved": "Sostituzione di {name} salvata",
+    "remove": "Rimuovi da questo veicolo",
+    "removeMarine": "Rimuovi da questa imbarcazione",
+    "removeTitle": "Rimuovere {name} da questo veicolo?",
+    "removeTitleMarine": "Rimuovere {name} da questa imbarcazione?",
+    "removeHint": "Le sue letture vengono conservate e tornano se il contatore viene aggiunto di nuovo.",
+    "removed": "{name} rimosso",
+    "added": "{name} aggiunto",
+    "itemTitle": "Contatori",
+    "noItemMeters": "Nessun contatore su questo elemento.",
+    "addItemMeterHint": "Il contatore segue questo elemento ovunque sia montato."
   }
 }

+ 37 - 2
messages/lt/audit.json

@@ -212,7 +212,24 @@
     "integration_backup_run": "Pradėtas atsarginės kopijos kūrimas",
     "integration_backup_restore": "Atkurta atsarginė kopija",
     "shareLink_expiry": "Pakeistas bendrinimo nuorodos galiojimas",
-    "shareLink_revoke": "Pašalintos bendrinimo nuorodos"
+    "shareLink_revoke": "Pašalintos bendrinimo nuorodos",
+    "meterType_create": "Sukurtas skaitiklis",
+    "meterType_update": "Atnaujintas skaitiklis",
+    "meterType_delete": "Ištrintas skaitiklis",
+    "vehicleMeter_remove": "Pašalintas transporto priemonės skaitiklis",
+    "vehicleMeter_replace": "Pakeistas transporto priemonės skaitiklis",
+    "meterReading_markWrong": "Skaitiklio rodmuo pažymėtas kaip klaidingas",
+    "meterReading_restore": "Skaitiklio rodmuo vėl skaičiuojamas",
+    "equipmentType_create": "Sukurtas įrangos tipas",
+    "equipmentType_update": "Atnaujintas įrangos tipas",
+    "equipmentType_reorder": "Pakeista įrangos tipų tvarka",
+    "equipmentType_delete": "Ištrintas įrangos tipas",
+    "equipment_add": "Pridėta įranga",
+    "equipment_update": "Atnaujinta įranga",
+    "equipment_move": "Perkelta įranga",
+    "equipment_remove": "Nuimta įranga",
+    "equipment_refit": "Įranga sumontuota atgal",
+    "equipment_delete": "Ištrinta įranga"
   },
   "summary": {
     "auth_twoFactorEnabled": "Įjungtas dviejų veiksnių prisijungimas",
@@ -383,6 +400,24 @@
     "share_link_expiry_workshop": "Bendrinimo nuorodai nustatytas dirbtuvių nustatymas",
     "share_link_expiry_never": "Bendrinimo nuoroda nustatyta galioti neribotai",
     "share_link_expiry_date": "Bendrinimo nuoroda nustatyta galioti iki {date}",
-    "share_link_revoke_bulk": "{count, plural, one {Pašalinta # bendrinimo nuoroda} few {Pašalintos # bendrinimo nuorodos} many {Pašalinta # bendrinimo nuorodos} other {Pašalinta # bendrinimo nuorodų}}"
+    "share_link_revoke_bulk": "{count, plural, one {Pašalinta # bendrinimo nuoroda} few {Pašalintos # bendrinimo nuorodos} many {Pašalinta # bendrinimo nuorodos} other {Pašalinta # bendrinimo nuorodų}}",
+    "meterType_create": "Sukurtas skaitiklis \"{name}\"",
+    "meterType_update": "Atnaujintas skaitiklis \"{name}\"",
+    "meterType_delete": "Ištrintas skaitiklis \"{name}\"",
+    "vehicleMeter_remove": "Skaitiklis \"{name}\" pašalintas iš transporto priemonės",
+    "vehicleMeter_replace": "Pakeistas skaitiklis \"{name}\": senasis baigėsi ties {oldEnd}, naujasis prasidėjo nuo {newStart}",
+    "meterReading_markWrong": "{name} rodmuo {value} pažymėtas kaip klaidingas",
+    "meterReading_restore": "{name} rodmuo {value} vėl skaičiuojamas",
+    "equipmentType_create": "Sukurtas įrangos tipas \"{name}\"",
+    "equipmentType_update": "Atnaujintas įrangos tipas \"{name}\"",
+    "equipmentType_reorder": "Pakeista įrangos tipų tvarka",
+    "equipmentType_delete": "Ištrintas įrangos tipas \"{name}\"",
+    "equipment_add": "{name} pridėta prie {vehicle}",
+    "equipment_update": "{name} atnaujinta ({vehicle})",
+    "equipment_move": "{name} perkelta iš {from} į {vehicle}",
+    "equipment_remove": "{name} nuimta nuo {vehicle}",
+    "equipment_refit": "{name} sumontuota atgal ant {vehicle}",
+    "equipment_delete": "{name} ištrinta iš {vehicle}",
+    "equipment_meter": "Skaitiklis {meter} pridėtas prie {name} ({vehicle})"
   }
 }

+ 3 - 0
messages/lt/customers.json

@@ -104,6 +104,9 @@
     "invoiceDesignHint": "Šio kliento sąskaitos spausdinamos šiuo dizainu vietoj dirbtuvės numatytojo. Sąskaita vis tiek gali pasirinkti savo.",
     "reminderOptOut": "Be priminimų",
     "reminderOptOutHint": "Neįtraukti šio kliento į apžiūros priminimus ar kitas kampanijas.",
+    "poRequired": "Būtinas užsakymo nr.",
+    "poRequiredHint": "Šio kliento sąskaitos laukia, kol darbo užsakyme bus užpildytas laukas Nuoroda / užsakymo nr..",
+    "poRequiredBadge": "Būtinas užsakymo nr.",
     "bookAppointment": "Užregistruoti vizitą"
   },
   "serviceRequests": {

+ 3 - 0
messages/lt/dataImport.json

@@ -192,6 +192,7 @@
       "engineCode": "Variklio kodas",
       "hsn": "HSN (gamintojo kodas)",
       "tsn": "TSN (tipo kodas)",
+      "fleetNumber": "Autoparko / vieneto numeris",
       "purchaseDate": "Pirkimo data",
       "purchasePrice": "Pirkimo kaina"
     },
@@ -202,6 +203,7 @@
       "total": "Bendra suma",
       "mileage": "Rida paslaugos metu",
       "invoiceNumber": "Sąskaitos numeris",
+      "customerReference": "Nuoroda / užsakymo nr.",
       "notes": "Paslaugos pastabos",
       "technician": "Technikas"
     }
@@ -211,6 +213,7 @@
     "invalid_email": "El. paštas \"{value}\" netinkamas ir buvo praleistas",
     "invalid_vin": "VIN \"{value}\" nėra 17 simbolių; paliktas kaip įvestas",
     "invalid_type_key": "{field} „{value}“ nėra tinkamas HSN ar TSN; praleista",
+    "fleet_number_too_long": "Autoparko / vieneto numeris \"{value}\" ilgesnis nei 40 simbolių; praleista",
     "vehicle_make_model_required": "Trūksta markės ir modelio",
     "vehicle_year_required": "Trūksta metų",
     "vehicle_year_invalid": "Metai \"{value}\" nėra tinkami metai",

+ 114 - 0
messages/lt/equipment.json

@@ -0,0 +1,114 @@
+{
+  "types": {
+    "title": "Įranga",
+    "description": "Įrangos rūšys, kurias montuojate ar aptarnaujate transporto priemonėse, pavyzdžiui, kranas, galinis keltuvas ar kablinis krautuvas. Pridėkite pirmąją, kad galėtumėte registruoti įrangą transporto priemonėse ir darbo užsakymuose. Iki tol įranga niekur nerodoma.",
+    "descriptionMarine": "Įrangos rūšys, kurias montuojate ar aptarnaujate laivuose, pavyzdžiui, kranas, davitas ar gervė. Pridėkite pirmąją, kad galėtumėte registruoti įrangą laivuose ir darbo užsakymuose. Iki tol įranga niekur nerodoma.",
+    "name": "Tipas",
+    "namePlaceholder": "pvz., Kranas",
+    "add": "Pridėti tipą",
+    "created": "Pridėta: {name}",
+    "updated": "Išsaugota: {name}",
+    "deleted": "Ištrinta: {name}",
+    "saveError": "Nepavyko išsaugoti įrangos tipo",
+    "duplicateName": "Tipas tokiu pavadinimu jau yra",
+    "hasItems": "Šis tipas turi įrangos. Verčiau jį paslėpkite, kad įrangos vienetai išlaikytų savo tipą.",
+    "hidden": "Paslėptas",
+    "inUse": "Siūlyti {name} naujai įrangai",
+    "inUseShort": "Naudojamas",
+    "itemCount": "{count, plural, =0 {Vienetų dar nėra} one {# vienetas transporto priemonėse} few {# vienetai transporto priemonėse} many {# vieneto transporto priemonėse} other {# vienetų transporto priemonėse}}",
+    "itemCountMarine": "{count, plural, =0 {Vienetų dar nėra} one {# vienetas laivuose} few {# vienetai laivuose} many {# vieneto laivuose} other {# vienetų laivuose}}",
+    "moveUp": "Perkelti {name} aukštyn",
+    "moveDown": "Perkelti {name} žemyn",
+    "rename": "Pervadinti {name}",
+    "renameTitle": "Pervadinti įrangos tipą",
+    "renameHint": "Šio tipo vienetai ir dar neišrašyti dokumentai rodys naują pavadinimą.",
+    "deleteNamed": "Ištrinti {name}",
+    "deleteTitle": "Ištrinti {name}?",
+    "deleteHint": "Jis neturi vienetų, todėl niekas kita nesikeičia.",
+    "delete": "Ištrinti"
+  },
+  "vehicle": {
+    "title": "Įranga",
+    "add": "Pridėti įrangą",
+    "empty": "Šioje transporto priemonėje įrangos nėra.",
+    "emptyMarine": "Šiame laive įrangos nėra.",
+    "serial": "Serijos Nr. {serial}",
+    "examinationDue": "Patikra iki {date}",
+    "examinationSoon": "Patikra netrukus: {date}",
+    "examinationOverdue": "Patikra pradelsta nuo {date}",
+    "showDetails": "Rodyti {name} informaciją",
+    "hideDetails": "Slėpti {name} informaciją",
+    "more": "Daugiau: {name}",
+    "edit": "Redaguoti",
+    "move": "Perkelti į kitą transporto priemonę",
+    "moveMarine": "Perkelti į kitą laivą",
+    "remove": "Nuimti",
+    "removeTitle": "Nuimti {name}?",
+    "removeHint": "Ji nuimama nuo šios transporto priemonės ir paliekama istorijoje su skaitikliais, rodmenimis ir ataskaita. Galėsite ją sumontuoti atgal.",
+    "removeHintMarine": "Ji nuimama nuo šio laivo ir paliekama istorijoje su skaitikliais, rodmenimis ir ataskaita. Galėsite ją sumontuoti atgal.",
+    "removed": "Nuimta: {name}",
+    "delete": "Ištrinti",
+    "deleteTitle": "Ištrinti {name} visam laikui?",
+    "deleteHint": "Taip pat ištrinami istorija, skaitikliai, rodmenys ir ataskaitos failas. Jei norite juos išsaugoti, verčiau nuimkite.",
+    "deleteJobs": "{count, plural, one {# darbo užsakymas susijęs su ja ir jos neberodys.} few {# darbo užsakymai susiję su ja ir jos neberodys.} many {# darbo užsakymo susiję su ja ir jos neberodys.} other {# darbo užsakymų susiję su ja ir jos neberodys.}} Išrašytos sąskaitos faktūros išlaiko savo spausdintą kopiją.",
+    "deleted": "Ištrinta: {name}",
+    "history": "{count, plural, one {Ankstesnė įranga (#)} few {Ankstesnė įranga (#)} many {Ankstesnė įranga (#)} other {Ankstesnė įranga (#)}}",
+    "movedTo": "Perkelta į <vehicle></vehicle> {date}",
+    "movedOn": "Perkelta {date}",
+    "removedOn": "Nuimta {date}",
+    "refit": "Sumontuoti atgal",
+    "refitted": "Sumontuota atgal: {name}",
+    "saveError": "Nepavyko išsaugoti įrangos"
+  },
+  "form": {
+    "addTitle": "Pridėti įrangą",
+    "editTitle": "Redaguoti įrangą",
+    "type": "Tipas",
+    "make": "Gamintojas",
+    "model": "Modelis",
+    "serialNumber": "Serijos numeris",
+    "manufacture": "Pagaminta",
+    "manufacturePlaceholder": "2019 arba {date}",
+    "manufactureHint": "Tik metai, pvz., 2019, arba visa data, pvz., {date}.",
+    "manufactureInvalid": "Įveskite metus, pvz., 2019, arba visą datą, pvz., {date}.",
+    "manufactureFuture": "Pagaminimo metai yra ateityje.",
+    "installDate": "Sumontuota",
+    "ratedCapacity": "Vardinė keliamoji galia",
+    "ratedCapacityPlaceholder": "pvz., 8 t",
+    "lastExaminedAt": "Paskutinė patikra",
+    "nextExaminationDue": "Kita patikra",
+    "certificateReference": "Sertifikato numeris",
+    "report": "Patikros ataskaita",
+    "attachReport": "Pridėti ataskaitą",
+    "uploading": "Įkeliama…",
+    "uploadError": "Nepavyko įkelti failo",
+    "removeReport": "Pašalinti {name}",
+    "notes": "Pastabos",
+    "added": "Įranga pridėta",
+    "updated": "Įranga išsaugota",
+    "saveError": "Nepavyko išsaugoti įrangos"
+  },
+  "move": {
+    "title": "Perkelti {name}",
+    "hint": "Kartu perkeliami skaitikliai, rodmenys, ataskaita ir darbų istorija. Šios transporto priemonės istorijoje matysite, kur ji perkelta.",
+    "hintMarine": "Kartu perkeliami skaitikliai, rodmenys, ataskaita ir darbų istorija. Šio laivo istorijoje matysite, kur ji perkelta.",
+    "to": "Į transporto priemonę",
+    "toMarine": "Į laivą",
+    "pick": "Pasirinkite transporto priemonę",
+    "pickMarine": "Pasirinkite laivą",
+    "noVehicles": "Transporto priemonių nerasta.",
+    "noVehiclesMarine": "Laivų nerasta.",
+    "confirm": "Perkelti",
+    "moved": "Perkelta: {name}",
+    "saveError": "Nepavyko perkelti įrangos"
+  },
+  "workOn": {
+    "label": "Darbai su",
+    "none": "Įranga nepasirinkta",
+    "search": "Ieškoti įrangos",
+    "noMatch": "Atitinkančios įrangos nėra",
+    "saveError": "Nepavyko išsaugoti, kam skirtas darbas",
+    "moved": "Nuo tada perkelta",
+    "removed": "Nuo tada nuimta"
+  }
+}

+ 11 - 0
messages/lt/integrations.json

@@ -731,6 +731,13 @@
         "startDateHelp": "Palikite tuščią, kad būtų siunčiamos visos išrašytos sąskaitos. Naudokite datą, kada apskaita perkelta į QuickBooks, kad senesnės sąskaitos nebūtų įvestos dukart.",
         "includeVehicle": "Nurodyti transporto priemonę sąskaitoje",
         "includeVehicleHelp": "Teksto eilutė virš pozicijų su metais, marke, modeliu, numeriu ir rida, kad apskaita žinotų, apie kurį automobilį kalbama.",
+        "customerReference": "Kliento nuoroda / užsakymo nr.",
+        "customerReferenceHelp": "Kur QuickBooks sąskaitoje atsiduria Nuoroda / užsakymo nr. iš darbo užsakymo. QuickBooks sąskaitoje neturi savo užsakymo numerio lauko, todėl ji gali būti žinutės, kurią skaito jūsų klientas, pradžioje arba užpildyti vieną iš jūsų pasirinktinių pardavimo formų laukų. Taikoma tik darbo užsakymams, kuriuose yra nuoroda.",
+        "customerReferenceNone": "Nesiunčiama",
+        "customerReferenceMemo": "Sąskaitos žinutėje",
+        "customerReferenceCustomField": "Pasirinktiniame lauke",
+        "customerReferenceField": "Pasirinktinis laukas nuorodai",
+        "customerReferenceFieldHelp": "Pasirinktiniai laukai, įjungti pardavimo formoms QuickBooks (Account and settings, Sales, Sales form content). Pirmiausia ten sukurkite arba įjunkite lauką, pavyzdžiui, P.O. Number. Siunčiami pirmieji 31 nuorodos simboliai, o vėliau čia pašalinta nuoroda lieka jau perduotoje sąskaitoje.",
         "laborItemId": "Prekė darbo eilutėms",
         "laborItemIdHelp": "Palikite tuščią ir pirmą kartą po jūsų pajamų sąskaita bus sukurta prekė pavadinimu Labour.",
         "partsItemId": "Prekė dalių eilutėms",
@@ -783,6 +790,7 @@
         "referenceVehicle": "Transporto priemonė ir valstybinis numeris",
         "referenceTitle": "Darbo pavadinimas",
         "referenceInvoiceNumber": "Torqvoice sąskaitos numeris",
+        "referenceCustomerReference": "Nuoroda / užsakymo nr. iš darbo užsakymo (jei jos nėra, transporto priemonė ir valstybinis numeris)",
         "referenceNone": "Nieko",
         "includeVehicle": "Nurodyti transporto priemonę sąskaitoje",
         "includeVehicleHelp": "Teksto eilutė virš pozicijų su metais, marke, modeliu, numeriu ir rida.",
@@ -877,6 +885,7 @@
         "referenceVehicle": "Transporto priemonė ir valstybinis numeris",
         "referenceTitle": "Darbo pavadinimas",
         "referenceInvoiceNumber": "Torqvoice sąskaitos numeris",
+        "referenceCustomerReference": "Nuoroda / užsakymo nr. iš darbo užsakymo (jei jos nėra, transporto priemonė ir valstybinis numeris)",
         "referenceNone": "Nieko",
         "includeVehicle": "Nurodyti transporto priemonę sąskaitoje",
         "includeVehicleHelp": "Metai, markė, modelis, numeris ir rida, pateikiami kartu su pastabomis klientui.",
@@ -955,6 +964,8 @@
         "startDateHelp": "Palikite tuščią, kad būtų siunčiamos visos išrašytos sąskaitos. Naudokite datą, kada apskaita perkelta į Fiken, kad senesnės sąskaitos nebūtų įvestos dukart.",
         "attachPdf": "Pridėti sąskaitos PDF",
         "attachPdfHelp": "Sąskaita į Fiken patenka kaip pardavimas (Annet salg) su savo Torqvoice numeriu. Įjungus, kliento gautas PDF pridedamas prie pardavimo kaip pagrindžiantis dokumentas.",
+        "customerReferenceInText": "Įrašyti kliento nuorodą / užsakymo nr. į pardavimo tekstą",
+        "customerReferenceInTextHelp": "Pardavimas Fiken neturi nuorodos lauko, todėl Nuoroda / užsakymo nr. iš darbo užsakymo įrašoma prieš pirmą eilutę kaip Deres ref. Fiken negali pakeisti jau įvesto pardavimo: nuoroda, pridėta po sąskaitos perdavimo, nesiunčiama.",
         "laborAccount": "Pajamų sąskaita darbui",
         "laborAccountHelp": "Palikite tuščią, kad būtų naudojama 3000.",
         "partsAccount": "Pajamų sąskaita dalims",

+ 16 - 1
messages/lt/pdf.json

@@ -227,6 +227,8 @@
     "signature": "Parašas",
     "signedBy": "Pasirašė",
     "signatureDate": "Data",
+    "customerReference": "Jūsų nuoroda / užsakymo nr.",
+    "fleetNumber": "Autoparko nr.",
     "conditionMapTitle": "Transporto priemonės būklė",
     "conditionMapNo": "Nr.",
     "conditionMapArea": "Vieta",
@@ -238,7 +240,20 @@
     "serviceTypeUpgrade": "Pagerinimas",
     "serviceTypeInspection": "Apžiūra",
     "customFieldYes": "Taip",
-    "customFieldNo": "Ne"
+    "customFieldNo": "Ne",
+    "equipmentTitle": "Įranga",
+    "equipmentType": "Tipas",
+    "equipmentMake": "Gamintojas",
+    "equipmentModel": "Modelis",
+    "equipmentManufactureYear": "Metai",
+    "equipmentSerialNumber": "Serijos Nr.",
+    "equipmentInstallDate": "Sumontuota",
+    "equipmentRatedCapacity": "Keliamoji galia",
+    "equipmentLastExamined": "Paskutinė patikra",
+    "equipmentNextExamination": "Kita patikra",
+    "equipmentCertificateReference": "Sertifikatas",
+    "equipmentMeters": "Rodmenys",
+    "equipmentNotes": "Pastabos"
   },
   "workOrder": {
     "title": "DARBO UŽSAKYMAS",

+ 3 - 0
messages/lt/portal.json

@@ -364,6 +364,7 @@
     "summaryPaid": "Sumokėta",
     "summaryLeft": "Liko sumokėti",
     "summaryDue": "Apmokėjimo terminas",
+    "summaryReference": "Jūsų nuoroda / užsakymo nr.",
     "summaryDate": "Data",
     "fullInvoice": "Visa sąskaita"
   },
@@ -420,6 +421,7 @@
     "vin": "VIN: {vin}",
     "vinMarine": "HIN: {vin}",
     "typeKey": "HSN/TSN: {typeKey}",
+    "fleetNumber": "Autoparko nr.: {fleetNumber}",
     "distanceKm": "{value} km",
     "distanceMi": "{value} mi",
     "engineHours": "{value} variklio val.",
@@ -598,6 +600,7 @@
     "number": "Pasiūlymo numeris",
     "date": "Data",
     "validUntil": "Galioja iki",
+    "reference": "Jūsų nuoroda / užsakymo nr.",
     "vehicle": "Transporto priemonė",
     "fullQuote": "Visas pasiūlymas",
     "answerTitle": "Dirbtuvės laukia jūsų atsakymo",

+ 1 - 0
messages/lt/quotes.json

@@ -75,6 +75,7 @@
         "mileage": "{count} {unit}"
       }
     },
+    "convertReferenceKept": "Darbo užsakymas išlaikė savo nuorodą / užsakymo nr., {job}. Pasiūlymo nuoroda, {quote}, nebuvo nukopijuota.",
     "convert": "Konvertuoti",
     "convertToWorkOrder": "Konvertuoti į darbo užsakymą",
     "cancel": "Atšaukti",

+ 9 - 0
messages/lt/service.json

@@ -761,6 +761,15 @@
     "fromQuote": "Iš pasiūlymo {ref}",
     "startInspection": "Pradėti apžiūrą"
   },
+  "reference": {
+    "label": "Nuoroda / užsakymo nr.",
+    "placeholder": "Užsakymo nr. arba nuoroda",
+    "requiredNotice": "Šiam klientui sąskaitose reikia nuorodos arba užsakymo numerio. Užpildykite ją prieš siųsdami sąskaitą.",
+    "requiredToInvoice": "Šiam klientui sąskaitose reikia nuorodos arba užsakymo numerio. Darbo užsakyme užpildykite lauką Nuoroda / užsakymo nr., tada siųskite sąskaitą.",
+    "saveFailed": "Nepavyko išsaugoti nuorodos",
+    "saved": "Išsaugota",
+    "notSwitchedOn": "Laukas Nuoroda / užsakymo nr. šioms dirbtuvėms išjungtas. Įjunkite jį skiltyje Nustatymai, Sąskaitos ir pasiūlymai, Pasirinktiniai laukai."
+  },
   "photoHandoff": {
     "button": "Pridėti iš telefono",
     "dialogTitle": "Pridėti nuotraukas ir dokumentus iš telefono",

+ 185 - 5
messages/lt/settings.json

@@ -754,7 +754,8 @@
       "concerns": "Kliento nusiskundimai",
       "job_description": "Užsakyti darbai",
       "work_checklist": "Darbų sąrašas",
-      "condition_map": "Transporto priemonės būklė"
+      "condition_map": "Transporto priemonės būklė",
+      "equipment": "Įranga"
     },
     "fields": {
       "customer_name": "Kliento vardas",
@@ -763,11 +764,13 @@
       "customer_email": "Kliento el. paštas",
       "customer_phone": "Kliento telefonas",
       "customer_tax_id": "Kliento PVM kodas",
+      "customer_reference": "Jūsų nuoroda / užsakymo nr.",
       "vehicle_name": "Transporto priemonė",
       "vin": "VIN",
       "license_plate": "Valstybinis numeris",
       "mileage": "Rida",
       "hsn_tsn": "HSN/TSN",
+      "fleet_number": "Autoparko / vieneto numeris",
       "service_title": "Paslaugos pavadinimas",
       "service_type": "Paslaugos tipas",
       "tech_name": "Technikas",
@@ -817,7 +820,22 @@
       "customer_line": "Kliento parašo eilutė",
       "legend": "Legenda",
       "previous_marks": "Ankstesnės žymos",
-      "blank_sheet": "Tuščias lapas pildyti ranka"
+      "blank_sheet": "Tuščias lapas pildyti ranka",
+      "meter_readings": "Skaitiklių rodmenys",
+      "vehicle_photo": "Transporto priemonės nuotrauka",
+      "vehicle_photoMarine": "Laivo nuotrauka",
+      "equipment_type": "Tipas",
+      "equipment_make": "Gamintojas",
+      "equipment_model": "Modelis",
+      "equipment_manufacture_year": "Pagaminimo metai",
+      "equipment_serial_number": "Serijos numeris",
+      "equipment_install_date": "Sumontuota",
+      "equipment_rated_capacity": "Vardinė keliamoji galia",
+      "equipment_last_examined": "Paskutinė patikra",
+      "equipment_next_examination": "Kitos patikros terminas",
+      "equipment_certificate_reference": "Sertifikato numeris",
+      "equipment_meters": "Skaitiklių rodmenys",
+      "equipment_notes": "Pastabos"
     },
     "presetsTitle": "Pradėti nuo išdėstymo",
     "presetsHint": "Pakeičia žemiau esantį išdėstymą. Niekas neįrašoma, kol neišsaugote.",
@@ -1147,11 +1165,16 @@
   },
   "customFields": {
     "title": "Pasirinktiniai laukai",
-    "description": "Apibrėžkite pasirinktinius laukus, rodomus paslaugų įrašuose ir pasiūlymuose.",
+    "description": "Papildoma informacija, kurią fiksuoja jūsų dirbtuvės: paruošti laukai, jūsų laukai, skaitikliai ir įranga.",
     "addField": "Pridėti lauką",
     "filterAll": "Visi",
     "serviceRecord": "Paslaugos įrašas",
     "quote": "Pasiūlymas",
+    "vehicle": "Transporto priemonė",
+    "vehicleMarine": "Laivas",
+    "customer": "Klientas",
+    "recordPlacementHint": "Rodoma prie transporto priemonės arba kliento ir jų formose. Kad jis būtų spausdinamas sąskaitose, pasiūlymuose ar darbo užsakymuose, pridėkite jį prie bloko dokumentų kūrimo įrankyje.",
+    "recordPlacementHintMarine": "Rodoma prie laivo arba kliento ir jų formose. Kad jis būtų spausdinamas sąskaitose, pasiūlymuose ar darbo užsakymuose, pridėkite jį prie bloko dokumentų kūrimo įrankyje.",
     "emptyState": "Pasirinktinių laukų dar nėra. Spustelėkite \"Pridėti lauką\", kad sukurtumėte.",
     "required": "Privalomas",
     "inactive": "Neaktyvus",
@@ -1202,7 +1225,30 @@
     "dateError": "{label}: turi būti tinkama data",
     "optionError": "{label}: turi būti viena iš parinkčių",
     "checkboxError": "{label}: langelis turi būti pažymėtas arba nepažymėtas",
-    "tooLongError": "{label}: ne daugiau kaip {max} simbolių"
+    "tooLongError": "{label}: ne daugiau kaip {max} simbolių",
+    "notSavedMissing": "Neišsaugota. Užpildykite: {fields}",
+    "notSavedInvalid": "Neišsaugota. Patikrinkite: {fields}",
+    "valueYes": "Taip",
+    "valueNo": "Ne",
+    "readyMade": {
+      "title": "Paruošti laukai",
+      "description": "Laukai, kuriuos Torqvoice jau turi. Kiekvienas išjungtas, kol jo neįjungsite.",
+      "customerReferenceTitle": "Nuoroda / užsakymo nr.",
+      "customerReferenceEnabled": "Registruoti kliento nuorodą arba užsakymo numerį darbo užsakymuose ir pasiūlymuose",
+      "customerReferenceHint": "Prideda lauką Nuoroda / užsakymo nr. prie darbo užsakymų, pardavimų prie prekystalio ir pasiūlymų, skirtą užsakymo numeriui arba nuorodai, kurią jums pateikia klientas. Ją galima spausdinti sąskaitose, pasiūlymuose ir darbo užsakymuose per dokumentų kūrimo įrankį, rasti paieškoje ir siųsti į jūsų apskaitos sistemą. Klientą galima pažymėti kaip Būtinas užsakymo nr., tada jo sąskaitos laukia, kol bus užpildyta nuoroda. Išjungus laukas vėl paslepiamas, o įvestos reikšmės išsaugomos.",
+      "fleetNumberTitle": "Autoparko / vieneto numeris",
+      "fleetNumberEnabled": "Įrašyti autoparko arba vieneto numerį prie transporto priemonių",
+      "fleetNumberEnabledMarine": "Įrašyti autoparko arba vieneto numerį prie laivų",
+      "fleetNumberHint": "Prideda prie transporto priemonių lauką Autoparko / vieneto numeris, skirtą numeriui, kuriuo klientas žymi transporto priemonę savo autoparke. Jis rodomas prie transporto priemonės ir darbo užsakyme, pagal jį transporto priemones galima rasti paieškoje, o per dokumentų kūrimo įrankį jį galima spausdinti sąskaitose, pasiūlymuose ir darbo užsakymuose. Išjungus laukas vėl paslepiamas, o įvestos reikšmės išsaugomos.",
+      "fleetNumberHintMarine": "Prideda prie laivų lauką Autoparko / vieneto numeris, skirtą numeriui, kuriuo klientas žymi laivą savo laivyne. Jis rodomas prie laivo ir darbo užsakyme, pagal jį laivus galima rasti paieškoje, o per dokumentų kūrimo įrankį jį galima spausdinti sąskaitose, pasiūlymuose ir darbo užsakymuose. Išjungus laukas vėl paslepiamas, o įvestos reikšmės išsaugomos.",
+      "saved": "Nustatymai išsaugoti",
+      "failedSave": "Nepavyko išsaugoti nustatymų"
+    },
+    "ownFields": {
+      "title": "Jūsų laukai",
+      "description": "Laukai, kuriuos susikuriate patys: darbo užsakymams, pasiūlymams, transporto priemonėms ir klientams.",
+      "descriptionMarine": "Laukai, kuriuos susikuriate patys: darbo užsakymams, pasiūlymams, laivams ir klientams."
+    }
   },
   "workshop": {
     "title": "Dirbtuvių numatytosios reikšmės",
@@ -2632,7 +2678,98 @@
     "conditionMapViewsSides": "Tik šonai",
     "conditionMapWidthHint": "Tuščia užima visą eilutę. Nurodykite taškus, kad brėžinys būtų mažesnis; jis dedamas pagal lygiavimą, o legenda išlaiko visą plotį.",
     "conditionMapDense": "Glausta lentelė",
-    "conditionMapDenseHint": "Suglaudina lentelės po brėžiniu eilutes, kad ji užimtų mažiau vietos puslapyje."
+    "conditionMapDenseHint": "Suglaudina lentelės po brėžiniu eilutes, kad ji užimtų mažiau vietos puslapyje.",
+    "equipmentList": "Kokia įranga",
+    "equipmentListVehicle": "Transporto priemonėje",
+    "equipmentListVehicleMarine": "Laive",
+    "equipmentListJob": "Dirbta",
+    "equipmentListHint": "Transporto priemonėje parodo visą joje dabar sumontuotą įrangą. Dirbta parodo tik tuos elementus, su kuriais dirbama pagal užsakymą ar sąmatą. Žemiau esantys laukai parenka stulpelius ir jų tvarką.",
+    "equipmentListHintMarine": "Laive parodo visą jame dabar sumontuotą įrangą. Dirbta parodo tik tuos elementus, su kuriais dirbama pagal užsakymą ar sąmatą. Žemiau esantys laukai parenka stulpelius ir jų tvarką.",
+    "equipmentNoneHint": "Pridėkite įrangos tipų skiltyje Nustatymai, Sąskaitos ir pasiūlymai, Pasirinktiniai laukai, kad čia būtų spausdinama transporto priemonės įranga.",
+    "equipmentNoneHintMarine": "Pridėkite įrangos tipų skiltyje Nustatymai, Sąskaitos ir pasiūlymai, Pasirinktiniai laukai, kad čia būtų spausdinama laivo įranga.",
+    "vehiclePhoto": "Transporto priemonės nuotrauka",
+    "vehiclePhotoMarine": "Laivo nuotrauka",
+    "vehiclePhotoOff": "Išjungta",
+    "vehiclePhotoBeside": "Nuotrauka šalia duomenų",
+    "vehiclePhotoFaded": "Išblukęs fonas",
+    "vehiclePhotoHint": "Spausdina prie transporto priemonės išsaugotą nuotrauką. Išblukęs fonas ją pašviesina tik už šio bloko, tiek, kad tekstas liktų įskaitomas. Transporto priemonė be nuotraukos spausdinama kaip anksčiau.",
+    "vehiclePhotoHintMarine": "Spausdina prie laivo išsaugotą nuotrauką. Išblukęs fonas ją pašviesina tik už šio bloko, tiek, kad tekstas liktų įskaitomas. Laivas be nuotraukos spausdinamas kaip anksčiau.",
+    "equipmentTitle": "Antraštė",
+    "equipmentTitleHint": "Palikite tuščią, kad būtų spausdinama numatytoji antraštė dokumento kalba, arba įrašykite savo, pavyzdžiui, \"Sumontuotos įrangos duomenys\".",
+    "search": {
+      "label": "Ieškoti dizaineryje",
+      "placeholder": "Raskite skiltį arba lauką",
+      "clear": "Išvalyti paiešką",
+      "results": "Paieškos rezultatai",
+      "count": "{count, plural, one {# rezultatas} few {# rezultatai} many {# rezultato} other {# rezultatų}}",
+      "emptySpoken": "Rezultatų nėra",
+      "emptyTitle": "Šiame dokumente niekas neatitinka „{query}“",
+      "emptyHint": "Paieška randa sekcijas ir jų laukus, įskaitant jūsų pasirinktinius laukus.",
+      "groups": {
+        "fields": "Laukai",
+        "sections": "Sekcijos",
+        "styling": "Dokumento stilius"
+      },
+      "state": {
+        "shown": "Matoma",
+        "off": "Išjungta",
+        "hiddenSection": "Paslėpta sekcija",
+        "needsSetting": "Reikia nustatymo",
+        "notPlaced": "Nepridėta"
+      },
+      "needsSettingLine": "{section} · Neįjungta Nustatymuose",
+      "needsSettingNote": "Šiai dirbtuvei neįjungta, todėl dar negalima spausdinti. Įjunkite tai skiltyje Nustatymai, Pasirinktiniai laukai, ir laukas atsiras šiame sąraše.",
+      "openSettings": "Atverti Nustatymus",
+      "keys": {
+        "move": "Judėti",
+        "go": "Eiti",
+        "close": "Uždaryti"
+      },
+      "aliases": {
+        "customer_reference": "užsakymo numeris, užsakymo nr, pirkimo užsakymas, nuoroda, kliento nuoroda, paraiška, po",
+        "fleet_number": "autoparkas, parko numeris, vieneto numeris, vidinis numeris, sunkvežimio numeris, transporto priemonės numeris",
+        "meter_readings": "skaitiklis, skaitikliai, motovalandos, valandos, variklio valandos, galios perdavimo velenas, pto",
+        "mileage": "rida, km, odometras, kilometrai, mylios",
+        "odometer": "odometras, rida, km, kilometrai, mylios",
+        "license_plate": "valstybinis numeris, numeris, numerio ženklas, registracijos numeris, valst nr",
+        "vin": "vin, kėbulo numeris, važiuoklės numeris, identifikavimo numeris, serijos numeris",
+        "hsn_tsn": "tipo raktas, kba, hsn, tsn",
+        "vehicle_photo": "nuotrauka, vaizdas, paveikslėlis",
+        "customer_tax_id": "pvm kodas, pvm mokėtojo kodas, pvm, mokesčių numeris, įmonės kodas",
+        "customer_address": "gatvė, pašto kodas, miestas, adresas",
+        "customer_phone": "telefonas, tel, mobilusis, mob",
+        "customer_email": "paštas, el. paštas, e-mail, email",
+        "company_org_number": "įmonės kodas, pvm kodas, registracijos numeris, juridinio asmens kodas",
+        "company_phone": "telefonas, tel, mobilusis",
+        "company_email": "paštas, el. paštas, e-mail, email",
+        "logo": "prekės ženklas, ženklas, vaizdas, paveikslėlis",
+        "portal_link": "klientų portalas, nuoroda, url",
+        "footer_note": "poraštė, apatinis tekstas, pastaba apačioje",
+        "invoice_number": "sąskaitos numeris, sąskaitos nr, dokumento numeris, pasiūlymo numeris",
+        "due_date": "apmokėjimo terminas, terminas, sumokėti iki, mokėjimo data",
+        "payment_terms": "mokėjimo sąlygos, terminas, dienos, atidėjimas",
+        "tech_name": "mechanikas, meistras, technikas, darbuotojas, atliko",
+        "section_bank_account": "mokėjimas, banko rekvizitai, bankas, iban, sąskaitos numeris, rekvizitai",
+        "section_items_table": "eilutės, pozicijos, prekės, paslaugos",
+        "section_parts_table": "dalys, detalės, atsarginės dalys, medžiagos",
+        "section_labor_table": "darbas, darbai, valandos, laikas, darbo užmokestis",
+        "section_totals": "suma, iš viso, tarpinė suma, mokesčiai, pvm, viso",
+        "section_header": "antraštė, firminis blankas, įmonė, viršus",
+        "section_footer": "poraštė, apačia",
+        "section_document_title": "pavadinimas, antraštė, numeris, data",
+        "section_signature": "parašas, pasirašyta, pasirašyti",
+        "section_telegram_qr": "qr kodas, qr, pokalbis, telegram",
+        "section_job_qr": "qr kodas, qr, telefonas, mobilusis",
+        "section_condition_map": "pažeidimai, įlenkimai, įbrėžimai, kėbulas, defektai",
+        "section_notes": "pastabos, komentarai, žinutė",
+        "styling_headerStyle": "antraštė, firminis blankas, išdėstymas, reklamjuostė, rėmelis",
+        "styling_colors": "spalvos, spalva, pagrindinė, akcentas, fonas, tema",
+        "styling_typography": "šriftas, šrifto dydis, teksto dydis, tipografija",
+        "styling_page": "paraštės, eilutės aukštis, juostos, dryžiai, tarpai",
+        "styling_frame": "rėmelis, kraštinė, šešėlis, kampai, apvalinimas",
+        "styling_orgNumberLabel": "įmonės kodas, pvm kodas, registracijos numeris, užrašas"
+      }
+    }
   },
   "preview": {
     "title": "Stabdžių aptarnavimas ir tepalų keitimas",
@@ -2788,6 +2925,10 @@
         "label": "Dokumento pavadinimas",
         "description": "Darbo arba dokumento pavadinimas."
       },
+      "customer_reference": {
+        "label": "Nuoroda / užsakymo nr.",
+        "description": "Nuoroda arba užsakymo numeris, kurį klientas nurodė šiam darbui. Tuščia, jei jos nėra."
+      },
       "total": {
         "label": "Iš viso",
         "description": "Dokumento suma jo valiuta."
@@ -3220,5 +3361,44 @@
       "bulkRevoked": "{count, plural, one {Pašalinta # nuoroda} few {Pašalintos # nuorodos} many {Pašalinta # nuorodos} other {Pašalinta # nuorodų}}",
       "bulkRevokeFailed": "Nepavyko pašalinti nuorodų. Bandykite dar kartą."
     }
+  },
+  "meters": {
+    "title": "Skaitikliai",
+    "description": "Skaitikliai, kurių rodmenis be odometro nuskaitote transporto priemonėse, pavyzdžiui, variklio valandos ar galios ėmimo veleno valandos. Kiekvienoje transporto priemonėje pasirinkite, kuriuos ji turi; rodmenys įvedami transporto priemonėje ir darbo užsakymuose, o dokumentų dizaineryje juos galima spausdinti sąskaitose faktūrose, pasiūlymuose ir darbo užsakymuose.",
+    "descriptionMarine": "Skaitikliai, kurių rodmenis be variklio valandų nuskaitote laivuose, pavyzdžiui, galios ėmimo veleno valandos ar generatoriaus valandos. Kiekviename laive pasirinkite, kuriuos jis turi; rodmenys įvedami laive ir darbo užsakymuose, o dokumentų dizaineryje juos galima spausdinti sąskaitose faktūrose, pasiūlymuose ir darbo užsakymuose.",
+    "name": "Pavadinimas",
+    "namePlaceholder": "pvz., Variklio valandos",
+    "unit": "Vienetas",
+    "unitPlaceholder": "pvz., val.",
+    "add": "Pridėti skaitiklį",
+    "addTitle": "Pridėti skaitiklį",
+    "requiredBadge": "Privalomas",
+    "options": {
+      "required": "Privalomas darbo užsakymuose",
+      "requiredHint": "Prašomas užbaigiant darbą ir prieš išsiunčiant sąskaitą."
+    },
+    "suggestions": "Pasiūlymai:",
+    "suggestEngineHours": "Variklio valandos",
+    "suggestPtoHours": "Galios ėmimo veleno valandos",
+    "hoursUnit": "val.",
+    "hidden": "Paslėptas",
+    "inUse": "Naudoti {name}",
+    "inUseShort": "Naudojamas",
+    "onVehicles": "{count, plural, =0 {Kol kas nėra jokioje transporto priemonėje} one {Yra # transporto priemonėje} few {Yra # transporto priemonėse} many {Yra # transporto priemonės} other {Yra # transporto priemonių}}",
+    "onVehiclesMarine": "{count, plural, =0 {Kol kas nėra jokiame laive} one {Yra # laive} few {Yra # laivuose} many {Yra # laivo} other {Yra # laivų}}",
+    "edit": "Redaguoti {name}",
+    "editTitle": "Redaguoti skaitiklį",
+    "editHint": "Naujas pavadinimas ar vienetas rodomas visur, kur rodomas skaitiklis, taip pat ir nuo šiol spausdinamuose dokumentuose. Jau išrašytos sąskaitos faktūros išlaiko tai, kas jose buvo išspausdinta.",
+    "delete": "Ištrinti skaitiklį",
+    "deleteNamed": "Ištrinti {name}",
+    "deleteTitle": "Ištrinti {name}?",
+    "deleteHint": "{count, plural, =0 {Kol kas jis nėra jokioje transporto priemonėje.} one {Jis yra # transporto priemonėje, ir jo rodmenys joje ištrinami kartu su juo.} few {Jis yra # transporto priemonėse, ir jų rodmenys ištrinami kartu su juo.} many {Jis yra # transporto priemonės, ir jų rodmenys ištrinami kartu su juo.} other {Jis yra # transporto priemonių, ir jų rodmenys ištrinami kartu su juo.}} Jei norite išsaugoti rodmenis, verčiau nustokite jį naudoti.",
+    "deleteHintMarine": "{count, plural, =0 {Kol kas jis nėra jokiame laive.} one {Jis yra # laive, ir jo rodmenys jame ištrinami kartu su juo.} few {Jis yra # laivuose, ir jų rodmenys ištrinami kartu su juo.} many {Jis yra # laivo, ir jų rodmenys ištrinami kartu su juo.} other {Jis yra # laivų, ir jų rodmenys ištrinami kartu su juo.}} Jei norite išsaugoti rodmenis, verčiau nustokite jį naudoti.",
+    "created": "{name} pridėtas",
+    "updated": "{name} išsaugotas",
+    "deleted": "{name} ištrintas",
+    "saveError": "Nepavyko išsaugoti skaitiklio",
+    "duplicateName": "Skaitiklis tokiu pavadinimu jau yra.",
+    "odometerName": "\"{name}\" yra odometras, kurį jau turi kiekviena transporto priemonė. Suteikite skaitikliui kitą pavadinimą."
   }
 }

+ 8 - 0
messages/lt/setup.json

@@ -0,0 +1,8 @@
+{
+  "heavyVehicles": {
+    "command": "Nustatyti autoparkams ir sunkiasvorėms transporto priemonėms",
+    "commandMarine": "Nustatyti autoparkams ir komerciniams laivams",
+    "docs": "Skaityti vadovą autoparkams ir sunkiasvorėms transporto priemonėms",
+    "docsMarine": "Skaityti vadovą autoparkams ir komerciniams laivams"
+  }
+}

+ 66 - 1
messages/lt/vehicles.json

@@ -36,7 +36,8 @@
     "inspectionDue30": "Per 30 dienų",
     "inspectionDue90": "Per 90 dienų",
     "inspectionDue": "Apžiūra {date}",
-    "remindCustomers": "Priminti šiems klientams"
+    "remindCustomers": "Priminti šiems klientams",
+    "fleetNumber": "Autoparko / vieneto numeris"
   },
   "detail": {
     "vehicleArchived": "Ši transporto priemonė archyvuota",
@@ -102,6 +103,7 @@
     "inspectionCheckedAt": "Patikrinta registre {date}",
     "notRegistered": "Neregistruota",
     "soldReported": "Klientas pranešė pardavęs {date}",
+    "fleetNumber": "Autoparko nr.",
     "typeKey": "HSN/TSN",
     "addPhoto": "Pridėti nuotrauką",
     "changePhoto": "Pakeisti nuotrauką",
@@ -401,6 +403,9 @@
     "hsn": "HSN",
     "tsn": "TSN",
     "typeKey": "HSN/TSN",
+    "fleetNumber": "Autoparko / vieneto numeris",
+    "fleetNumberPlaceholder": "pvz., T-208",
+    "fleetNumberTooLong": "Autoparko / vieneto numeris gali būti ne ilgesnis nei {max} simbolių",
     "typeKeyHint": "Iš Vokietijos registracijos liudijimo: HSN yra 2.1 laukelis, TSN yra pirmieji trys 2.2 laukelio simboliai.",
     "hsnInvalid": "HSN yra keturi skaitmenys iš registracijos liudijimo 2.1 laukelio.",
     "tsnInvalid": "TSN yra trys raidės arba skaitmenys, registracijos liudijimo 2.2 laukelio pradžia.",
@@ -679,5 +684,65 @@
     "refreshed": "Saugos duomenys atnaujinti",
     "openSite": "Atidaryti {source}",
     "errorLoad": "Nepavyko įkelti saugos duomenų"
+  },
+  "meters": {
+    "title": "Skaitikliai",
+    "addMeter": "Pridėti skaitiklį",
+    "addMeterTitle": "Pridėti skaitiklį",
+    "addMeterHint": "Kuriuos dirbtuvės skaitiklius turi ši transporto priemonė. Pirmąjį rodmenį galima įvesti dabar arba vėliau.",
+    "addMeterHintMarine": "Kuriuos dirbtuvės skaitiklius turi šis laivas. Pirmąjį rodmenį galima įvesti dabar arba vėliau.",
+    "meter": "Skaitiklis",
+    "firstReading": "Pirmasis rodmuo (neprivaloma)",
+    "noMeters": "Ši transporto priemonė dar neturi nė vieno dirbtuvės skaitiklio.",
+    "noMetersMarine": "Šis laivas dar neturi nė vieno dirbtuvės skaitiklio.",
+    "readOn": "Nuskaityta {date}",
+    "total": "Iš viso {total}",
+    "meterActions": "{name}: daugiau",
+    "addReading": "Pridėti rodmenį",
+    "addReadingTitle": "Naujas {name} rodmuo",
+    "currentIs": "Paskutinis rodmuo: {reading}",
+    "reading": "Rodmuo",
+    "readingDate": "Nuskaitymo data",
+    "saveReading": "Išsaugoti rodmenį",
+    "readingSaved": "{name} rodmuo išsaugotas",
+    "lowerReading": "Mažiau nei paskutinis rodmuo, {last}. Vis tiek išsaugoma.",
+    "savedLower": "{name} rodmuo išsaugotas. Jis mažesnis nei paskutinis rodmuo, {last}.",
+    "invalidReading": "Įveskite rodmenį skaičiumi, ne daugiau kaip su dviem dešimtainiais skaitmenimis.",
+    "saveError": "Nepavyko išsaugoti rodmens",
+    "requiredMark": "privalomas",
+    "requiredMissing": "Privalomas prieš užbaigiant darbą.",
+    "requiredNotCompleted": "Neužbaigta. Užpildykite: {meters}",
+    "requiredNotMoved": "Neperkelta. Užbaigtam darbui reikia naujos transporto priemonės rodmenų: {meters}. Atidarykite darbą iš naujo, kad jį perkeltumėte.",
+    "requiredNotSent": "Neišsiųsta. Užpildykite: {meters}",
+    "requiredNotShared": "Nuoroda nesukurta. Užpildykite: {meters}",
+    "history": "Istorija",
+    "historyTitle": "{name} istorija",
+    "historyHint": "Kaip klaidingas pažymėtas rodmuo lieka čia, bet nebeskaičiuojamas.",
+    "noReadings": "Rodmenų dar nėra.",
+    "markWrong": "Pažymėti kaip klaidingą",
+    "countAgain": "Vėl skaičiuoti",
+    "wrongBadge": "Klaidingas",
+    "replacedBadge": "Skaitiklis pakeistas",
+    "replacedLine": "Senasis skaitiklis baigėsi ties {oldEnd}, naujasis prasidėjo nuo {newStart}",
+    "fromApp": "iš meistrų programėlės",
+    "close": "Uždaryti",
+    "replace": "Skaitiklis pakeistas",
+    "replaceTitle": "{name} skaitiklis pakeistas",
+    "replaceHint": "Ką rodė senasis skaitiklis, kai buvo nuimtas, ir ką rodė naujasis, kai buvo uždėtas. Bendra suma tęsiasi ir po pakeitimo.",
+    "oldEnd": "Paskutinis senojo skaitiklio rodmuo",
+    "newStart": "Pirmasis naujojo skaitiklio rodmuo",
+    "replacedOn": "Pakeitimo data",
+    "replaceSave": "Išsaugoti",
+    "replacedSaved": "{name} pakeitimas išsaugotas",
+    "remove": "Pašalinti iš šios transporto priemonės",
+    "removeMarine": "Pašalinti iš šio laivo",
+    "removeTitle": "Pašalinti {name} iš šios transporto priemonės?",
+    "removeTitleMarine": "Pašalinti {name} iš šio laivo?",
+    "removeHint": "Jo rodmenys išsaugomi ir sugrįžta, jei skaitiklis vėl pridedamas.",
+    "removed": "{name} pašalintas",
+    "added": "{name} pridėtas",
+    "itemTitle": "Skaitikliai",
+    "noItemMeters": "Šis vienetas neturi skaitiklių.",
+    "addItemMeterHint": "Skaitiklis keliauja su šiuo vienetu, kad ir kur jis būtų sumontuotas."
   }
 }

+ 37 - 2
messages/nb/audit.json

@@ -212,7 +212,24 @@
     "integration_backup_run": "Startet sikkerhetskopiering",
     "integration_backup_restore": "Gjenopprettet sikkerhetskopi",
     "shareLink_expiry": "Endret utløp for delt lenke",
-    "shareLink_revoke": "Fjernet delte lenker"
+    "shareLink_revoke": "Fjernet delte lenker",
+    "meterType_create": "Opprettet måler",
+    "meterType_update": "Oppdaterte måler",
+    "meterType_delete": "Slettet måler",
+    "vehicleMeter_remove": "Fjernet måler fra kjøretøy",
+    "vehicleMeter_replace": "Byttet måler på kjøretøy",
+    "meterReading_markWrong": "Merket måleravlesning som feil",
+    "meterReading_restore": "Telte måleravlesning igjen",
+    "equipmentType_create": "Opprettet utstyrstype",
+    "equipmentType_update": "Oppdaterte utstyrstype",
+    "equipmentType_reorder": "Endret rekkefølge på utstyrstyper",
+    "equipmentType_delete": "Slettet utstyrstype",
+    "equipment_add": "La til utstyr",
+    "equipment_update": "Oppdaterte utstyr",
+    "equipment_move": "Flyttet utstyr",
+    "equipment_remove": "Demonterte utstyr",
+    "equipment_refit": "Satte på utstyr igjen",
+    "equipment_delete": "Slettet utstyr"
   },
   "summary": {
     "auth_twoFactorEnabled": "Slo på tofaktorinnlogging",
@@ -383,6 +400,24 @@
     "share_link_expiry_workshop": "Satte en delt lenke til å følge verkstedets innstilling",
     "share_link_expiry_never": "Satte en delt lenke til å aldri utløpe",
     "share_link_expiry_date": "Satte en delt lenke til å utløpe {date}",
-    "share_link_revoke_bulk": "Fjernet {count, plural, one {# delt lenke} other {# delte lenker}}"
+    "share_link_revoke_bulk": "Fjernet {count, plural, one {# delt lenke} other {# delte lenker}}",
+    "meterType_create": "Opprettet måleren «{name}»",
+    "meterType_update": "Oppdaterte måleren «{name}»",
+    "meterType_delete": "Slettet måleren «{name}»",
+    "vehicleMeter_remove": "Tok måleren «{name}» av et kjøretøy",
+    "vehicleMeter_replace": "Byttet måleren «{name}»: gammel sluttet på {oldEnd}, ny startet på {newStart}",
+    "meterReading_markWrong": "Merket {name}-avlesningen {value} som feil",
+    "meterReading_restore": "Telte {name}-avlesningen {value} igjen",
+    "equipmentType_create": "Opprettet utstyrstypen «{name}»",
+    "equipmentType_update": "Oppdaterte utstyrstypen «{name}»",
+    "equipmentType_reorder": "Endret rekkefølgen på utstyrstypene",
+    "equipmentType_delete": "Slettet utstyrstypen «{name}»",
+    "equipment_add": "La til {name} på {vehicle}",
+    "equipment_update": "Oppdaterte {name} på {vehicle}",
+    "equipment_move": "Flyttet {name} fra {from} til {vehicle}",
+    "equipment_remove": "Demonterte {name} fra {vehicle}",
+    "equipment_refit": "Satte {name} på {vehicle} igjen",
+    "equipment_delete": "Slettet {name} fra {vehicle}",
+    "equipment_meter": "La til måleren {meter} på {name} på {vehicle}"
   }
 }

+ 3 - 0
messages/nb/customers.json

@@ -104,6 +104,9 @@
     "invoiceDesignHint": "Fakturaer til denne kunden skrives ut med dette designet i stedet for verkstedets standard. En faktura kan fortsatt velge sitt eget.",
     "reminderOptOut": "Ingen påminnelser",
     "reminderOptOutHint": "Ikke ta med denne kunden i påminnelser om EU-kontroll eller andre utsendinger.",
+    "poRequired": "Krever bestillingsnr.",
+    "poRequiredHint": "Fakturaer til denne kunden venter til Referanse / bestillingsnr. er fylt ut på arbeidsordren.",
+    "poRequiredBadge": "Krever bestillingsnr.",
     "bookAppointment": "Book time"
   },
   "serviceRequests": {

+ 3 - 0
messages/nb/dataImport.json

@@ -192,6 +192,7 @@
       "engineCode": "Motorkode",
       "hsn": "HSN (produsentnøkkel)",
       "tsn": "TSN (typenøkkel)",
+      "fleetNumber": "Flåte- / enhetsnummer",
       "purchaseDate": "Kjøpsdato",
       "purchasePrice": "Kjøpspris"
     },
@@ -202,6 +203,7 @@
       "total": "Totalbeløp",
       "mileage": "Kilometerstand ved service",
       "invoiceNumber": "Fakturanummer",
+      "customerReference": "Referanse / bestillingsnr.",
       "notes": "Servicenotater",
       "technician": "Tekniker"
     }
@@ -211,6 +213,7 @@
     "invalid_email": "E-posten \"{value}\" er ikke gyldig og ble utelatt",
     "invalid_vin": "VIN \"{value}\" er ikke 17 tegn; beholdt som skrevet",
     "invalid_type_key": "{field} «{value}» er ikke en gyldig HSN eller TSN og ble utelatt",
+    "fleet_number_too_long": "Flåte- / enhetsnummer \"{value}\" er lengre enn 40 tegn og ble utelatt",
     "vehicle_make_model_required": "Merke og modell mangler",
     "vehicle_year_required": "Årsmodell mangler",
     "vehicle_year_invalid": "Årsmodell \"{value}\" er ikke et gyldig år",

+ 114 - 0
messages/nb/equipment.json

@@ -0,0 +1,114 @@
+{
+  "types": {
+    "title": "Utstyr",
+    "description": "Typene utstyr du monterer eller vedlikeholder på kjøretøy, for eksempel kran, bakløfter eller krokløft. Legg til den første for å registrere utstyr på kjøretøy og arbeidsordrer. Inntil da vises ikke utstyr noe sted.",
+    "descriptionMarine": "Typene utstyr du monterer eller vedlikeholder på båter, for eksempel kran, davit eller vinsj. Legg til den første for å registrere utstyr på båter og arbeidsordrer. Inntil da vises ikke utstyr noe sted.",
+    "name": "Type",
+    "namePlaceholder": "f.eks. Kran",
+    "add": "Legg til type",
+    "created": "{name} lagt til",
+    "updated": "{name} lagret",
+    "deleted": "{name} slettet",
+    "saveError": "Kunne ikke lagre utstyrstypen",
+    "duplicateName": "Det finnes allerede en type med det navnet",
+    "hasItems": "Denne typen har utstyr. Skjul den i stedet, så beholder enhetene typen sin.",
+    "hidden": "Skjult",
+    "inUse": "Tilby {name} for nytt utstyr",
+    "inUseShort": "I bruk",
+    "itemCount": "{count, plural, =0 {Ingen enheter ennå} one {# enhet på kjøretøy} other {# enheter på kjøretøy}}",
+    "itemCountMarine": "{count, plural, =0 {Ingen enheter ennå} one {# enhet på båter} other {# enheter på båter}}",
+    "moveUp": "Flytt {name} opp",
+    "moveDown": "Flytt {name} ned",
+    "rename": "Gi nytt navn til {name}",
+    "renameTitle": "Gi utstyrstypen nytt navn",
+    "renameHint": "Enheter av denne typen, og dokumenter som ikke er utstedt ennå, viser det nye navnet.",
+    "deleteNamed": "Slett {name}",
+    "deleteTitle": "Slette {name}?",
+    "deleteHint": "Den har ingen enheter, så ingenting annet endres.",
+    "delete": "Slett"
+  },
+  "vehicle": {
+    "title": "Utstyr",
+    "add": "Legg til utstyr",
+    "empty": "Ikke noe utstyr på dette kjøretøyet.",
+    "emptyMarine": "Ikke noe utstyr på denne båten.",
+    "serial": "S/N {serial}",
+    "examinationDue": "Kontroll forfaller {date}",
+    "examinationSoon": "Kontroll forfaller snart: {date}",
+    "examinationOverdue": "Kontroll forfalt siden {date}",
+    "showDetails": "Vis detaljer for {name}",
+    "hideDetails": "Skjul detaljer for {name}",
+    "more": "Mer for {name}",
+    "edit": "Rediger",
+    "move": "Flytt til et annet kjøretøy",
+    "moveMarine": "Flytt til en annen båt",
+    "remove": "Demonter",
+    "removeTitle": "Demontere {name}?",
+    "removeHint": "Den tas av dette kjøretøyet og beholdes i historikken, med målere, avlesninger og rapport. Du kan sette den på igjen.",
+    "removeHintMarine": "Den tas av denne båten og beholdes i historikken, med målere, avlesninger og rapport. Du kan sette den på igjen.",
+    "removed": "{name} demontert",
+    "delete": "Slett",
+    "deleteTitle": "Slette {name} for godt?",
+    "deleteHint": "Historikk, målere, avlesninger og rapportfil slettes også. For å beholde dem, demonter den i stedet.",
+    "deleteJobs": "{count, plural, one {# arbeidsordre gjelder det og vil ikke lenger vise det.} other {# arbeidsordrer gjelder det og vil ikke lenger vise det.}} Utstedte fakturaer beholder sin trykte kopi.",
+    "deleted": "{name} slettet",
+    "history": "{count, plural, one {Tidligere utstyr (#)} other {Tidligere utstyr (#)}}",
+    "movedTo": "Flyttet til <vehicle></vehicle> {date}",
+    "movedOn": "Flyttet {date}",
+    "removedOn": "Demontert {date}",
+    "refit": "Sett på igjen",
+    "refitted": "{name} satt på igjen",
+    "saveError": "Kunne ikke lagre utstyret"
+  },
+  "form": {
+    "addTitle": "Legg til utstyr",
+    "editTitle": "Rediger utstyr",
+    "type": "Type",
+    "make": "Merke",
+    "model": "Modell",
+    "serialNumber": "Serienummer",
+    "manufacture": "Produsert",
+    "manufacturePlaceholder": "2019 eller {date}",
+    "manufactureHint": "Bare et år, som 2019, eller en hel dato, som {date}.",
+    "manufactureInvalid": "Skriv et år, som 2019, eller en hel dato, som {date}.",
+    "manufactureFuture": "Produksjonsåret er i fremtiden.",
+    "installDate": "Montert",
+    "ratedCapacity": "Nominell kapasitet",
+    "ratedCapacityPlaceholder": "f.eks. 8 t",
+    "lastExaminedAt": "Sist kontrollert",
+    "nextExaminationDue": "Neste kontroll",
+    "certificateReference": "Sertifikatreferanse",
+    "report": "Kontrollrapport",
+    "attachReport": "Legg ved rapport",
+    "uploading": "Laster opp…",
+    "uploadError": "Kunne ikke laste opp filen",
+    "removeReport": "Fjern {name}",
+    "notes": "Notater",
+    "added": "Utstyr lagt til",
+    "updated": "Utstyr lagret",
+    "saveError": "Kunne ikke lagre utstyret"
+  },
+  "move": {
+    "title": "Flytt {name}",
+    "hint": "Målere, avlesninger, rapport og arbeidshistorikk følger med. Historikken til dette kjøretøyet viser hvor det ble flyttet.",
+    "hintMarine": "Målere, avlesninger, rapport og arbeidshistorikk følger med. Historikken til denne båten viser hvor det ble flyttet.",
+    "to": "Til kjøretøy",
+    "toMarine": "Til båt",
+    "pick": "Velg et kjøretøy",
+    "pickMarine": "Velg en båt",
+    "noVehicles": "Ingen kjøretøy funnet.",
+    "noVehiclesMarine": "Ingen båter funnet.",
+    "confirm": "Flytt",
+    "moved": "{name} flyttet",
+    "saveError": "Kunne ikke flytte utstyret"
+  },
+  "workOn": {
+    "label": "Arbeid på",
+    "none": "Ikke noe utstyr valgt",
+    "search": "Søk i utstyr",
+    "noMatch": "Ikke noe utstyr samsvarer",
+    "saveError": "Kunne ikke lagre hva jobben gjelder",
+    "moved": "Flyttet siden",
+    "removed": "Demontert siden"
+  }
+}

+ 11 - 0
messages/nb/integrations.json

@@ -731,6 +731,13 @@
         "startDateHelp": "La stå tomt for å sende alle utstedte fakturaer. Bruk datoen regnskapet flyttet til QuickBooks, så eldre fakturaer ikke føres to ganger.",
         "includeVehicle": "Oppgi kjøretøyet på fakturaen",
         "includeVehicleHelp": "En tekstlinje over postene med årsmodell, merke, modell, skilt og kilometerstand, så regnskapet vet hvilken bil det gjelder.",
+        "customerReference": "Kundens referanse / bestillingsnr.",
+        "customerReferenceHelp": "Hvor Referanse / bestillingsnr. fra arbeidsordren havner på fakturaen i QuickBooks. QuickBooks har ikke et eget bestillingsnummer på fakturaen, så den kan stå først i meldingen kunden leser, eller fylle et av de egendefinerte feltene dine på salgsskjemaer. Gjelder bare arbeidsordrer som har en referanse.",
+        "customerReferenceNone": "Sendes ikke",
+        "customerReferenceMemo": "I meldingen på fakturaen",
+        "customerReferenceCustomField": "I et egendefinert felt",
+        "customerReferenceField": "Egendefinert felt for referansen",
+        "customerReferenceFieldHelp": "De egendefinerte feltene som er slått på for salgsskjemaer i QuickBooks (Account and settings, Sales, Sales form content). Opprett eller slå på et felt som P.O. Number der først. De første 31 tegnene i referansen sendes, og en referanse du fjerner her senere, blir stående på en faktura som allerede er overført.",
         "laborItemId": "Vare for arbeidslinjer",
         "laborItemIdHelp": "La stå tomt, så opprettes en vare kalt Labour under inntektskontoen din første gang.",
         "partsItemId": "Vare for delelinjer",
@@ -783,6 +790,7 @@
         "referenceVehicle": "Kjøretøy og registreringsnummer",
         "referenceTitle": "Jobbtittel",
         "referenceInvoiceNumber": "Fakturanummer fra Torqvoice",
+        "referenceCustomerReference": "Referanse / bestillingsnr. fra arbeidsordren (kjøretøy og registreringsnummer når den mangler)",
         "referenceNone": "Ingenting",
         "includeVehicle": "Oppgi kjøretøyet på fakturaen",
         "includeVehicleHelp": "En tekstlinje over postene med årsmodell, merke, modell, skilt og kilometerstand.",
@@ -877,6 +885,7 @@
         "referenceVehicle": "Kjøretøy og registreringsnummer",
         "referenceTitle": "Jobbtittel",
         "referenceInvoiceNumber": "Fakturanummer fra Torqvoice",
+        "referenceCustomerReference": "Referanse / bestillingsnr. fra arbeidsordren (kjøretøy og registreringsnummer når den mangler)",
         "referenceNone": "Ingenting",
         "includeVehicle": "Oppgi kjøretøyet på fakturaen",
         "includeVehicleHelp": "Årsmodell, merke, modell, skilt og kilometerstand, plassert sammen med notatene til kunden.",
@@ -955,6 +964,8 @@
         "startDateHelp": "La stå tomt for å sende alle utstedte fakturaer. Bruk datoen regnskapet flyttet til Fiken, så eldre fakturaer ikke føres to ganger.",
         "attachPdf": "Legg ved faktura-PDF-en",
         "attachPdfHelp": "En faktura går inn i Fiken som et salg (Annet salg) med fakturanummeret fra Torqvoice. Med dette på legges PDF-en kunden fikk ved salget som bilag.",
+        "customerReferenceInText": "Legg kundens referanse / bestillingsnr. i teksten på salget",
+        "customerReferenceInTextHelp": "Et salg i Fiken har ikke noe felt for referanse, så Referanse / bestillingsnr. fra arbeidsordren settes foran første linje som Deres ref. Fiken kan ikke endre et salg når det er ført: en referanse som legges til etter at fakturaen er overført, sendes ikke.",
         "laborAccount": "Inntektskonto for arbeid",
         "laborAccountHelp": "La stå tom for å bruke 3000.",
         "partsAccount": "Inntektskonto for deler",

+ 16 - 1
messages/nb/pdf.json

@@ -227,6 +227,8 @@
     "signature": "Signatur",
     "signedBy": "Signert av",
     "signatureDate": "Dato",
+    "customerReference": "Deres referanse / bestillingsnr.",
+    "fleetNumber": "Flåtenr.",
     "conditionMapTitle": "Kjøretøyets tilstand",
     "conditionMapNo": "Nr.",
     "conditionMapArea": "Område",
@@ -238,7 +240,20 @@
     "serviceTypeUpgrade": "Oppgradering",
     "serviceTypeInspection": "Inspeksjon",
     "customFieldYes": "Ja",
-    "customFieldNo": "Nei"
+    "customFieldNo": "Nei",
+    "equipmentTitle": "Utstyr",
+    "equipmentType": "Type",
+    "equipmentMake": "Merke",
+    "equipmentModel": "Modell",
+    "equipmentManufactureYear": "År",
+    "equipmentSerialNumber": "Serienr.",
+    "equipmentInstallDate": "Montert",
+    "equipmentRatedCapacity": "Kapasitet",
+    "equipmentLastExamined": "Sist kontrollert",
+    "equipmentNextExamination": "Neste kontroll",
+    "equipmentCertificateReference": "Sertifikat",
+    "equipmentMeters": "Måleravlesninger",
+    "equipmentNotes": "Notater"
   },
   "workOrder": {
     "title": "ARBEIDSORDRE",

+ 3 - 0
messages/nb/portal.json

@@ -364,6 +364,7 @@
     "summaryPaid": "Betalt",
     "summaryLeft": "Igjen å betale",
     "summaryDue": "Forfallsdato",
+    "summaryReference": "Deres referanse / bestillingsnr.",
     "summaryDate": "Dato",
     "fullInvoice": "Hele fakturaen"
   },
@@ -420,6 +421,7 @@
     "vin": "VIN: {vin}",
     "vinMarine": "HIN: {vin}",
     "typeKey": "HSN/TSN: {typeKey}",
+    "fleetNumber": "Flåtenr.: {fleetNumber}",
     "distanceKm": "{value} km",
     "distanceMi": "{value} mi",
     "engineHours": "{value} motortimer",
@@ -598,6 +600,7 @@
     "number": "Tilbudsnummer",
     "date": "Dato",
     "validUntil": "Gyldig til",
+    "reference": "Deres referanse / bestillingsnr.",
     "vehicle": "Kjøretøy",
     "fullQuote": "Hele tilbudet",
     "answerTitle": "Verkstedet venter på svar fra deg",

+ 1 - 0
messages/nb/quotes.json

@@ -75,6 +75,7 @@
         "mileage": "{count} {unit}"
       }
     },
+    "convertReferenceKept": "Arbeidsordren beholdt sin egen referanse / bestillingsnr., {job}. Tilbudets, {quote}, ble ikke kopiert over.",
     "convert": "Konverter",
     "convertToWorkOrder": "Konverter til arbeidsordre",
     "cancel": "Avbryt",

Некоторые файлы не были показаны из-за большого количества измененных файлов