Project

General

Profile

Feature #27129

[Call System][Call Monitor] Noti : แก้ไขเงื่อนไขการขึ้นแจ้งเตือน #Kiro

Added by Parujee Pangsriuthai 15 days ago. Updated 8 days ago.

Status:
Closed
Priority:
Normal
Start date:
05/20/2026
Due date:
05/26/2026
% Done:

0%

Estimated time:
นำ AI มาช่วย(%):
100

Description

Figma: https://www.figma.com/board/Y3CHlLMowIwonludhWAnS8/THcall-SA-BA-Notebook?node-id=1994-2311&t=Ua3WUcBIZy9FLUKM-4

- แสดง noti ของแต่ละวัน DATE = CURRENT_DATE

- สรุปสั้นๆ สิ่งที่ต้องทำ:
  • สร้างตาราง notify_log
  • หลัง Part Ship — นับ part_stock_item ที่ status='STOCK' → ถ้า < min → INSERT
  • หลัง Stock-In — ถ้า stock กลับ >= min → UPDATE is_resolved = true (ยังไม่มีfeatureนี้)
  • API GET /notify-log/unseen
  • Frontend เปลี่ยนจาก localStorage → poll API ทุก 1 นาที

Files

History

#1

Updated by kittipong banawitit 9 days ago

  • Status changed from New to Resolved
  • Assignee changed from kittipong banawitit to Parujee Pangsriuthai
  • นำ AI มาช่วย(%) changed from 0 to 100
#2

Updated by Parujee Pangsriuthai 8 days ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF