sale receipt generation and bill api
This commit is contained in:
7
app/views/api/bill/create.json.jbuilder
Normal file
7
app/views/api/bill/create.json.jbuilder
Normal file
@@ -0,0 +1,7 @@
|
||||
if @status == true
|
||||
#show invoice number and stuff
|
||||
json.status @status
|
||||
else
|
||||
json.status @status
|
||||
json.error_message @error_message
|
||||
end
|
||||
Reference in New Issue
Block a user