Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private function check_invoice_exists_in_mekari($jurnal_id)
- {
- try {
- $response = $this->mekari_jurnal->request(
- 'GET',
- '/public/jurnal/api/v1/sales_invoices/' . $jurnal_id
- );
- return ($response['http_code'] ?? 0) === 200;
- } catch (Exception $e) {
- return false;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment