Changeset 2492286
- Timestamp:
- 03/10/2021 03:17:37 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
marvinerp-api/tags/1.0.8/src/Controllers/Orders/OrderCustomer.php
r2489615 r2492286 73 73 74 74 $this->vat = $this->getVatNumber(); 75 $this->vat = $this->SterilizeNif($this->vat); 75 76 76 77 … … 236 237 return false; 237 238 } 239 public function SterilizeNif($nif) 240 { 241 if (str_contains($nif, 'PT')){ 242 $nif=str_replace('PT', '', $nif) ; 243 } 244 return $nif; 245 } 238 246 }
Note: See TracChangeset
for help on using the changeset viewer.