File size: 990 Bytes
49d3082
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import { atom } from "jotai";
import Artyom from "artyom.js";

export const rollsAtom = atom([]);
export const grnsAtom = atom([]);
export const searchAtom = atom("");
export const VoiceAssistAtom = atom(new Artyom());
export const CurrentRollAtom = atom({
    id: 1,
    name: "",
    supplierName: "",
    description: "",
    image: "",
    stock: 0,
    widthBefore: 0,
    widthAfter: 0,
    shrinkage: 0,
    created_at: "",
    updated_at: "",
});
export const CurrentGRNAtom = atom({
    GRN: "",
    quantity: "",
    fabricDescription: "",
    itemDescription: "",
    fabricForm: "",
    POWidth: 0,
    POUOM: "",
    PointsUOM: "",
    Tolarence: 20.0,
    color: "",
    buyer: "",
    supplier:"",
    item:"",
    supplierName:"",
    PCH:"",
    invoice:"",
    fabricOdour:"",
    PO:"",
    basicUOM:"",
    Warehouse:"",
    convFactor:"",
    created_at: "",
    updated_at: "",
});
export const TranscribeAtom = atom([]);