refs #6440 codebar number
This commit is contained in:
parent
fb2dd94da7
commit
aeabd7b353
|
@ -347,7 +347,7 @@ class ItemCardViewModel(var context: Context) : BaseViewModel(context) {
|
|||
|
||||
fun uploadPhoto(
|
||||
urlImage: String,
|
||||
itemFK: Int,
|
||||
itemFK: Number,
|
||||
file: File = File("$urlImage"),
|
||||
fileRequestBody: RequestBody = RequestBody.create(MediaType.parse("image/jpeg"), file),
|
||||
filePart: MultipartBody.Part = MultipartBody.Part.createFormData(
|
||||
|
|
|
@ -39,7 +39,7 @@ class PhotosFragment(
|
|||
private val PICK_IMAGE_REQUEST = 1
|
||||
private val REQUEST_IMAGE_CAPTURE = 2
|
||||
private val imageUri: Uri? = null
|
||||
private var originalItem = 0
|
||||
private var originalItem: Number = 0
|
||||
|
||||
override fun getLayoutId(): Int = R.layout.fragment_photos
|
||||
|
||||
|
@ -115,7 +115,7 @@ class PhotosFragment(
|
|||
binding.editItemFk.text.toString(),
|
||||
"buy",
|
||||
"more"
|
||||
).toString().toInt()
|
||||
).toString().toLong()
|
||||
|
||||
try {
|
||||
binding.splashProgress.visibility = VISIBLE
|
||||
|
|
Loading…
Reference in New Issue