Committed consumption changes collected on the selected clinic server and securely synced here. Scheduled sync: 08:30–16:30, hourly at :30, every day (Myanmar time). Counts are events; a record can be edited several times.
@if(!$history['available'])Clinic: {{ config('ncd_medication_audit.history_clinics')[$history['filters']['clinic']] }} · Last received: {{ $history['received'] }}
Last collected at clinic: {{ $history['updated'] }} · Next scheduled sync: {{ $history['next_sync'] }} · Myanmar time.
Snapshot window: {{ $history['from'] }} → {{ $history['until'] }}.
{{ $history['rows']->total() }} matching events. Filters use the time the change was committed, not the original Given Date. Expand Database evidence to see record creation/update times in Myanmar time; arrows show the previous → new value. General ID matches either the previous or new Pid. Medicine name matches items in the before or after record, including removed medicines. Recorded Nurse is a saved field; binary logs do not identify which logged-in staff member made the change.
| Changed at | Action | General ID / record | Given Date / recorded nurse | Recorded changes |
|---|---|---|---|---|
| {{ $event['display_time'] }} | {{ $event['action']==='delete'?'Deleted':'Edited' }} | {{ $current['Pid'] ?? $previous['Pid'] ?? 'Unavailable in row image' }}@if(isset($previous['Pid'],$current['Pid']) && $previous['Pid']!==$current['Pid'])Previously: {{ $previous['Pid'] }}@endifConsumption #{{ $current['id'] ?? $previous['id'] ?? '—' }}@if($event['incomplete_image'])Incomplete binary-log row image@endif | {{ $current['Given_Date'] ?? $previous['Given_Date'] ?? '—' }}Nurse: {{ $current['Nurse'] ?? $previous['Nurse'] ?? '—' }} |
Database evidence @if($event['change_days_after_creation']??null){{ $event['change_days_after_creation'] }} {{ $event['change_days_after_creation']===1?'day':'days' }} later@endif@if($event['change_days_after_creation']??null){{ $event['action']==='delete'?'Deleted':'Edited' }} {{ $event['change_days_after_creation'] }} calendar {{ $event['change_days_after_creation']===1?'day':'days' }} after creation (Myanmar dates). @endif @foreach($event['record_times'] as $time){{ $time['label'] }}: {{ $time['value'] }} @endforeach{{ $event['binlog'] }}:{{ $event['position'] }} · row {{ $event['row_index'] }}GTID: {{ $event['gtid'] ?? '—' }} |
| No edit or deletion events match these filters in the available snapshot. | ||||