The Update activity maps its fields into the employees table, but the
detail view and workflow record view return only the INIT values, so the
details page showed old data after an Update. Read the employee's table
row and use its values for the Update fields.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The /assets route shared its URL with Vite's assets/ build folder, so
nginx found a real folder with no index.html and answered 403 on reload
or a direct link.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The builder only allows the Asset details activity in Available, so the
runtime rejected Edit in Assigned and Under Repair. Disable the button
outside Available with a hint to return the asset first, and keep the
closed-asset notice keyed to the open states.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
field_5 is a select in the builder and the runtime rejects any value not
in its options, so sending employee names failed with "Assigned by must be
one of the listed options". Drop it from the form, as Reassign already does
for field_11, until the builder field is changed to text.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Read assets, assignments and returns from their asset workflow record views
- Show employee names instead of raw lookup ids in the activity lists, and
fall back to the assignee's department when none was picked
- Merge derived activity columns into the view's matching columns instead of
showing them twice
- Offer active employees for "Assigned by" and default it to the signed-in user
- Edit activity uploads photos and pre-fills saved ones
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Return activity: "Return images" photo field (Front/Back/Screen/Keyboard
+ Other) uploaded via /upload, and a "Received by" dropdown
(Praveen, Akshay, Prasad)
- Add Asset (INIT): "Monthly allowance" and "Repair status" fields
- Edit Asset activity: updates location, state, priority, condition,
repair status, allowance and warranty; pre-filled from current values,
and edited values replace INIT values in the list and detail page
- Repair flow: new "Under Repair" state with Send for Repair and
Repair Completed activities, a Repair card, history events and filters,
and an Under repair tile and chart color on the dashboard
- Activity list rows open the asset by assetRowId
New builder field and activity ids are placeholders (marked PLACEHOLDER
in api/assets.js) until they are created in the Zino builder.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Assets
- Read assets from the asset table record view (de18263e-…), keyed by
_pk_value; rows open by assetRowId and the list sorts newest first.
- Update INIT fields to the builder: Asset Details (was Category), Asset
State/Priority/Classification options, warranty fields, Brand, ID,
Location, and the images field (field_53); Asset Owner is field_51.
- Upload photos and an Invoice document before the activity runs, and
send the returned file objects. The Invoice field id is a placeholder
until the field exists in the builder.
- Show every Add Asset field as a list and details column, with option
labels, and group related columns into rich cells.
- Use the INIT activity's detail view template (a573754f-…).
- Drop Assigned by, Condition and Type from the reassign, return and
lost forms; add Lost manager name options.
Employees
- Department is a select from DEPARTMENTS; more employee types; status
removed from the forms; rich columns in the employee list.
Shared
- apiFetch sends FormData bodies as multipart.
- Default workflow host is dev-apps.getzino.in.
- displayLabel() for readable field labels; Raw response panels removed.
- useRecordView accepts an initial sort.
- Temporary dev proxy in vite.config.js for rv-screens lookups.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>